OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "created": 0,
- "created_by": 0,
- "default_branch": "string",
- "deleted": 0,
- "description": "string",
- "fork_id": 0,
- "git_ssh_url": "string",
- "git_url": "string",
- "id": 0,
- "identifier": "string",
- "importing": true,
- "is_empty": true,
- "is_public": true,
- "num_closed_pulls": 0,
- "num_forks": 0,
- "num_merged_pulls": 0,
- "num_open_pulls": 0,
- "num_pulls": 0,
- "parent_id": 0,
- "path": "string",
- "size": 0,
- "size_updated": 0,
- "state": 0,
- "updated": 0
}
]
Created
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "default_branch": "string",
- "description": "string",
- "fork_id": 0,
- "git_ignore": "string",
- "identifier": "string",
- "is_public": true,
- "license": "string",
- "parent_ref": "string",
- "readme": true,
- "uid": "string"
}
{- "created": 0,
- "created_by": 0,
- "default_branch": "string",
- "deleted": 0,
- "description": "string",
- "fork_id": 0,
- "git_ssh_url": "string",
- "git_url": "string",
- "id": 0,
- "identifier": "string",
- "importing": true,
- "is_empty": true,
- "is_public": true,
- "num_closed_pulls": 0,
- "num_forks": 0,
- "num_merged_pulls": 0,
- "num_open_pulls": 0,
- "num_pulls": 0,
- "parent_id": 0,
- "path": "string",
- "size": 0,
- "size_updated": 0,
- "state": 0,
- "updated": 0
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "created": 0,
- "created_by": 0,
- "default_branch": "string",
- "deleted": 0,
- "description": "string",
- "fork_id": 0,
- "git_ssh_url": "string",
- "git_url": "string",
- "id": 0,
- "identifier": "string",
- "importing": true,
- "is_empty": true,
- "is_public": true,
- "num_closed_pulls": 0,
- "num_forks": 0,
- "num_merged_pulls": 0,
- "num_open_pulls": 0,
- "num_pulls": 0,
- "parent_id": 0,
- "path": "string",
- "size": 0,
- "size_updated": 0,
- "state": 0,
- "updated": 0
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "description": "string"
}
{- "created": 0,
- "created_by": 0,
- "default_branch": "string",
- "deleted": 0,
- "description": "string",
- "fork_id": 0,
- "git_ssh_url": "string",
- "git_url": "string",
- "id": 0,
- "identifier": "string",
- "importing": true,
- "is_empty": true,
- "is_public": true,
- "num_closed_pulls": 0,
- "num_forks": 0,
- "num_merged_pulls": 0,
- "num_open_pulls": 0,
- "num_pulls": 0,
- "parent_id": 0,
- "path": "string",
- "size": 0,
- "size_updated": 0,
- "state": 0,
- "updated": 0
}
OK
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "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"
}, - "file_stats": [
- { }
], - "message": "string",
- "parent_shas": [
- "string"
], - "sha": "string",
- "title": "string"
}, - "lines": [
- "string"
], - "previous": {
- "commit_sha": "string",
- "file_name": "string"
}
}
]
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "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"
}, - "name": "string",
- "sha": "string"
}
]
Created
Bad Request
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
{- "bypass_rules": true,
- "dry_run_rules": true,
- "name": "string",
- "target": "string"
}
{- "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
Unprocessable Entity
Internal Server Error
{- "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
{- "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"
}, - "name": "string",
- "sha": "string"
}
OK
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "commits": [
- {
- "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"
}
], - "rename_details": [
- {
- "commit_sha_after": "string",
- "commit_sha_before": "string",
- "new_path": "string",
- "old_path": "string"
}
], - "total_commits": 0
}
]
OK
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Internal Server Error
{- "actions": [
- {
- "action": "CREATE",
- "encoding": "base64",
- "path": "string",
- "payload": "string",
- "sha": "string"
}
], - "branch": "string",
- "bypass_rules": true,
- "dry_run_rules": true,
- "message": "string",
- "new_branch": "string",
- "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
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "max_count": 0,
- "requests": [
- {
- "from": "string",
- "to": "string"
}
]
}
[- {
- "ahead": 0,
- "behind": 0
}
]
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "content": {
- "data": "string",
- "data_size": 0,
- "encoding": "base64",
- "size": 0
}, - "latest_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"
}, - "name": "string",
- "path": "string",
- "sha": "string",
- "type": "file"
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "name": "string"
}
{- "created": 0,
- "created_by": 0,
- "default_branch": "string",
- "deleted": 0,
- "description": "string",
- "fork_id": 0,
- "git_ssh_url": "string",
- "git_url": "string",
- "id": 0,
- "identifier": "string",
- "importing": true,
- "is_empty": true,
- "is_public": true,
- "num_closed_pulls": 0,
- "num_forks": 0,
- "num_merged_pulls": 0,
- "num_open_pulls": 0,
- "num_pulls": 0,
- "parent_id": 0,
- "path": "string",
- "size": 0,
- "size_updated": 0,
- "state": 0,
- "updated": 0
}
OK
Unauthorized
Forbidden
Internal Server Error
{- "additions": 0,
- "commits": 0,
- "deletions": 0,
- "files_changed": 0
}
OK
Unauthorized
Forbidden
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
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
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "paths": [
- "string"
]
}
{- "details": [
- {
- "last_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"
}, - "file_stats": [
- { }
], - "message": "string",
- "parent_shas": [
- "string"
], - "sha": "string",
- "title": "string"
}, - "path": "string"
}
]
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "directories": [
- "string"
], - "files": [
- "string"
]
}
No Content
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Internal Server Error
{- "base_branch": "string",
- "base_commit_sha": "string",
- "bypass_rules": true,
- "dry_run": true,
- "dry_run_rules": true,
- "head_branch": "string",
- "head_commit_sha": "string"
}
{- "already_ancestor": true,
- "conflict_files": [
- "string"
], - "dry_run": true,
- "dry_run_rules": true,
- "new_head_branch_sha": "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
]
}
]
}
]
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "new_identifier": "string",
- "new_parent_ref": "string"
}
{- "created": 0,
- "created_by": 0,
- "default_branch": "string",
- "deleted": 0,
- "description": "string",
- "fork_id": 0,
- "git_ssh_url": "string",
- "git_url": "string",
- "id": 0,
- "identifier": "string",
- "importing": true,
- "is_empty": true,
- "is_public": true,
- "num_closed_pulls": 0,
- "num_forks": 0,
- "num_merged_pulls": 0,
- "num_open_pulls": 0,
- "num_pulls": 0,
- "parent_id": 0,
- "path": "string",
- "size": 0,
- "size_updated": 0,
- "state": 0,
- "updated": 0
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "created": 0,
- "created_by": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "definition": {
- "bypass": {
- "repo_owners": true,
- "user_group_ids": [
- 0
], - "user_ids": [
- 0
]
}, - "lifecycle": {
- "create_forbidden": true,
- "delete_forbidden": true,
- "update_forbidden": true,
- "update_force_forbidden": true
}, - "pullreq": {
- "approvals": {
- "require_code_owners": true,
- "require_latest_commit": true,
- "require_minimum_count": 0,
- "require_no_change_request": true
}, - "comments": {
- "require_resolve_all": true
}, - "merge": {
- "block": true,
- "delete_branch": true,
- "strategies_allowed": [
- "fast-forward"
]
}, - "status_checks": {
- "require_identifiers": [
- "string"
]
}
}
}, - "description": "string",
- "identifier": "string",
- "pattern": {
- "default": true,
- "exclude": [
- "string"
], - "include": [
- "string"
]
}, - "state": "active",
- "type": "branch",
- "updated": 0,
- "user_groups": {
- "property1": {
- "description": "string",
- "identifier": "string",
- "name": "string"
}, - "property2": {
- "description": "string",
- "identifier": "string",
- "name": "string"
}
}, - "users": {
- "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
}
}
}
]
Created
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "definition": {
- "bypass": {
- "repo_owners": true,
- "user_group_ids": [
- 0
], - "user_ids": [
- 0
]
}, - "lifecycle": {
- "create_forbidden": true,
- "delete_forbidden": true,
- "update_forbidden": true,
- "update_force_forbidden": true
}, - "pullreq": {
- "approvals": {
- "require_code_owners": true,
- "require_latest_commit": true,
- "require_minimum_count": 0,
- "require_no_change_request": true
}, - "comments": {
- "require_resolve_all": true
}, - "merge": {
- "block": true,
- "delete_branch": true,
- "strategies_allowed": [
- "fast-forward"
]
}, - "status_checks": {
- "require_identifiers": [
- "string"
]
}
}
}, - "description": "string",
- "identifier": "string",
- "pattern": {
- "default": true,
- "exclude": [
- "string"
], - "include": [
- "string"
]
}, - "state": "active",
- "type": "branch",
- "uid": "string"
}
{- "created": 0,
- "created_by": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "definition": {
- "bypass": {
- "repo_owners": true,
- "user_group_ids": [
- 0
], - "user_ids": [
- 0
]
}, - "lifecycle": {
- "create_forbidden": true,
- "delete_forbidden": true,
- "update_forbidden": true,
- "update_force_forbidden": true
}, - "pullreq": {
- "approvals": {
- "require_code_owners": true,
- "require_latest_commit": true,
- "require_minimum_count": 0,
- "require_no_change_request": true
}, - "comments": {
- "require_resolve_all": true
}, - "merge": {
- "block": true,
- "delete_branch": true,
- "strategies_allowed": [
- "fast-forward"
]
}, - "status_checks": {
- "require_identifiers": [
- "string"
]
}
}
}, - "description": "string",
- "identifier": "string",
- "pattern": {
- "default": true,
- "exclude": [
- "string"
], - "include": [
- "string"
]
}, - "state": "active",
- "type": "branch",
- "updated": 0,
- "user_groups": {
- "property1": {
- "description": "string",
- "identifier": "string",
- "name": "string"
}, - "property2": {
- "description": "string",
- "identifier": "string",
- "name": "string"
}
}, - "users": {
- "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
}
}
}
No Content
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "created": 0,
- "created_by": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "definition": {
- "bypass": {
- "repo_owners": true,
- "user_group_ids": [
- 0
], - "user_ids": [
- 0
]
}, - "lifecycle": {
- "create_forbidden": true,
- "delete_forbidden": true,
- "update_forbidden": true,
- "update_force_forbidden": true
}, - "pullreq": {
- "approvals": {
- "require_code_owners": true,
- "require_latest_commit": true,
- "require_minimum_count": 0,
- "require_no_change_request": true
}, - "comments": {
- "require_resolve_all": true
}, - "merge": {
- "block": true,
- "delete_branch": true,
- "strategies_allowed": [
- "fast-forward"
]
}, - "status_checks": {
- "require_identifiers": [
- "string"
]
}
}
}, - "description": "string",
- "identifier": "string",
- "pattern": {
- "default": true,
- "exclude": [
- "string"
], - "include": [
- "string"
]
}, - "state": "active",
- "type": "branch",
- "updated": 0,
- "user_groups": {
- "property1": {
- "description": "string",
- "identifier": "string",
- "name": "string"
}, - "property2": {
- "description": "string",
- "identifier": "string",
- "name": "string"
}
}, - "users": {
- "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
}
}
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "definition": {
- "bypass": {
- "repo_owners": true,
- "user_group_ids": [
- 0
], - "user_ids": [
- 0
]
}, - "lifecycle": {
- "create_forbidden": true,
- "delete_forbidden": true,
- "update_forbidden": true,
- "update_force_forbidden": true
}, - "pullreq": {
- "approvals": {
- "require_code_owners": true,
- "require_latest_commit": true,
- "require_minimum_count": 0,
- "require_no_change_request": true
}, - "comments": {
- "require_resolve_all": true
}, - "merge": {
- "block": true,
- "delete_branch": true,
- "strategies_allowed": [
- "fast-forward"
]
}, - "status_checks": {
- "require_identifiers": [
- "string"
]
}
}
}, - "description": "string",
- "identifier": "string",
- "pattern": {
- "default": true,
- "exclude": [
- "string"
], - "include": [
- "string"
]
}, - "state": "active",
- "type": "branch",
- "uid": "string"
}
{- "created": 0,
- "created_by": {
- "created": 0,
- "display_name": "string",
- "email": "string",
- "id": 0,
- "type": "service",
- "uid": "string",
- "updated": 0
}, - "definition": {
- "bypass": {
- "repo_owners": true,
- "user_group_ids": [
- 0
], - "user_ids": [
- 0
]
}, - "lifecycle": {
- "create_forbidden": true,
- "delete_forbidden": true,
- "update_forbidden": true,
- "update_force_forbidden": true
}, - "pullreq": {
- "approvals": {
- "require_code_owners": true,
- "require_latest_commit": true,
- "require_minimum_count": 0,
- "require_no_change_request": true
}, - "comments": {
- "require_resolve_all": true
}, - "merge": {
- "block": true,
- "delete_branch": true,
- "strategies_allowed": [
- "fast-forward"
]
}, - "status_checks": {
- "require_identifiers": [
- "string"
]
}
}
}, - "description": "string",
- "identifier": "string",
- "pattern": {
- "default": true,
- "exclude": [
- "string"
], - "include": [
- "string"
]
}, - "state": "active",
- "type": "branch",
- "updated": 0,
- "user_groups": {
- "property1": {
- "description": "string",
- "identifier": "string",
- "name": "string"
}, - "property2": {
- "description": "string",
- "identifier": "string",
- "name": "string"
}
}, - "users": {
- "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
}
}
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "file_size_limit": 0
}
{- "file_size_limit": 0
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "secret_scanning_enabled": true,
- "vulnerability_scanning_mode": "disabled"
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "secret_scanning_enabled": true,
- "vulnerability_scanning_mode": "disabled"
}
{- "secret_scanning_enabled": true,
- "vulnerability_scanning_mode": "disabled"
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Internal Server Error
{- "base_branch": "string",
- "base_commit_sha": "string",
- "bypass_rules": true,
- "dry_run": true,
- "dry_run_rules": true,
- "head_branch": "string",
- "head_commit_sha": "string",
- "message": "string",
- "title": "string"
}
{- "conflict_files": [
- "string"
], - "dry_run": true,
- "dry_run_rules": true,
- "new_head_branch_sha": "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
]
}
]
}
]
}
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
{- "branch_count": 0,
- "default_branch_commit_count": 0,
- "pull_req_summary": {
- "closed_count": 0,
- "merged_count": 0,
- "open_count": 0
}, - "tag_count": 0
}
OK
Unauthorized
Forbidden
Not Found
Internal Server Error
[- {
- "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"
}, - "is_annotated": true,
- "message": "string",
- "name": "string",
- "sha": "string",
- "tagger": {
- "identity": {
- "email": "string",
- "name": "string"
}, - "when": "2019-08-24T14:15:22Z"
}, - "title": "string"
}
]
Created
Bad Request
Unauthorized
Forbidden
Conflict
Unprocessable Entity
Internal Server Error
{- "bypass_rules": true,
- "message": "string",
- "name": "string",
- "target": "string"
}
{- "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"
}, - "is_annotated": true,
- "message": "string",
- "name": "string",
- "sha": "string",
- "tagger": {
- "identity": {
- "email": "string",
- "name": "string"
}, - "when": "2019-08-24T14:15:22Z"
}, - "title": "string"
}
No Content
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}
Created
Bad Request
Unauthorized
Forbidden
Internal Server Error
{- "description": "string",
- "identifier": "string",
- "parent_ref": "string",
- "pipelines": "convert",
- "provider": {
- "host": "string",
- "password": "string",
- "type": "github",
- "username": "string"
}, - "provider_repo": "string",
- "uid": "string"
}
{- "created": 0,
- "created_by": 0,
- "default_branch": "string",
- "deleted": 0,
- "description": "string",
- "fork_id": 0,
- "git_ssh_url": "string",
- "git_url": "string",
- "id": 0,
- "identifier": "string",
- "importing": true,
- "is_empty": true,
- "is_public": true,
- "num_closed_pulls": 0,
- "num_forks": 0,
- "num_merged_pulls": 0,
- "num_open_pulls": 0,
- "num_pulls": 0,
- "parent_id": 0,
- "path": "string",
- "size": 0,
- "size_updated": 0,
- "state": 0,
- "updated": 0
}