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

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 14035ee61cef023e19a6647360270956fc7e0e017552c84701364bdaff469acc$$LfHWgiHtGLMCw1R/H+GVHNXYAdRQQGa4txvSinSvnVvMViartM27gryX5g==--Zrggk0QQmsqDFGG+--dQzv8NNzxtJ5xnYxFDLOGw==
Api-Key: yPnm73bLVk9eb7qQ

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-11-20T21:13:17.264Z",
      "updated_at": "2019-11-20T21:13:17.264Z",
      "uid": "dFRhG5bD",
      "team_uid": "wR7NnGme",
      "tag_list": [

      ],
      "attachments": [
        {
          "created_at": "2019-11-20T21:13:17.270Z",
          "updated_at": "2019-11-20T21:13:17.270Z",
          "publicly_visible": false,
          "publicly_downloadable": false,
          "metadata": null,
          "kind": "labels",
          "uid": "HRzDY3J6",
          "scan_uid": "dFRhG5bD",
          "file_key": null,
          "file_url": null,
          "thumbnail_key": null,
          "thumbnail_url": null,
          "annotation_type_list": [

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