Users
| Name | Description |
|---|---|
| token | token |
| neighborhood_id | neighborhood |
| distance | distance |
Content-Type: application/json Host: example.org Cookie:
POST /api/v1/neighborhoods/11/users
{"token":"foobar108","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/"a413fd0d4b13e89856c14bba619c688d" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 5370fdd7-1a32-4083-a1a4-5772fe1a21cb X-Runtime: 0.010683 Content-Length: 244
201 Created
{
"user": {
"id": 110,
"display_name": "John D.",
"role": "member",
"group_role": "member",
"community_roles": [
],
"status": "accepted",
"message": null,
"requested_at": "2022-06-02T17:16:45.170+02:00",
"avatar_url": null,
"partner": null,
"partner_role_title": null
}
}