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"
]
}
]
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
]
}
]
}
]
}