跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 22.6.1, which is no longer the latest release. See the latest release.

Get instance's global settings for ui

GET
/settings/ui
curl --request GET \
--url https://gitea.example.com/api/v1/settings/ui \
--header 'Authorization: Basic <credentials>'

GeneralUISettings

Media typeapplication/json

GeneralUISettings contains global ui settings exposed by API

object
allowed_reactions
Array<string>
custom_emojis
Array<string>
default_theme
string
Examplegenerated
{
"allowed_reactions": [
"example"
],
"custom_emojis": [
"example"
],
"default_theme": "example"
}