v1Ressources/Media/getGet a media asset
Get a media asset
Returns one asset from the library with its details. A key limited to specific clients sees only those clients' assets; any other is not found.
get
media:read/api/v1/media/{id}Paramètres de requête
idstringobligatoire
The asset's key, URL-encoded.
Réponse
dataobjectfacultatif
assetobjectfacultatif
The asset.
Erreurs
400Il manque un paramètre requis à la requête, ou elle est invalide.
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.
404La ressource est introuvable, ou n'appartient pas à votre agence.
429Trop de requêtes. Réessayez après le nombre de secondes indiqué dans l'en-tête Retry-After.
get/api/v1/media/{id}
Votre clé API
id *
{}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.