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/UrNd8wz3/scans?with_attachment_kind=labels&page=1&per_page=30

Headers

Accept: application/json
Content-Type: application/json
Access-Token: f4c6eef37d19b0eeb64554ebfb9e3f4d66da4db9962ef7b32aa4370874c20868$$tPSji61CGSfLypEIiZDku1gmUpWi3Ff8wHFPVtewSHla+0aWfeSX6W0yLQ==--nUoa15I42aj8bdFp--3ydd986A/Ca690hyxvPBQw==
Api-Key: yXPM5sGSxefTxUki

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": "2020-01-15T19:56:04.306Z",
      "updated_at": "2020-01-15T19:56:04.306Z",
      "uid": "bdBBeNsN",
      "team_uid": "CYbTtArZ",
      "tag_list": [

      ],
      "attachments": [
        {
          "created_at": "2020-01-15T19:56:04.311Z",
          "updated_at": "2020-01-15T19:56:04.311Z",
          "publicly_visible": false,
          "publicly_downloadable": false,
          "metadata": null,
          "kind": "labels",
          "uid": "QfWebhBR",
          "scan_uid": "bdBBeNsN",
          "file_key": null,
          "file_url": null,
          "thumbnail_key": null,
          "thumbnail_url": null,
          "annotation_type_list": [

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