Snippets
Create Snippet
Changed onCreate a new snippet
post/snippets
Request
- Base URLhttps://api.buttondown.com/v1
- URLhttps://api.buttondown.com/v1/snippets
- AuthAPI key in header Authorization
Request body
Example request
{
"identifier": "footer",
"name": "Footer",
"content": "Thanks for reading!"
}Response
Created
Changes
- breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - breaking
added the pattern
^[a-zA-Z0-9_-]+$to the request property - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info