curl --request GET \
  --url https://{domain}-be.glean.com/rest/api/v1/images \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Scio-Actas
string

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

Query Parameters

key
string

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.

type
enum<string>

The type of image requested. Supported values are listed in ImageMetadata.type enum.

Available options:
BACKGROUND,
FEEDBACK,
HEADER,
ICON,
LOGO,
UGC,
USER
id
string

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.

ds
string

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.

cid
string

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

200
image/*
OK

The response is of type file.