curl --request GET \
--url https://gogs.example.com/api/v1/user \
--header 'Authorization: <api-key>'{
"id": 123,
"username": "<string>",
"login": "<string>",
"full_name": "<string>",
"email": "[email protected]",
"avatar_url": "<string>"
}curl --request GET \
--url https://gogs.example.com/api/v1/user \
--header 'Authorization: <api-key>'{
"id": 123,
"username": "<string>",
"login": "<string>",
"full_name": "<string>",
"email": "[email protected]",
"avatar_url": "<string>"
}