List Attachments
Changed onList all attachments
Request
- Base URLhttps://api.buttondown.com/v1
- URLhttps://api.buttondown.com/v1/attachments
- AuthAPI key in header Authorization
Query parameters
If provided, only return attachments matching the given IDs.
[ "att_01h8xg4j3k2m1n0p9q8r7s6t5v" ]
The number of results per page.
The page number of the paginated response.
Response
OK
Example response
{
"results": [
{
"name": "newsletter-guide.pdf",
"file": "https://buttondown.s3.amazonaws.com/attachments/newsletter-guide.pdf",
"size": 1000
}
]
}Changes
- info
added the new optional
queryrequest parameterpage - info
added the non-success response with the status
- info
- breaking
response property
nextlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
previouslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
response's property type changed from no type tostringfor status - info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
the endpoint scheme security
PermissionAuthenticationRequirementwas removed from the API - info
api tag
Attachmentsadded - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking