Get image
Serves images of various types (profile pic, background, UGC thumnail/content, etc).
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).
Auth type being used to access the endpoint (should be non-empty only for global tokens).
Query Parameters
Primary key for the image being asked. The key is returned by the API when an image is uploaded. If key is used, other parameters should not be used.
The type of image requested. Supported values are listed in ImageMetadata.type enum.
BACKGROUND
, FEEDBACK
, HEADER
, ICON
, LOGO
, UGC
, USER
ID, if a specific entity/type is requested. The id may have different meaning for each type. for user, it is user id, for UGC, it is the id of the content, and so on.
A specific datasource for which an image is requested for. The ds may have different meaning for each type and can also be empty for some.
Content id to differentitate multiple images that can have the same type and datasource e.g. thumnail or image from content of UGC. It can also be empty.
Response
The response is of type file
.