Get attachments
List attachments in your groups
Query Parameters
- group string
Filter by a specific group
- limit integer
Default value:
20
Length of dataset to return. Use with offset query to iterate through results.
- offset integer
Offset from start of dataset. Use with the limit query to iterate through dataset.
Responses
- 200
- 400
successful operation, list of attachment objects
- application/json
- Schema
- Example (from schema)
Schema
meta object
limit int32next stringoffset int32previous stringtotal_count int32total number of objects
objects object[]
created date-timedescription stringfilename stringgroup stringresource_uri stringuser stringresource_uri for user
uuid uuidid for attachment object
{
"meta": {
"limit": 20,
"next": "/api/v1/attachment/?offset=20&limit=20",
"previous": "None",
"total_count": 26
},
"objects": [
{
"created": "2020-05-20T:15:10",
"description": "Attachment for supplier contract",
"filename": "attach1.pdf",
"resource_uri": "/api/v1/attachment/f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0/",
"uuid": "f0f0f0f0-f0f0-f0f0-f0f0-f0f0f0f0f0f0"
}
]
}
Invalid status value
Loading...