Forum Academy Marketplace Showcase Pricing Features

API Connector Main List

Hello. I’m trying to use an api that contains an array of photos, but I can’t set the “main list” field in the api connector. Its not even visible. How can I use the list of “photos”?

Here is the result of the call:

[
  {
    "privateRemarks": "string",
    "property": {
      "roof": "string",
      "cooling": "string",
      "style": "string",
      "area": 0,
      "bathsFull": 0,
      "bathsHalf": 0,
      "stories": 0,
      "fireplaces": 0,
      "flooring": "string",
      "heating": "string",
      "foundation": "string",
      "poolFeatures": "string",
      "laundryFeatures": "string",
      "occupantName": "string",
      "lotDescription": "string",
      "lotSizeAcres": 0,
      "subType": "string",
      "bedrooms": 0,
      "interiorFeatures": "string",
      "lotSize": "string",
      "areaSource": "string",
      "maintenanceExpense": 0,
      "additionalRooms": "string",
      "exteriorFeatures": "string",
      "water": "string",
      "view": "string",
      "lotSizeArea": 0,
      "subdivision": "string",
      "construction": "string",
      "parking": {
        "leased": "string",
        "spaces": 0,
        "description": "string"
      },
      "lotSizeAreaUnits": "string",
      "type": "RES",
      "garageSpaces": 0,
      "accessibility": "string",
      "occupantType": "string",
      "yearBuilt": 0
    },
    "mlsId": 0,
    "showingInstructions": "string",
    "office": {
      "contact": {
        "email": "string",
        "office": "string",
        "cell": "string"
      },
      "name": "string",
      "servingName": "string",
      "brokerid": "string"
    },
    "leaseTerm": "string",
    "disclaimer": "string",
    "address": {
      "crossStreet": "string",
      "state": "string",
      "country": "string",
      "postalCode": "string",
      "streetName": "string",
      "streetNumberText": "string",
      "city": "string",
      "streetNumber": 0,
      "full": "string"
    },
    "listDate": "2017-01-29T22:07:20.566Z",
    "agent": {
      "lastName": "string",
      "contact": {
        "email": "string",
        "office": "string",
        "cell": "string"
      },
      "firstName": "string",
      "id": "string"
    },
    "modified": "2017-01-29T22:07:20.566Z",
    "school": {
      "middleSchool": "string",
      "highSchool": "string",
      "elementarySchool": "string",
      "district": "string"
    },
    "photos": [
      "string"
    ],
    "listPrice": 0,
    "listingId": "string",
    "mls": {
      "status": "Active",
      "area": "string",
      "daysOnMarket": 0,
      "originatingSystemName": "string"
    },
    "geo": {
      "county": "string",
      "lat": 0,
      "lng": 0,
      "marketArea": "string",
      "directions": "string"
    },
    "tax": {
      "taxYear": 0,
      "taxAnnualAmount": "string",
      "id": "string"
    },
    "coAgent": {
      "lastName": "string",
      "contact": {
        "email": "string",
        "office": "string",
        "cell": "string"
      },
      "firstName": "string",
      "id": "string"
    },
    "sales": {
      "closeDate": "2017-01-29T22:07:20.567Z",
      "office": "string",
      "closePrice": 0,
      "agent": "string",
      "contractDate": "2017-01-29T22:07:20.567Z"
    },
    "leaseType": "string",
"virtualTourUrl": "string",
"remarks": "string",
"association": {
  "fee": 0,
  "name": "string",
  "amenities": "string"
}

It’s been deprecated with the new API connector, all entries should be recognized now.

Oh, wow. I see what you mean…

I was mistaken. The response in the connector said photos(list), but I assumed the image field meant it would only be recognized as one image.

Great work! Thanks.

@emmanuel, If an API serves images over http, instead of HTTPS, will they display within a native iOS app?

They do not show up within the Bubble App Previewer, but they do show in a browser, when I use a custom domain name.

If your app is on http yes (so it should be a custom domain, since bubbelapps.io is over ssl)