cURL
curl --request GET \ --url https://gogs.example.com/api/v1/users/search \ --header 'Authorization: <api-key>'
{ "data": [ { "id": 123, "username": "<string>", "login": "<string>", "full_name": "<string>", "email": "jsmith@example.com", "avatar_url": "<string>" } ], "ok": true }
Requests without authentication will return an empty email field for anti-spam purposes.
Documentation IndexFetch the complete documentation index at: https://gogs.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://gogs.io/llms.txt
Use this file to discover all available pages before exploring further.
Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Keyword of username
Max results
Success
Show child attributes