Native devices
Upload a slideshow photo
Accès
Membre de l’organisation avec cette autorisation :
native-devices:write
Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.
POST
Stores a photo (JPEG, PNG or WebP; kept as WebP) and returns the public path to use as a slide in a device's slideshow.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
- body
file*string|string|stringOK
application/json- response
url*stringcurl -X POST 'https://api.tillor.eu/orgs//native-devices/slides' \ -H 'Content-Type: application/json' \ -d '{ "file": "string"}'Example Response
{ "url": "string"}