Api::V1::EntourageImagesController API

Galerie de photos d'événements

Get entourage images

GET /api/v1/entourage_images

Parameters

Name Description
token User token

Request

Headers

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

Route

GET /api/v1/entourage_images?token=foobar9

Query Parameters

token: foobar9

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/"564867de481d70ce4195da8b5005a4fa"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 85cc1860-ac21-4ac5-96af-1d7af54de6a7
X-Runtime: 0.010018
Content-Length: 263

Status

200 OK

Body

{
  "entourage_images": [
    {
      "id": 1,
      "title": "Café solidaire",
      "landscape_url": "https://foobar.s3.eu-west-1.amazonaws.com/path-to-img.jpeg",
      "landscape_small_url": "https://foobar.s3.eu-west-1.amazonaws.com/path-to-img.jpeg",
      "portrait_url": null,
      "portrait_small_url": null
    }
  ]
}