Bitbucket Cloud Source / repository file-content endpoints.
All functions take a client handle (from atlassian.bitbucket.client/client)
as their first argument, then the required path params, then an optional opts
map for query params.
Pagination: list responses carry {:values [...] :next "<full-url>" ...}.
Follow :next with atlassian.bitbucket.client/request-url.
Bitbucket Cloud Source / repository file-content endpoints.
All functions take a `client` handle (from `atlassian.bitbucket.client/client`)
as their first argument, then the required path params, then an optional `opts`
map for query params.
Pagination: list responses carry {:values [...] :next "<full-url>" ...}.
Follow :next with `atlassian.bitbucket.client/request-url`.(create-src client workspace repo-slug body)(create-src client workspace repo-slug body opts)Create a commit by uploading a file (multipart/form-data). POST /2.0/repositories/{workspace}/{repo_slug}/src Required: workspace, repo-slug Body: multipart/form-data — file contents keyed by filename. Query opts: message, author, parents, files, branch.
Create a commit by uploading a file (multipart/form-data).
POST /2.0/repositories/{workspace}/{repo_slug}/src
Required: workspace, repo-slug
Body: multipart/form-data — file contents keyed by filename.
Query opts: message, author, parents, files, branch.(get-filehistory client workspace repo-slug commit path)(get-filehistory client workspace repo-slug commit path opts)List commits that modified a file. GET /2.0/repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path} Required: workspace, repo-slug, commit, path Query opts: renames, q, sort.
List commits that modified a file.
GET /2.0/repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path}
Required: workspace, repo-slug, commit, path
Query opts: renames, q, sort.(get-src client workspace repo-slug commit path)(get-src client workspace repo-slug commit path opts)Get file or directory contents at a specific commit. GET /2.0/repositories/{workspace}/{repo_slug}/src/{commit}/{path} Required: workspace, repo-slug, commit, path Query opts: format, q, sort, max_depth.
Get file or directory contents at a specific commit.
GET /2.0/repositories/{workspace}/{repo_slug}/src/{commit}/{path}
Required: workspace, repo-slug, commit, path
Query opts: format, q, sort, max_depth.(list-src client workspace repo-slug)(list-src client workspace repo-slug opts)Get the root directory of the main branch. GET /2.0/repositories/{workspace}/{repo_slug}/src Required: workspace, repo-slug Query opts: format.
Get the root directory of the main branch.
GET /2.0/repositories/{workspace}/{repo_slug}/src
Required: workspace, repo-slug
Query opts: format.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |