Api::V1::PartnersController API

Partners

Get partner

GET /api/v1/partners/:id

Parameters

Name Description
token User token

Request

Headers

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

Route

GET /api/v1/partners/2?token=foobar118

Query Parameters

token: foobar118

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/"25d3acaf6bf77e36907cdb75fdf45053"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3e6295ea-f581-4b32-935e-e515f80b856c
X-Runtime: 0.010858
Content-Length: 351

Status

200 OK

Body

{
  "partner": {
    "id": 2,
    "name": "MyString",
    "description": "MyDescription",
    "donations_needs": null,
    "volunteers_needs": null,
    "phone": null,
    "address": "174 rue Championnet, Paris",
    "website_url": null,
    "email": null,
    "large_logo_url": "MyString",
    "small_logo_url": "https://s3-eu-west-1.amazonaws.com/entourage-ressources/check-small.png",
    "default": true,
    "following": false
  }
}