Users
Name | Description |
---|---|
token | token |
entourage_id | entourage |
distance | distance |
Content-Type: application/json Host: example.org Cookie:
POST /api/v1/entourages/8/users
{"token":"foobar28","distance":10.0}
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/"f4f322be38e4d212fa39541da81de04e" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 94a1a35a-4e40-441f-906f-6f73af33414f X-Runtime: 0.027723 Content-Length: 242
201 Created
{ "user": { "id": 30, "display_name": "John D.", "role": "member", "group_role": "member", "community_roles": [ ], "status": "pending", "message": null, "requested_at": "2022-06-02T17:16:42.631+02:00", "avatar_url": null, "partner": null, "partner_role_title": null } }