OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "check_summary": {
- "error": 0,
- "failure": 0,
- "pending": 0,
- "running": 0,
- "success": 0
}, - "closed": 0,
- "created": 0,
- "description": "string",
- "edited": 0,
- "is_draft": true,
- "labels": [
- {
- "color": "blue",
- "id": 0,
- "key": "string",
- "scope": 0,
- "value": "string",
- "value_color": "blue",
- "value_count": 0,
- "value_id": 0
}
], - "merge_base_sha": "string",
- "merge_check_status": "string",
- "merge_conflicts": [
- "string"
], - "merge_method": "fast-forward",
- "merge_target_sha": "string",
- "merged": 0,
- "merger": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "number": 0,
- "rebase_check_status": "string",
- "rebase_conflicts": [
- "string"
], - "rules": [
- {
- "identifier": "string",
- "repo_path": "string",
- "space_path": "string",
- "state": "active",
- "type": "string"
}
], - "source_branch": "string",
- "source_repo_id": 0,
- "source_sha": "string",
- "state": "closed",
- "stats": {
- "additions": 0,
- "commits": 0,
- "conversations": 0,
- "deletions": 0,
- "files_changed": 0,
- "unresolved_count": 0
}, - "target_branch": "string",
- "target_repo_id": 0,
- "title": "string",
- "updated": 0
}
]
Created
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "description": "string",
- "is_draft": true,
- "source_branch": "string",
- "source_repo_ref": "string",
- "target_branch": "string",
- "title": "string"
}
{- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "check_summary": {
- "error": 0,
- "failure": 0,
- "pending": 0,
- "running": 0,
- "success": 0
}, - "closed": 0,
- "created": 0,
- "description": "string",
- "edited": 0,
- "is_draft": true,
- "labels": [
- {
- "color": "blue",
- "id": 0,
- "key": "string",
- "scope": 0,
- "value": "string",
- "value_color": "blue",
- "value_count": 0,
- "value_id": 0
}
], - "merge_base_sha": "string",
- "merge_check_status": "string",
- "merge_conflicts": [
- "string"
], - "merge_method": "fast-forward",
- "merge_target_sha": "string",
- "merged": 0,
- "merger": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "number": 0,
- "rebase_check_status": "string",
- "rebase_conflicts": [
- "string"
], - "rules": [
- {
- "identifier": "string",
- "repo_path": "string",
- "space_path": "string",
- "state": "active",
- "type": "string"
}
], - "source_branch": "string",
- "source_repo_id": 0,
- "source_sha": "string",
- "state": "closed",
- "stats": {
- "additions": 0,
- "commits": 0,
- "conversations": 0,
- "deletions": 0,
- "files_changed": 0,
- "unresolved_count": 0
}, - "target_branch": "string",
- "target_repo_id": 0,
- "title": "string",
- "updated": 0
}
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "check_summary": {
- "error": 0,
- "failure": 0,
- "pending": 0,
- "running": 0,
- "success": 0
}, - "closed": 0,
- "created": 0,
- "description": "string",
- "edited": 0,
- "is_draft": true,
- "labels": [
- {
- "color": "blue",
- "id": 0,
- "key": "string",
- "scope": 0,
- "value": "string",
- "value_color": "blue",
- "value_count": 0,
- "value_id": 0
}
], - "merge_base_sha": "string",
- "merge_check_status": "string",
- "merge_conflicts": [
- "string"
], - "merge_method": "fast-forward",
- "merge_target_sha": "string",
- "merged": 0,
- "merger": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "number": 0,
- "rebase_check_status": "string",
- "rebase_conflicts": [
- "string"
], - "rules": [
- {
- "identifier": "string",
- "repo_path": "string",
- "space_path": "string",
- "state": "active",
- "type": "string"
}
], - "source_branch": "string",
- "source_repo_id": 0,
- "source_sha": "string",
- "state": "closed",
- "stats": {
- "additions": 0,
- "commits": 0,
- "conversations": 0,
- "deletions": 0,
- "files_changed": 0,
- "unresolved_count": 0
}, - "target_branch": "string",
- "target_repo_id": 0,
- "title": "string",
- "updated": 0
}
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "description": "string",
- "title": "string"
}
{- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "check_summary": {
- "error": 0,
- "failure": 0,
- "pending": 0,
- "running": 0,
- "success": 0
}, - "closed": 0,
- "created": 0,
- "description": "string",
- "edited": 0,
- "is_draft": true,
- "labels": [
- {
- "color": "blue",
- "id": 0,
- "key": "string",
- "scope": 0,
- "value": "string",
- "value_color": "blue",
- "value_count": 0,
- "value_id": 0
}
], - "merge_base_sha": "string",
- "merge_check_status": "string",
- "merge_conflicts": [
- "string"
], - "merge_method": "fast-forward",
- "merge_target_sha": "string",
- "merged": 0,
- "merger": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "number": 0,
- "rebase_check_status": "string",
- "rebase_conflicts": [
- "string"
], - "rules": [
- {
- "identifier": "string",
- "repo_path": "string",
- "space_path": "string",
- "state": "active",
- "type": "string"
}
], - "source_branch": "string",
- "source_repo_id": 0,
- "source_sha": "string",
- "state": "closed",
- "stats": {
- "additions": 0,
- "commits": 0,
- "conversations": 0,
- "deletions": 0,
- "files_changed": 0,
- "unresolved_count": 0
}, - "target_branch": "string",
- "target_repo_id": 0,
- "title": "string",
- "updated": 0
}
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "code_comment": {
- "line_new": 0,
- "line_old": 0,
- "merge_base_sha": "string",
- "outdated": true,
- "path": "string",
- "source_sha": "string",
- "span_new": 0,
- "span_old": 0
}, - "created": 0,
- "deleted": 0,
- "edited": 0,
- "id": 0,
- "kind": "change-comment",
- "mentions": {
- "property1": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "property2": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}
}, - "metadata": {
- "mentions": {
- "ids": [
- 0
]
}, - "suggestions": {
- "applied_check_sum": "string",
- "applied_commit_sha": "string",
- "check_sums": [
- "string"
]
}
}, - "order": 0,
- "parent_id": 0,
- "payload": null,
- "pullreq_id": 0,
- "repo_id": 0,
- "resolved": 0,
- "resolver": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "sub_order": 0,
- "text": "string",
- "type": "branch-delete",
- "updated": 0
}
]
Created
Bad Request
Unauthorized
Forbidden
Conflict
Unprocessable Entity
Internal Server Error
{- "bypass_rules": true,
- "dry_run_rules": true
}
{- "commit": {
- "author": {
- "identity": {
- "email": "string",
- "name": "string"
}, - "when": "2019-08-24T14:15:22Z"
}, - "committer": {
- "identity": {
- "email": "string",
- "name": "string"
}, - "when": "2019-08-24T14:15:22Z"
}, - "message": "string",
- "parent_shas": [
- "string"
], - "sha": "string",
- "stats": {
- "files": [
- {
- "changes": 0,
- "deletions": 0,
- "insertions": 0,
- "old_path": "string",
- "path": "string",
- "status": "string"
}
], - "total": {
- "changes": 0,
- "deletions": 0,
- "insertions": 0
}
}, - "title": "string"
}, - "dry_run_rules": true,
- "name": "string",
- "rule_violations": [
- {
- "bypassable": true,
- "bypassed": true,
- "rule": {
- "identifier": "string",
- "repo_path": "string",
- "space_path": "string",
- "state": "active",
- "type": "string"
}, - "violations": [
- {
- "code": "string",
- "message": "string",
- "params": [
- null
]
}
]
}
], - "sha": "string"
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "checks": [
- {
- "bypassable": true,
- "check": {
- "created": 0,
- "ended": 0,
- "id": 0,
- "identifier": "string",
- "link": "string",
- "metadata": null,
- "payload": {
- "data": null,
- "kind": "",
- "version": "string"
}, - "reported_by": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "started": 0,
- "status": "error",
- "summary": "string",
- "updated": 0
}, - "required": true
}
], - "commit_sha": "string"
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Internal Server Error
{- "evaluation_entries": [
- {
- "line_number": 0,
- "owner_evaluations": [
- {
- "owner": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "review_decision": "approved",
- "review_sha": "string"
}
], - "pattern": "string",
- "user_group_owner_evaluations": [
- {
- "evaluations": [
- {
- "owner": {
- "created": null,
- "display_name": null,
- "email": null,
- "id": null,
- "type": null,
- "uid": null,
- "updated": null
}, - "review_decision": "approved",
- "review_sha": "string"
}
], - "id": "string",
- "name": "string"
}
]
}
], - "file_sha": "string"
}
Created
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "line_end": 0,
- "line_end_new": true,
- "line_start": 0,
- "line_start_new": true,
- "parent_id": 0,
- "path": "string",
- "source_commit_sha": "string",
- "target_commit_sha": "string",
- "text": "string"
}
{- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "code_comment": {
- "line_new": 0,
- "line_old": 0,
- "merge_base_sha": "string",
- "outdated": true,
- "path": "string",
- "source_sha": "string",
- "span_new": 0,
- "span_old": 0
}, - "created": 0,
- "deleted": 0,
- "edited": 0,
- "id": 0,
- "kind": "change-comment",
- "mentions": {
- "property1": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "property2": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}
}, - "metadata": {
- "mentions": {
- "ids": [
- 0
]
}, - "suggestions": {
- "applied_check_sum": "string",
- "applied_commit_sha": "string",
- "check_sums": [
- "string"
]
}
}, - "order": 0,
- "parent_id": 0,
- "payload": null,
- "pullreq_id": 0,
- "repo_id": 0,
- "resolved": 0,
- "resolver": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "sub_order": 0,
- "text": "string",
- "type": "branch-delete",
- "updated": 0
}
No Content
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "text": "string"
}
{- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "code_comment": {
- "line_new": 0,
- "line_old": 0,
- "merge_base_sha": "string",
- "outdated": true,
- "path": "string",
- "source_sha": "string",
- "span_new": 0,
- "span_old": 0
}, - "created": 0,
- "deleted": 0,
- "edited": 0,
- "id": 0,
- "kind": "change-comment",
- "mentions": {
- "property1": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "property2": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}
}, - "metadata": {
- "mentions": {
- "ids": [
- 0
]
}, - "suggestions": {
- "applied_check_sum": "string",
- "applied_commit_sha": "string",
- "check_sums": [
- "string"
]
}
}, - "order": 0,
- "parent_id": 0,
- "payload": null,
- "pullreq_id": 0,
- "repo_id": 0,
- "resolved": 0,
- "resolver": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "sub_order": 0,
- "text": "string",
- "type": "branch-delete",
- "updated": 0
}
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "status": "active"
}
{- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "code_comment": {
- "line_new": 0,
- "line_old": 0,
- "merge_base_sha": "string",
- "outdated": true,
- "path": "string",
- "source_sha": "string",
- "span_new": 0,
- "span_old": 0
}, - "created": 0,
- "deleted": 0,
- "edited": 0,
- "id": 0,
- "kind": "change-comment",
- "mentions": {
- "property1": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "property2": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}
}, - "metadata": {
- "mentions": {
- "ids": [
- 0
]
}, - "suggestions": {
- "applied_check_sum": "string",
- "applied_commit_sha": "string",
- "check_sums": [
- "string"
]
}
}, - "order": 0,
- "parent_id": 0,
- "payload": null,
- "pullreq_id": 0,
- "repo_id": 0,
- "resolved": 0,
- "resolver": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "sub_order": 0,
- "text": "string",
- "type": "branch-delete",
- "updated": 0
}
OK
Bad Request
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
{- "bypass_rules": true,
- "dry_run_rules": true,
- "message": "string",
- "suggestions": [
- {
- "check_sum": "string",
- "comment_id": 0
}
], - "title": "string"
}
{- "commit_id": "string",
- "dry_run_rules": true,
- "rule_violations": [
- {
- "bypassable": true,
- "bypassed": true,
- "rule": {
- "identifier": "string",
- "repo_path": "string",
- "space_path": "string",
- "state": "active",
- "type": "string"
}, - "violations": [
- {
- "code": "string",
- "message": "string",
- "params": [
- null
]
}
]
}
]
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "author": {
- "identity": {
- "email": "string",
- "name": "string"
}, - "when": "2019-08-24T14:15:22Z"
}, - "committer": {
- "identity": {
- "email": "string",
- "name": "string"
}, - "when": "2019-08-24T14:15:22Z"
}, - "message": "string",
- "parent_shas": [
- "string"
], - "sha": "string",
- "stats": {
- "files": [
- {
- "changes": 0,
- "deletions": 0,
- "insertions": 0,
- "old_path": "string",
- "path": "string",
- "status": "string"
}
], - "total": {
- "changes": 0,
- "deletions": 0,
- "insertions": 0
}
}, - "title": "string"
}
]
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "additions": 0,
- "changes": 0,
- "deletions": 0,
- "is_binary": true,
- "is_submodule": true,
- "old_path": "string",
- "old_sha": "string",
- "patch": [
- 0
], - "path": "string",
- "sha": "string",
- "status": "string"
}
]
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "path": "string",
- "start_line": 0
}
]
[- {
- "additions": 0,
- "changes": 0,
- "deletions": 0,
- "is_binary": true,
- "is_submodule": true,
- "old_path": "string",
- "old_sha": "string",
- "patch": [
- 0
], - "path": "string",
- "sha": "string",
- "status": "string"
}
]
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "obsolete": true,
- "path": "string",
- "sha": "string"
}
]
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "commit_sha": "string",
- "path": "string"
}
{- "obsolete": true,
- "path": "string",
- "sha": "string"
}
No Content
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Conflict
Unprocessable Entity
{- "bypass_rules": true,
- "dry_run": true,
- "dry_run_rules": true,
- "message": "string",
- "method": "fast-forward",
- "source_sha": "string",
- "title": "string"
}
{- "allowed_methods": [
- "fast-forward"
], - "branch_deleted": true,
- "conflict_files": [
- "string"
], - "dry_run": true,
- "dry_run_rules": true,
- "mergeable": true,
- "minimum_required_approvals_count": 0,
- "minimum_required_approvals_count_latest": 0,
- "requires_code_owners_approval": true,
- "requires_code_owners_approval_latest": true,
- "requires_comment_resolution": true,
- "requires_no_change_requests": true,
- "rule_violations": [
- {
- "bypassable": true,
- "bypassed": true,
- "rule": {
- "identifier": "string",
- "repo_path": "string",
- "space_path": "string",
- "state": "active",
- "type": "string"
}, - "violations": [
- {
- "code": "string",
- "message": "string",
- "params": [
- null
]
}
]
}
], - "sha": "string"
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "additions": 0,
- "commits": 0,
- "conversations": 0,
- "deletions": 0,
- "files_changed": 0,
- "unresolved_count": 0
}
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
[- {
- "added_by": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "created": 0,
- "latest_review_id": 0,
- "review_decision": "approved",
- "reviewer": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "sha": "string",
- "type": "assigned",
- "updated": 0
}
]
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "reviewer_id": 0
}
{- "added_by": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "created": 0,
- "latest_review_id": 0,
- "review_decision": "approved",
- "reviewer": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "sha": "string",
- "type": "assigned",
- "updated": 0
}
No Content
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
No Content
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "commit_sha": "string",
- "decision": "approved"
}
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "is_draft": true,
- "state": "closed"
}
{- "author": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "check_summary": {
- "error": 0,
- "failure": 0,
- "pending": 0,
- "running": 0,
- "success": 0
}, - "closed": 0,
- "created": 0,
- "description": "string",
- "edited": 0,
- "is_draft": true,
- "labels": [
- {
- "color": "blue",
- "id": 0,
- "key": "string",
- "scope": 0,
- "value": "string",
- "value_color": "blue",
- "value_count": 0,
- "value_id": 0
}
], - "merge_base_sha": "string",
- "merge_check_status": "string",
- "merge_conflicts": [
- "string"
], - "merge_method": "fast-forward",
- "merge_target_sha": "string",
- "merged": 0,
- "merger": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "number": 0,
- "rebase_check_status": "string",
- "rebase_conflicts": [
- "string"
], - "rules": [
- {
- "identifier": "string",
- "repo_path": "string",
- "space_path": "string",
- "state": "active",
- "type": "string"
}
], - "source_branch": "string",
- "source_repo_id": 0,
- "source_sha": "string",
- "state": "closed",
- "stats": {
- "additions": 0,
- "commits": 0,
- "conversations": 0,
- "deletions": 0,
- "files_changed": 0,
- "unresolved_count": 0
}, - "target_branch": "string",
- "target_repo_id": 0,
- "title": "string",
- "updated": 0
}