Object Storage Attachments

List the attachments of a record

GET
/api/records/{record_key}/attachments

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /oauth2/token (valid for 300 seconds).

In: header

Path Parameters

record_key*string

Record key of the record the attachments belong to.

Query Parameters

limit?integer

Maximum number of attachments to return.

offset?integer

Number of attachments to skip.

Response Body

application/json

curl -X GET "https://example.com/api/records/d1c2e12cfeababc8b95daf6902e210b1/attachments"
{  "data": [    {      "download_url": "string",      "expires": "2019-08-24T14:15:22Z",      "file_id": "string",      "filename": "string",      "mime_type": "string",      "size": 0,      "hash": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "download_link": "string",      "vendor": "string"    }  ],  "meta": {    "count": 0,    "limit": 0,    "offset": 0,    "total": 0  }}