I’m using the API to list photos on a project:
https://companycam.readme.io/reference/listprojectphotos
I need to retrieve the tags associated with each photo, but the response from this endpoint does not appear to include tag data.
Right now, it looks like getting tags requires a separate request for each individual photo:
GET /v2/photos/{photo_id}/tags
This does not scale well for real projects. Many projects have hundreds of photos, and each photo may have multiple tags. To build a complete project photo/tag view, an integration may need to make hundreds of additional API requests just to retrieve tag data.
That creates performance issues, increases the likelihood of hitting rate limits, and makes tags difficult to use reliably in external integrations.
The Project Photos API already supports filtering by tag IDs, which suggests the tag data is most likely readily available server-side when querying project photos, it's just being discarded rather than included in the response. It would be very nice if the list photos API at least had the option to include tag data in the response, even if it's turned off by default.
Thanks for your help.
https://companycam.readme.io/reference/listprojectphotos
I need to retrieve the tags associated with each photo, but the response from this endpoint does not appear to include tag data.
Right now, it looks like getting tags requires a separate request for each individual photo:
GET /v2/photos/{photo_id}/tags
This does not scale well for real projects. Many projects have hundreds of photos, and each photo may have multiple tags. To build a complete project photo/tag view, an integration may need to make hundreds of additional API requests just to retrieve tag data.
That creates performance issues, increases the likelihood of hitting rate limits, and makes tags difficult to use reliably in external integrations.
The Project Photos API already supports filtering by tag IDs, which suggests the tag data is most likely readily available server-side when querying project photos, it's just being discarded rather than included in the response. It would be very nice if the list photos API at least had the option to include tag data in the response, even if it's turned off by default.
Thanks for your help.