Api::V1::ToursController API

Tours

Get tours for public user

GET /api/v1/tours

Parameters

Name Description
token User token

Request

Headers

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

Route

GET /api/v1/tours?token=foobar157

Query Parameters

token: foobar157

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
Cache-Control: no-cache
X-Request-Id: f907b859-792e-487f-b668-523356338faa
X-Runtime: 0.005719
Content-Length: 44

Status

403 Forbidden

Body

{
  "message": "Public users cannot list tours"
}