Api::V1::NeighborhoodImagesController API

Galerie de photos de groupes de voisinage

Get a neighborhood image

GET api/v1/neighborhood_images/:id

Parameters

Name Description
id id
token token

Request

Headers

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

Route

GET api/v1/neighborhood_images/2?token=foobar80

Query Parameters

token: foobar80

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/"96335335064a9ff6e904418ed2f81115"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d37b0014-9a50-4553-b2d6-e69f82a75f06
X-Runtime: 0.006694
Content-Length: 136

Status

200 OK

Body

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