categories
Lists all attachments.
Lists all attachments.
get/v1/categories/{id}/attachments
Request
- Base URLhttps://demo.firefly-iii.org/api
- URLhttps://demo.firefly-iii.org/api/v1/categories/{id}/attachments
- Auth
- OAuth 2Authorization code: https://demo.firefly-iii.org/oauth/authorizeToken URL: https://demo.firefly-iii.org/oauth/token
- or HTTP bearer
Path parameters
idstring required
Example:123
The ID of the category.
Query parameters
limitinteger
Example:10
Number of items per page. The default pagination is per 50 items.
pageinteger
Example:1
Page number. The default pagination is per 50 items.
Headers
X-Trace-Idstring uuid
Example:40c71bbb-c676-4f24-83cf-cc725d7d7a00
Unique identifier associated with this request.
Response
A list of attachments
Example response
{
"data": [
{
"type": "attachments",
"id": "2",
"attributes": {
"created_at": "2025-08-01T00:00:00+00:00",
"updated_at": "2025-08-01T00:00:00+00:00",
"attachable_type": "Bill",
"attachable_id": "134",
"hash": "0c3f95f34370baa88f9fd9a671fea305",
"filename": "file.pdf",
"download_url": "https://demo.firefly-iii.org/api/v1/attachments/191/download",
"upload_url": "https://demo.firefly-iii.org/api/v1/attachments/191/download",
"title": "Some PDF file",
"notes": "Some notes",
"mime": "application/pdf",
"size": 48211
},
"links": {
"0": {
"rel": "self",
"uri": "/OBJECTS/1"
},
"self": "https://demo.firefly-iii.org/api/v1/OBJECTS/1"
}
}
],
"meta": {
"pagination": {
"total": 3,
"count": 20,
"per_page": 100,
"current_page": 1,
"total_pages": 1
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.