PhotosRecommendation
Recommendation response.
Fields
Property | Required | Type | Description |
---|---|---|---|
id | True | string | Unique ID of the article from the photos recommendation request. |
referenceKey | True | string | Unique ID of this recommendation. |
photosIds | True | List[string] | Ids of the recommended photos. |
altPhotoIds | False | object | Ids of photo alternatives for the recommended photographs by their ID. This field is returned only if returnAltPhotos in the recommendation request is set to true. |
photos | False | List[PhotoData] | The PhotoData objects representing the recommended photographs. This field is returned only if returnObjects in the recommendation request is set to true. Please use the request's returnObjectFields to specify the PhotoData object fields that you really need. This will reduce the size of PhotoData objects returned here. |
altPhotos | False | object | The PhotoData objects of photo alternatives for the recommended photographs by their ID. This field is returned only if both returnAltPhotos and returnObjects in the recommendation request are set to true. |
tags | True | List[PhotoTag] | Tags associated with the recommended photos. These tags can be used for further refining of the recommendation results. |
nextCursor | False | string | Cursor for retrieving the next page. Available when pagination is enabled. For more details see cursor in the Request. |