Snippets
Update Snippet
Changed onUpdate a snippet.
patch/snippets/{id}
Request
- Base URLhttps://api.buttondown.com/v1
- URLhttps://api.buttondown.com/v1/snippets/{id}
- AuthAPI key in header Authorization
Path parameters
idstring required
Request body
Example request
{
"identifier": "footer",
"name": "Footer",
"content": "Thanks for reading!"
}Response
OK
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
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info