Api::V1::TourAreasController API

Tour areas

Get tour_areas

GET /api/v1/tour_areas

Parameters

Name Description
token token

Request

Headers

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

Route

GET /api/v1/tour_areas?token=foobar130

Query Parameters

token: foobar130

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/"093470bf96c7cfe0fd2476b7d6b8da28"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: b3fc8021-29f9-4981-b3a5-307a75e8a0bf
X-Runtime: 0.008097
Content-Length: 144

Status

200 OK

Body

{
  "tour_areas": [
    {
      "id": 1,
      "departement": "75000",
      "area": "Paris",
      "status": "active"
    },
    {
      "id": 2,
      "departement": "75000",
      "area": "Paris",
      "status": "active"
    }
  ]
}