Api::V1::NeighborhoodImagesController API

Galerie de photos de groupes de voisinage

Get neighborhood images

GET /api/v1/neighborhood_images

Parameters

Name Description
token User token

Request

Headers

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

Route

GET /api/v1/neighborhood_images?token=foobar79

Query Parameters

token: foobar79

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/"78efbe1bf71aabfae4df7062b023087d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d9da91e3-f755-435b-9e5a-bdd3cd0c1c57
X-Runtime: 0.010035
Content-Length: 139

Status

200 OK

Body

{
  "neighborhood_images": [
    {
      "id": 1,
      "title": "Café solidaire local",
      "image_url": "https://foobar.s3.eu-west-1.amazonaws.com/path-to-img.jpeg"
    }
  ]
}