v1Resources/Media/getList media categories
List media categories
The fixed set of category values accepted by POST/DELETE /api/v1/locations/{id}/media (COVER, LOGO, INTERIOR, ...).
get
media:read/api/v1/media/categoriesResponse
dataobjectoptional
categoriesarray of stringoptional
The category values, in enforcement order.
Errors
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
429Too many requests. Retry after the number of seconds in the Retry-After header.
get/api/v1/media/categories
Your API key
{
"data": {
"categories": [
"COVER",
"PROFILE",
"LOGO",
"EXTERIOR",
"INTERIOR",
"PRODUCT",
"FOOD_AND_DRINK",
"MENU",
"AT_WORK",
"TEAMS",
"ROOMS",
"COMMON_AREA",
"ADDITIONAL"
]
}
}Guides that use this resource
- Upload Business Photos via APIAdd photos to a location by category with the Synup API, from a public URL or base64, and avoid uploading the same image twice on a schedule.
- Read a Location's Google Photos from Stored DataList the Google Business Profile photos Synup has stored for a location, owner and customer, with freshness and paging, without calling Google.