Bitbucket Commits API — endpoint fns over atlassian.bitbucket.client/request.
Bitbucket Commits API — endpoint fns over atlassian.bitbucket.client/request.
(create-commit-approve client workspace repo-slug commit)Approve a commit. POST /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/approve Path params: workspace, repo-slug, commit
Approve a commit.
POST /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/approve
Path params: workspace, repo-slug, commit(create-commit-comments client workspace repo-slug commit body)(create-commit-comments client workspace repo-slug commit body opts)Create comment for a commit. POST /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments Path params: workspace, repo-slug, commit Body: commit_comment
Create comment for a commit.
POST /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments
Path params: workspace, repo-slug, commit
Body: commit_comment(create-commit-reports-annotations client
workspace
repo-slug
commit
report-id
body)(create-commit-reports-annotations client
workspace
repo-slug
commit
report-id
body
opts)Bulk create or update annotations. POST /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations Path params: workspace, repo-slug, commit, report-id Body: array of annotations
Bulk create or update annotations.
POST /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations
Path params: workspace, repo-slug, commit, report-id
Body: array of annotations(create-commit-statuses-build client workspace repo-slug commit body)(create-commit-statuses-build client workspace repo-slug commit body opts)Create a build status for a commit. POST /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build Path params: workspace, repo-slug, commit Body: commitstatus
Create a build status for a commit.
POST /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build
Path params: workspace, repo-slug, commit
Body: commitstatus(create-commits-by-workspace-repo-slug client workspace repo-slug)(create-commits-by-workspace-repo-slug client workspace repo-slug opts)List commits with include/exclude (POST form). POST /2.0/repositories/{workspace}/{repo_slug}/commits Path params: workspace, repo-slug
List commits with include/exclude (POST form).
POST /2.0/repositories/{workspace}/{repo_slug}/commits
Path params: workspace, repo-slug(create-commits-by-workspace-repo-slug-revision client
workspace
repo-slug
revision)(create-commits-by-workspace-repo-slug-revision client
workspace
repo-slug
revision
opts)List commits for revision using include/exclude (POST form). POST /2.0/repositories/{workspace}/{repo_slug}/commits/{revision} Path params: workspace, repo-slug, revision
List commits for revision using include/exclude (POST form).
POST /2.0/repositories/{workspace}/{repo_slug}/commits/{revision}
Path params: workspace, repo-slug, revision(delete-commit-approve client workspace repo-slug commit)Unapprove a commit. DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/approve Path params: workspace, repo-slug, commit
Unapprove a commit.
DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/approve
Path params: workspace, repo-slug, commit(delete-commit-comments client workspace repo-slug commit comment-id)Delete a commit comment. DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Path params: workspace, repo-slug, commit, comment-id
Delete a commit comment.
DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
Path params: workspace, repo-slug, commit, comment-id(delete-commit-reports client workspace repo-slug commit report-id)Delete a report. DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Path params: workspace, repo-slug, commit, report-id
Delete a report.
DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
Path params: workspace, repo-slug, commit, report-id(delete-commit-reports-annotations client
workspace
repo-slug
commit
report-id
annotation-id)Delete an annotation. DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Path params: workspace, repo-slug, commit, report-id, annotation-id
Delete an annotation.
DELETE /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
Path params: workspace, repo-slug, commit, report-id, annotation-id(get-commit client workspace repo-slug commit)(get-commit client workspace repo-slug commit opts)Get a commit. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit} Path params: workspace, repo-slug, commit Query opts: passed through as query params (e.g. fields).
Get a commit.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}
Path params: workspace, repo-slug, commit
Query opts: passed through as query params (e.g. fields).(get-commit-comments client workspace repo-slug commit comment-id)(get-commit-comments client workspace repo-slug commit comment-id opts)Get a commit comment. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Path params: workspace, repo-slug, commit, comment-id Query opts: passed through as query params (e.g. fields).
Get a commit comment.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
Path params: workspace, repo-slug, commit, comment-id
Query opts: passed through as query params (e.g. fields).(get-commit-reports client workspace repo-slug commit report-id)(get-commit-reports client workspace repo-slug commit report-id opts)Get a report. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Path params: workspace, repo-slug, commit, report-id Query opts: passed through as query params (e.g. fields).
Get a report.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
Path params: workspace, repo-slug, commit, report-id
Query opts: passed through as query params (e.g. fields).(get-commit-reports-annotations client
workspace
repo-slug
commit
report-id
annotation-id)(get-commit-reports-annotations client
workspace
repo-slug
commit
report-id
annotation-id
opts)Get an annotation. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Path params: workspace, repo-slug, commit, report-id, annotation-id Query opts: passed through as query params (e.g. fields).
Get an annotation.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
Path params: workspace, repo-slug, commit, report-id, annotation-id
Query opts: passed through as query params (e.g. fields).(get-commit-statuses-build client workspace repo-slug commit key)(get-commit-statuses-build client workspace repo-slug commit key opts)Get a build status for a commit. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} Path params: workspace, repo-slug, commit, key Query opts: passed through as query params (e.g. fields).
Get a build status for a commit.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key}
Path params: workspace, repo-slug, commit, key
Query opts: passed through as query params (e.g. fields).(get-commits client workspace repo-slug revision)(get-commits client workspace repo-slug revision opts)List commits for revision. GET /2.0/repositories/{workspace}/{repo_slug}/commits/{revision} Path params: workspace, repo-slug, revision
List commits for revision.
GET /2.0/repositories/{workspace}/{repo_slug}/commits/{revision}
Path params: workspace, repo-slug, revision(get-diff client workspace repo-slug spec)(get-diff client workspace repo-slug spec opts)Compare two commits (diff). GET /2.0/repositories/{workspace}/{repo_slug}/diff/{spec} Path params: workspace, repo-slug, spec Query params: context, path, ignore_whitespace, binary, renames, merge, topic
Compare two commits (diff).
GET /2.0/repositories/{workspace}/{repo_slug}/diff/{spec}
Path params: workspace, repo-slug, spec
Query params: context, path, ignore_whitespace, binary, renames, merge, topic(get-diffstat client workspace repo-slug spec)(get-diffstat client workspace repo-slug spec opts)Compare two commit diff stats. GET /2.0/repositories/{workspace}/{repo_slug}/diffstat/{spec} Path params: workspace, repo-slug, spec
Compare two commit diff stats.
GET /2.0/repositories/{workspace}/{repo_slug}/diffstat/{spec}
Path params: workspace, repo-slug, spec(get-file-conflicts client workspace repo-slug spec)(get-file-conflicts client workspace repo-slug spec opts)Get file conflicts for a commit spec. GET /2.0/repositories/{workspace}/{repo_slug}/file-conflicts/{spec} Path params: workspace, repo-slug, spec
Get file conflicts for a commit spec.
GET /2.0/repositories/{workspace}/{repo_slug}/file-conflicts/{spec}
Path params: workspace, repo-slug, spec(get-merge-base client workspace repo-slug revspec)(get-merge-base client workspace repo-slug revspec opts)Get the common ancestor between two commits. GET /2.0/repositories/{workspace}/{repo_slug}/merge-base/{revspec} Path params: workspace, repo-slug, revspec
Get the common ancestor between two commits.
GET /2.0/repositories/{workspace}/{repo_slug}/merge-base/{revspec}
Path params: workspace, repo-slug, revspec(get-patch client workspace repo-slug spec)(get-patch client workspace repo-slug spec opts)Get a patch for two commits. GET /2.0/repositories/{workspace}/{repo_slug}/patch/{spec} Path params: workspace, repo-slug, spec
Get a patch for two commits.
GET /2.0/repositories/{workspace}/{repo_slug}/patch/{spec}
Path params: workspace, repo-slug, spec(list-commit-comments client workspace repo-slug commit)(list-commit-comments client workspace repo-slug commit opts)List a commit's comments. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments Path params: workspace, repo-slug, commit Query params: q, sort (and any additional opts)
List a commit's comments.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments
Path params: workspace, repo-slug, commit
Query params: q, sort (and any additional opts)(list-commit-reports client workspace repo-slug commit)(list-commit-reports client workspace repo-slug commit opts)List reports for a commit. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports Path params: workspace, repo-slug, commit
List reports for a commit.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports
Path params: workspace, repo-slug, commit(list-commit-reports-annotations client workspace repo-slug commit report-id)(list-commit-reports-annotations client
workspace
repo-slug
commit
report-id
opts)List annotations for a report. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations Path params: workspace, repo-slug, commit, report-id
List annotations for a report.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations
Path params: workspace, repo-slug, commit, report-id(list-commit-statuses client workspace repo-slug commit)(list-commit-statuses client workspace repo-slug commit opts)List commit statuses for a commit. GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses Path params: workspace, repo-slug, commit Query params: refname, q, sort
List commit statuses for a commit.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses
Path params: workspace, repo-slug, commit
Query params: refname, q, sort(list-commits client workspace repo-slug)(list-commits client workspace repo-slug opts)List commits. GET /2.0/repositories/{workspace}/{repo_slug}/commits Path params: workspace, repo-slug
List commits.
GET /2.0/repositories/{workspace}/{repo_slug}/commits
Path params: workspace, repo-slug(update-commit-comments client workspace repo-slug commit comment-id body)(update-commit-comments client workspace repo-slug commit comment-id body opts)Update a commit comment. PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Path params: workspace, repo-slug, commit, comment-id Body: commit_comment
Update a commit comment.
PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
Path params: workspace, repo-slug, commit, comment-id
Body: commit_comment(update-commit-reports client workspace repo-slug commit report-id body)(update-commit-reports client workspace repo-slug commit report-id body opts)Create or update a report. PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Path params: workspace, repo-slug, commit, report-id Body: report
Create or update a report.
PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
Path params: workspace, repo-slug, commit, report-id
Body: report(update-commit-reports-annotations client
workspace
repo-slug
commit
report-id
annotation-id
body)(update-commit-reports-annotations client
workspace
repo-slug
commit
report-id
annotation-id
body
opts)Create or update an annotation. PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Path params: workspace, repo-slug, commit, report-id, annotation-id Body: report_annotation
Create or update an annotation.
PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
Path params: workspace, repo-slug, commit, report-id, annotation-id
Body: report_annotation(update-commit-statuses-build client workspace repo-slug commit key body)(update-commit-statuses-build client workspace repo-slug commit key body opts)Update a build status for a commit. PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} Path params: workspace, repo-slug, commit, key Body: commitstatus
Update a build status for a commit.
PUT /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key}
Path params: workspace, repo-slug, commit, key
Body: commitstatuscljdoc 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 |