mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-20 21:57:14 -04: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:
parent
8d9f8e10b1
commit
574d8fe6d6
4 changed files with 87 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue