Faqs

Get all faqs

GET faqs

Endpoint

GET /api/v1/faqs

Parameters

Name Description In
by_kind Filter by kind(admin) ["driver", "operator"]

Request

Route

GET /api/v1/faqs

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzNTQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTMsImV4cCI6MTc0NTA1NjkxMywianRpIjoiOWFiMGJhMmQtNDNkOS00ZGQxLWIwMWYtY2QwMWY2ZjMxNTBiIn0.D1ftwfAlBxkHc5CKJm1p-pUYHHGcoEYheApXk1nX4oY
Host: example.org
Cookie: 

Query Parameters

{}=

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
per-page: 20
total: 2
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"9e73cd368ee63f44fba3f1ffe9850eda"
cache-control: max-age=0, private, must-revalidate
x-request-id: 61697c67-7a08-41d6-9bb5-92684a6cccc3
x-runtime: 0.007055
content-length: 254

Body

{
  "faqs": [
    {
      "id": 2,
      "content": "Accusantium quam aut. Harum aliquam explicabo. Cumque omnis ut.",
      "title": "Customer Marketing Liaison"
    },
    {
      "id": 1,
      "content": "Unde aspernatur laborum. Vero dolorem quia. Reprehenderit impedit et.",
      "title": "Hospitality Director"
    }
  ]
}