@ -8470,36 +8470,36 @@
}
}
},
"/settings/allowed_reactions ": {
"/settings/repository ": {
"get": {
"produces": [
"application/json"
],
"tags": [
"miscellaneou s"
"setting s"
],
"summary": "Returns string array of allowed reaction s",
"operationId": "getAllowedReaction s",
"summary": "Get instance's global settings for repositorie s",
"operationId": "getGeneralRepositorySetting s",
"responses": {
"200": {
" $ ref ": " #/responses/StringSlice "
" $ ref ": " #/responses/GeneralRepoSettings "
}
}
}
},
"/settings/repository ": {
"/settings/ui ": {
"get": {
"produces": [
"application/json"
],
"tags": [
"miscellaneou s"
"setting s"
],
"summary": "Get instance's global settings for repositories ",
"operationId": "getGeneralRepository Settings",
"summary": "Get instance's global settings for ui ",
"operationId": "getGeneralUI Settings",
"responses": {
"200": {
" $ ref ": " #/responses/GeneralRepo Settings"
" $ ref ": " #/responses/GeneralUI Settings"
}
}
}
@ -12753,6 +12753,20 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GeneralUISettings": {
"description": "GeneralUISettings contains global ui settings exposed by API",
"type": "object",
"properties": {
"allowed_reactions": {
"type": "array",
"items": {
"type": "string"
},
"x-go-name": "AllowedReactions"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"GitBlobResponse": {
"description": "GitBlobResponse represents a git blob",
"type": "object",
@ -14928,6 +14942,12 @@
" $ ref ": " #/definitions/GeneralRepoSettings"
}
},
"GeneralUISettings": {
"description": "GeneralUISettings",
"schema": {
" $ ref ": " #/definitions/GeneralUISettings"
}
},
"GitBlobResponse": {
"description": "GitBlobResponse",
"schema": {