user
default
Show details about the calling user.
Changed onget/user
Request
- Base URL{{ server_url }}/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Information about the calling user: name, email, login, etc.
Example response
{
"id": "github|60340680",
"native_id": "60340680",
"login": "gkwillie",
"name": "Groundskeeper Willie",
"email": "bot@athenian.co",
"picture": "https://avatars0.githubusercontent.com/u/60340680?v=4",
"updated": "2020-01-23T12:00:00Z",
"accounts": {
"1": {
"is_admin": true,
"expired": false,
"has_jira": true,
"has_ci": true,
"has_deployments": true,
"stale": false
},
"2": {
"is_admin": false,
"expired": false,
"has_jira": false,
"has_ci": true,
"has_deployments": false,
"stale": false
}
}
}Changes
- info
added the required property
//to the response with the status
- info