Users
| Name | Description |
|---|---|
| id | Either a user id or 'me' |
| token | token |
Content-Type: application/json Host: example.org Cookie:
GET /api/v1/users/188?token=foobar186
token: foobar186
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 ETag: W/"463bec0f764c3472a4c4a20a88c3d21f" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 56e04f25-789c-4c9e-8dac-e0fb5e2288ab X-Runtime: 0.015066 Content-Length: 525
200 OK
{
"user": {
"id": 188,
"display_name": "John D.",
"first_name": "John",
"last_name": "D",
"roles": [
],
"about": null,
"avatar_url": null,
"user_type": "public",
"partner": null,
"engaged": false,
"unread_count": 0,
"permissions": {
"outing": {
"creation": false
}
},
"interests": [
],
"memberships": [
],
"conversation": {
"uuid": "1_list_188-189"
},
"stats": {
"tour_count": 0,
"encounter_count": 0,
"entourage_count": 0,
"actions_count": 0,
"ask_for_help_creation_count": 0,
"contribution_creation_count": 0,
"events_count": 0,
"good_waves_participation": false
},
"organization": null
}
}