Skip to main content

Thumbnail

View as Markdown

AppThumbnail object​

The thumbnail for an app.

thumbnailstring

The thumbnail image file, such as a PNG or JPEG image. In JSON the bytes are base64-encoded. An update request must include a non-empty image. The service stores the image as a PNG of at most 320x180 pixels and crops an image that is not 16:9, so use a 16:9 image.

Update an app thumbnail GA​

PATCH /api/2.0/apps/{name}/thumbnail

Sets or replaces the thumbnail for an app. Requires the CAN MANAGE permission on the app. The response is an empty object and does not include the stored image.

API scopes: apps

Parameters​

namestringRequiredpath

The name of the app.

Request body​

app_thumbnailobject

The app thumbnail to set.

Show child attributesHide child attributes
thumbnailstring

The thumbnail image file, such as a PNG or JPEG image. In JSON the bytes are base64-encoded. An update request must include a non-empty image. The service stores the image as a PNG of at most 320x180 pixels and crops an image that is not 16:9, so use a 16:9 image.

Response​

Returns the AppThumbnail object.

Delete an app thumbnail GA​

DELETE /api/2.0/apps/{name}/thumbnail

Deletes the thumbnail for an app. Requires the CAN MANAGE permission on the app.

API scopes: apps

Parameters​

namestringRequiredpath

The name of the app.