643 matches
100 actions
Gitea API.
100 actions
- Get a commentGETv1.0.0
- Get a comment attachmentGETv1.0.0
- Get a commit's combined status, by branch/tag/commit referenceGETv1.0.0
- Get a file from a repositoryGETv1.0.0
- Get a file or it's LFS object from a repositoryGETv1.0.0
- Get a Git hookGETv1.0.0
- Get a hookGETv1.0.0
- Get a hookGETv1.0.0
- Get a hookGETv1.0.0
- Get a list of reactions from a comment of an issueGETv1.0.0
- Get a list reactions of an issueGETv1.0.0
- Get a milestoneGETv1.0.0
- Get a note corresponding to a single commit from a repositoryGETv1.0.0
- Get a pull requestGETv1.0.0
- Get a releaseGETv1.0.0
- Get a release attachmentGETv1.0.0
- Get a release by tag nameGETv1.0.0
- Get a repositoryGETv1.0.0
- Get a repository by idGETv1.0.0
- Get a repository's key by idGETv1.0.0
- Get a single commit from a repositoryGETv1.0.0
- Get a single labelGETv1.0.0
- Get a single labelGETv1.0.0
- Get a specific branch protection for the repositoryGETv1.0.0
- Get a specific review for a pull requestGETv1.0.0
- Get a specific review for a pull requestGETv1.0.0
- Get a teamGETv1.0.0
- Get a wiki pageGETv1.0.0
- Get all of a repository's labelsGETv1.0.0
- Get all push mirrors of the repositoryGETv1.0.0
- Get all wiki pagesGETv1.0.0
- Get an archive of a repositoryGETv1.0.0
- Get an issueGETv1.0.0
- Get an issue attachmentGETv1.0.0
- Get an issue's labelsGETv1.0.0
- Get an organizationGETv1.0.0
- Get available issue templates for a repositoryGETv1.0.0
- Get commits for a pull requestGETv1.0.0
- Get default signing-key.gpgGETv1.0.0
- Get instance's global settings for apiGETv1.0.0
- Get instance's global settings for AttachmentGETv1.0.0
- Get instance's global settings for repositoriesGETv1.0.0
- Get instance's global settings for uiGETv1.0.0
- Get languages and number of bytes of code writtenGETv1.0.0
- Get list of organizationsGETv1.0.0
- Get list of topics that a repository hasGETv1.0.0
- Get notification thread by IDGETv1.0.0
- Get push mirror of the repository by remoteNameGETv1.0.0
- Get repository permissions for a userGETv1.0.0
- Get revisions of a wiki pageGETv1.0.0
- Get signing-key.gpg for given repositoryGETv1.0.0
- Get specified ref or filtered repository's refsGETv1.0.0
- Get specified ref or filtered repository's refsGETv1.0.0
- Get the EditorConfig definitions of a file in a repositoryGETv1.0.0
- Get the tag of a repository by tag nameGETv1.0.0
- Get user permissions in organizationGETv1.0.0
- Get user settingsGETv1.0.0
- Get users who subscribed on an issue.GETv1.0.0
- Gets a packageGETv1.0.0
- Gets all files of a packageGETv1.0.0
- Gets all packages of an ownerGETv1.0.0
- Gets the blob of a repository.GETv1.0.0
- Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dirGETv1.0.0
- Gets the metadata of all the entries of the root dirGETv1.0.0
- Gets the most recent non-prerelease, non-draft release of a repository, sorted by created_atGETv1.0.0
- Gets the tag object of an annotated tag (not lightweight tags)GETv1.0.0
- List a particular member of teamGETv1.0.0
- List a particular repo of teamGETv1.0.0
- List a repo's stargazersGETv1.0.0
- List a repo's watchersGETv1.0.0
- List a repository's branchesGETv1.0.0
- List a repository's collaboratorsGETv1.0.0
- List a repository's forksGETv1.0.0
- List a repository's tagsGETv1.0.0
- List a repository's teamsGETv1.0.0
- List a team's membersGETv1.0.0
- List a team's reposGETv1.0.0
- List a user's organizationsGETv1.0.0
- List all comments on an issueGETv1.0.0
- List all organizationsGETv1.0.0
- List all reviews for a pull requestGETv1.0.0
- List all usersGETv1.0.0
- List an organization's labelsGETv1.0.0
- List an organization's membersGETv1.0.0
- List an organization's public membersGETv1.0.0
- List an organization's reposGETv1.0.0
- List an organization's teamsGETv1.0.0
- List branch protections for a repositoryGETv1.0.0
- List comment's attachmentsGETv1.0.0
- List cron tasksGETv1.0.0
- List issue's attachmentsGETv1.0.0
- List release's attachmentsGETv1.0.0
- List the current user's organizationsGETv1.0.0
- List the Git hooks in a repositoryGETv1.0.0
- List the hooks in a repositoryGETv1.0.0
- List unadopted repositoriesGETv1.0.0
- Retrieve a specific branch from a repository, including its effective branch protectionGETv1.0.0
- Returns the nodeinfo of the Gitea applicationGETv1.0.0
- Search for teams within an organizationGETv1.0.0
- search topics via keywordGETv1.0.0
Other/Gitea API.
Get a specific branch protection for the repository
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"owner": {
"type": "string"
},
"repo": {
"type": "string"
}
},
"required": [
"name",
"owner",
"repo"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
{
"type": "object",
"description": "BranchProtection represents a branch protection for a repository",
"properties": {
"approvals_whitelist_teams": {
"type": "array",
"items": {
"type": "string"
}
},
"approvals_whitelist_username": {
"type": "array",
"items": {
"type": "string"
}
},
"block_on_official_review_requests": {
"type": "boolean"
},
"block_on_outdated_branch": {
"type": "boolean"
},
"block_on_rejected_reviews": {
"type": "boolean"
},
"branch_name": {
"type": "string",
"description": "Deprecated: true"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"dismiss_stale_approvals": {
"type": "boolean"
},
"enable_approvals_whitelist": {
"type": "boolean"
},
"enable_merge_whitelist": {
"type": "boolean"
},
"enable_push": {
"type": "boolean"
},
"enable_push_whitelist": {
"type": "boolean"
},
"enable_status_check": {
"type": "boolean"
},
"merge_whitelist_teams": {
"type": "array",
"items": {
"type": "string"
}
},
"merge_whitelist_usernames": {
"type": "array",
"items": {
"type": "string"
}
},
"protected_file_patterns": {
"type": "string"
},
"push_whitelist_deploy_keys": {
"type": "boolean"
},
"push_whitelist_teams": {
"type": "array",
"items": {
"type": "string"
}
},
"push_whitelist_usernames": {
"type": "array",
"items": {
"type": "string"
}
},
"require_signed_commits": {
"type": "boolean"
},
"required_approvals": {
"type": "integer",
"format": "int64"
},
"rule_name": {
"type": "string"
},
"status_check_contexts": {
"type": "array",
"items": {
"type": "string"
}
},
"unprotected_file_patterns": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}