v1Ressources/Media/getLister les catégories de médias
Lister les catégories de médias
L'ensemble fixe des valeurs de catégorie acceptées par POST/DELETE /api/v1/locations/{id}/media (COVER, LOGO, INTERIOR, ...).
get
media:read/api/v1/media/categoriesRéponse
dataobjectfacultatif
categoriesarray of stringfacultatif
Les valeurs de catégorie, dans l'ordre appliqué.
Erreurs
401Clé API manquante, invalide, expirée ou révoquée.
403La clé n'a pas la permission requise, ou n'est pas autorisée pour ce client/établissement.
429Trop de requêtes. Réessayez après le nombre de secondes indiqué dans l'en-tête Retry-After.
get/api/v1/media/categories
Votre clé API
{
"data": {
"categories": [
"COVER",
"PROFILE",
"LOGO",
"EXTERIOR",
"INTERIOR",
"PRODUCT",
"FOOD_AND_DRINK",
"MENU",
"AT_WORK",
"TEAMS",
"ROOMS",
"COMMON_AREA",
"ADDITIONAL"
]
}
}Guides qui utilisent cette ressource
- 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.