v1

latestOpenAPI 3.0.02026-07-131091452.6 MB
images

Get the contents of image collections

This endpoint lists the IDs of images in a collection and the date that each was added.

get/v2/images/collections/{id}/items

Path parameters

idstring required

Collection ID

Query parameters

pageinteger

Page number

per_pageinteger

Number of results per page

share_codestring

Code to retrieve the contents of a shared collection

sort'newest' | 'oldest'

Sort order

Response

OK

messagestring

Server-generated message, if any

pageinteger

The current page of results

per_pageinteger

The number of results per page

total_countinteger

The total number of results across all pages

Example response

{
  "data": [
    {
      "id": "1690105108",
      "added_time": "2021-07-08T12:33:37.000Z",
      "media_type": "image"
    },
    {
      "id": "1468703072",
      "added_time": "2021-07-08T12:31:43.000Z",
      "media_type": "image"
    }
  ],
  "page": 1,
  "per_page": 2,
  "total_count": 82
}