Attachments
Create Attachment
Changed onUpload a new attachment
post/attachments
Request
- Base URLhttps://api.buttondown.com/v1
- URLhttps://api.buttondown.com/v1/attachments
- AuthAPI key in header Authorization
Request body multipart/form-data
Response
Created
Example response
{
"name": "newsletter-guide.pdf",
"file": "https://buttondown.s3.amazonaws.com/attachments/newsletter-guide.pdf",
"size": 1000
}Changes
- info
added the non-success response with the status
- info
- breaking
the
response's property type changed from no type tostringfor status - warning
deleted the
queryrequest parametername - 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 new optional request property
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking