Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.31 KB

SnippetApi.md

File metadata and controls

39 lines (23 loc) · 1.31 KB

\SnippetApi

All URIs are relative to https://api.bitbucket.org/2.0

Method HTTP request Description
SnippetsUsernameEncodedIdFilesPathGet Get /snippets/{username}/{encoded_id}/files/{path}

SnippetsUsernameEncodedIdFilesPathGet

SnippetsUsernameEncodedIdFilesPathGet(ctx, username, path, encodedId)

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.

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
username string
path string
encodedId string

Return type

(empty response body)

Authorization

api_key, basic, oauth2

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]