Realty in US

פרמיום
Verified
על ידי Api Dojo | מְעוּדכָּן 6 days ago | Business
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

1,639ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

properties/v2/list-for-sale photos

Rapid account: Drush 81
drush81
2 years ago

Is there a reason that the list-sold endpoint result includes a photos array with urls, and the /list-for-sale endpoint only includes a count of the photos?

Rapid account: Apidojo
apidojo Commented 2 years ago

Hello,

According to UX/UI of the official application, the listing endpoints are mapped to listing pages. They often return a thumbnail image only in such pages. You will need to use get detailed endpoint to get all available photos. Anyway, we always try to fetch for as much as possible data from the source for you.

Regards.

Rapid account: Drush 81
drush81 Commented 2 years ago

The following request/response always includes the photos array
Request
properties/v2/list-sold

Response
{ …
“property_id”:"---------------",
“photo_count”:16,
“photos”:[…]16 items
… }

The following request/response from detail always includes the photos array
Request
properties/v2/detail - params: {property_id: ‘M9600363602’}

Response
{ …
“property_id”:“M9600363602”,
“photo_count”:16,
“photos”:[…]16 items
… }

The following request/response from the same property using list-for-sale does not include the photos array
Request
properties/v2/list-for-sale

Response
{ …
“property_id”:“M9600363602”,
“photo_count”:16
… }

Im wondering why the last example doesnt include the photos array like list-sold does

Rapid account: Apidojo
apidojo Commented 2 years ago

Hello,

Please don’t talk plain text, give some request and response samples to get help.

Regards.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות