Users
Name | Description |
---|---|
token | token |
tour_id | tour |
distance | distance |
Content-Type: application/json Host: example.org Cookie:
POST /api/v1/tours/13/users
{"token":"foobar149","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/"f7c658c3cd5b4324341212a8d9872fd6" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 66a3cceb-fba4-4f39-91c8-00d9be2444fb X-Runtime: 0.018016 Content-Length: 243
201 Created
{ "user": { "id": 151, "display_name": "John D.", "role": "member", "group_role": "member", "community_roles": [ ], "status": "pending", "message": null, "requested_at": "2022-06-02T17:16:46.151+02:00", "avatar_url": null, "partner": null, "partner_role_title": null } }