Snippets
Create a snippet for a workspace
Changed onIdentical to /snippets, except that the new snippet will be created under the workspace specified in the path parameter {workspace}.
post/snippets/{workspace}
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/snippets/{workspace}
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: snippet:write
- or HTTP basic
- or API key in header Authorization
Request body
Response
The newly created snippet object.
Changes
- warning
removed the request property
/// - warning
removed the request property
/// - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status
- warning