Users
| Name | Description |
|---|---|
| id | Either a user id or 'me' |
| token | token |
Content-Type: application/json Host: example.org Cookie:
GET /api/v1/users/186?token=foobar183
token: foobar183
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/"8db4ed99e1e6927864d484f4bd8f1ec8" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 25cad017-3862-4c09-a0ce-ca66cca947f6 X-Runtime: 0.014575 Content-Length: 881
200 OK
{
"user": {
"id": 186,
"display_name": "John D.",
"first_name": "John",
"last_name": "Doe",
"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_186"
},
"anonymous": false,
"uuid": "186",
"feature_flags": {
"organization_admin": false
},
"token": "foobar183",
"email": "user183@mail.com",
"has_password": false,
"firebase_properties": {
"ActionZoneDep": "not_set",
"ActionZoneCP": "not_set",
"Goal": "no_set",
"Interests": "none"
},
"goal": null,
"phone": "+33600000182",
"travel_distance": 10,
"birthday": null,
"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,
"address": null,
"address_2": null
}
}