Collections

• with an attachment kind filter

Endpoint

GET /api/v2/collections/:uid/scans

Parameters

Name Description type default
uid required Collection uid string
with_attachment_kind Required scan attachment kind string
page Results page number 1
per_page Results per page number 30

Request

Route

GET /api/v2/collections/m6kztntK/scans?with_attachment_kind=labels&page=1&per_page=30

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 485fc1d7e15b319028242f7c642da25b949e8416ff5bea32c95b5e15f959073f$$nYjve4HcP9iwA0ViF1sQOu7FQkV4oN2Z4Ip/3WBYMarfY0JbC9GFgW70/w==--05ZfLXkOsqbneqB1--w/1sInA9fcVXaRAjos3Bzg==
Api-Key: DArsW2hzVx3K8eUX

Query Parameters

with_attachment_kind=labels
page=1
per_page=30

Response

Status

200

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "scans": [
    {
      "created_at": "2019-08-05T22:48:31.063Z",
      "updated_at": "2019-08-05T22:48:31.063Z",
      "uid": "JEK2Jznv",
      "team_uid": "erC4B3Ja",
      "tag_list": [

      ],
      "attachments": [
        {
          "created_at": "2019-08-05T22:48:31.074Z",
          "updated_at": "2019-08-05T22:48:31.074Z",
          "publicly_visible": false,
          "publicly_downloadable": false,
          "metadata": null,
          "kind": "labels",
          "uid": "Pn7cYZVq",
          "scan_uid": "JEK2Jznv",
          "file_key": null,
          "file_url": null,
          "thumbnail_key": null,
          "thumbnail_url": null,
          "annotation_type_list": [

          ],
          "team_uid": "erC4B3Ja",
          "collection_uid": null
        }
      ]
    }
  ],
  "success": true
}