Api::V1::EntourageImagesController API

Galerie de photos d'événements

Get entourage image

GET api/v1/entourage_images/:id

Parameters

Name Description
id id
token token

Request

Headers

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

Route

GET api/v1/entourage_images/2?token=foobar10

Query Parameters

token: foobar10

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/"1ace4ece1cd9807b270abbfa20ebc6e7"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 1a5008d5-2e32-4d6b-87c1-ef8b8e615df1
X-Runtime: 0.007633
Content-Length: 260

Status

200 OK

Body

{
  "entourage_image": {
    "id": 2,
    "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
  }
}