跳转到内容
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 user settings

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

UserSettings

Media typeapplication/json
Array<object>

UserSettings represents user settings

object
description
string
diff_view_style
string
full_name
string
hide_activity
boolean
hide_email

Privacy

boolean
language
string
location
string
theme
string
website
string
Examplegenerated
[
{
"description": "example",
"diff_view_style": "example",
"full_name": "example",
"hide_activity": true,
"hide_email": true,
"language": "example",
"location": "example",
"theme": "example",
"website": "example"
}
]