Snippets
Get a snippet's raw file at HEAD
Convenience resource for getting to a snippet's raw files without the need for first having to retrieve the snippet itself and having to pull out the versioned file links.
get/snippets/{workspace}/{encoded_id}/files/{path}
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/snippets/{workspace}/{encoded_id}/files/{path}
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: snippet
- or HTTP basic
- or API key in header Authorization
Changes
No recorded changes to this operation across all 15 revisions of this API.