Users
Get details of the current user
GET
Accept*stringapplication/json
Content-Type*stringapplication/json
Ok
application/json- response
id*integerThe unique ID of the given user
name*stringUser's full name
email*stringThe e-mail that will uniquely identify the user on the system and become its login credential
url_slug?stringThe URL Slug of the user
language*|The language used to show text given to user
Value in
"en""pt"active*booleanTells if the user is active or not
social_accounts*array<|null>created_at*stringThe date and time when the record was created
updated_at*stringThe date and time when the record was last updated
curl -X GET 'https://api.devopness.com/users/me' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <your_api_token>' \ -H 'Content-Type: application/json'Example Response200
{ "id": 45678, "name": "Some One", "email": "someone@example.com", "url_slug": "someone", "language": "en", "active": true, "social_accounts": [ { "id": 85324, "user_id": 6589, "provider": "github", "provider_human_readable": "GitHub", "provider_user_nickname": "Joe Smith", "is_vcs": true, "token_expires_at": "2020-09-25T15:50:48.000000Z", "created_at": "2019-09-25T15:50:48.000000Z", "updated_at": "2019-09-25T13:52:04.000000Z" } ], "created_at": "2019-09-25T13:22:37.000000Z", "updated_at": "2019-09-25T13:22:37.000000Z"}