Api::V1::Neighborhoods::UsersController API

Users

Get neighborhood members

GET /api/v1/neighborhoods/:neighborhood_id/users

Parameters

Name Description
token token
neighborhood_id neighborhood

Request

Headers

Content-Type: application/json
Host: example.org
Cookie: 

Route

GET /api/v1/neighborhoods/10/users?token=foobar105

Query Parameters

token: foobar105

Response

Headers

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/"005cd8214ea0ec91bac8b68b77ea23a5"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 58327af9-a75d-4421-a6c3-a4083d0fd4e1
X-Runtime: 0.010078
Content-Length: 485

Status

200 OK

Body

{
  "users": [
    {
      "id": 108,
      "display_name": "John D.",
      "role": "creator",
      "group_role": "creator",
      "community_roles": [

      ],
      "status": "accepted",
      "message": null,
      "requested_at": "2022-06-02T17:16:45.106+02:00",
      "avatar_url": null,
      "partner": null,
      "partner_role_title": null
    },
    {
      "id": 107,
      "display_name": "John D.",
      "role": "member",
      "group_role": "member",
      "community_roles": [

      ],
      "status": "accepted",
      "message": null,
      "requested_at": "2022-06-02T17:16:45.118+02:00",
      "avatar_url": null,
      "partner": null,
      "partner_role_title": null
    }
  ]
}