Api::V1::TourAreasController API

Tour areas

Show tour_area

GET /api/v1/tour_areas/:id

Parameters

Name Description
id id
token token

Request

Headers

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

Route

GET /api/v1/tour_areas/3?token=foobar131

Query Parameters

token: foobar131

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/"d82c3fb3cf6a140eaaaa4398a9ceae3f"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 16f45db6-a546-4ed2-b862-b2fb50f5f4b6
X-Runtime: 0.007105
Content-Length: 77

Status

200 OK

Body

{
  "tour_area": {
    "id": 3,
    "departement": "75000",
    "area": "Paris",
    "status": "active"
  }
}