mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-22 22:18:02 +02:00
Add absent repounits to create/edit repo API (#23500)
Adds the ability to enable/disable Actions, Packages and Releases from the API, via the Edit and Get Repository API endpoints.
This commit is contained in:

committed by
GitHub

parent
8d9f8e10b1
commit
574d8fe6d6
@ -16861,11 +16861,21 @@
|
||||
"external_wiki": {
|
||||
"$ref": "#/definitions/ExternalWiki"
|
||||
},
|
||||
"has_actions": {
|
||||
"description": "either `true` to enable actions unit, or `false` to disable them.",
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasActions"
|
||||
},
|
||||
"has_issues": {
|
||||
"description": "either `true` to enable issues for this repository or `false` to disable them.",
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasIssues"
|
||||
},
|
||||
"has_packages": {
|
||||
"description": "either `true` to enable packages unit, or `false` to disable them.",
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasPackages"
|
||||
},
|
||||
"has_projects": {
|
||||
"description": "either `true` to enable project unit, or `false` to disable them.",
|
||||
"type": "boolean",
|
||||
@ -16876,6 +16886,11 @@
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasPullRequests"
|
||||
},
|
||||
"has_releases": {
|
||||
"description": "either `true` to enable releases unit, or `false` to disable them.",
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasReleases"
|
||||
},
|
||||
"has_wiki": {
|
||||
"description": "either `true` to enable the wiki for this repository or `false` to disable it.",
|
||||
"type": "boolean",
|
||||
@ -19421,10 +19436,18 @@
|
||||
"type": "string",
|
||||
"x-go-name": "FullName"
|
||||
},
|
||||
"has_actions": {
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasActions"
|
||||
},
|
||||
"has_issues": {
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasIssues"
|
||||
},
|
||||
"has_packages": {
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasPackages"
|
||||
},
|
||||
"has_projects": {
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasProjects"
|
||||
@ -19433,6 +19456,10 @@
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasPullRequests"
|
||||
},
|
||||
"has_releases": {
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasReleases"
|
||||
},
|
||||
"has_wiki": {
|
||||
"type": "boolean",
|
||||
"x-go-name": "HasWiki"
|
||||
|
Reference in New Issue
Block a user