Images

List the site's uploaded images

The site's image library: the files the widget and email editors show in their Upload tab, with the public url of each. Call it to use an image the user uploaded, e.g. "the photo I just uploaded": with order=newest the latest upload comes first.

A page holds up to limit images; while next_cursor is set, pass it as cursor for the next page.

get/v1/sites/{site_id}/images

Request

  • Base URL
    https://api.getsitecontrol.com
  • Auth
    HTTP bearer

Path parameters

site_idinteger required

Query parameters

cursorstring

next_cursor of the previous page, sent with the same order; omit for the first

limitinteger

Items per page

fieldsstring

Comma-separated fields to keep in each item, for example id,name; each item then carries only those fields and id. Omit for every field

order'oldest' | 'newest'

Order of a list. oldest: the oldest item first; newest: the newest item first, for the latest items without paging through the history.

Order of the items: oldest first (default) or newest first; asc and desc mean the same

Response

Successful Response

next_cursorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.