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.eyJzdWIiOiIzNTMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0NDAsImV4cCI6MTc2MzU0MjQ0MCwianRpIjoiZmU3ZDdiYTktNzM5Ny00MTBiLWE0OGQtODU0ZjBhZjk2YmQ3In0.gPir_gWjc6zb4W2GwV2e1slJbhPGGjbRnW0RKvLKGNo
Host: example.org
Cookie: 

Query Parameters

{}=

Body

{
}

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/"a2b3bff3f6f1cba90e7b95dc16c67b31"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5d8c3fff-ea0b-4cd0-a96c-dd75ce24deec
x-runtime: 0.007885
content-length: 263

Body

{
  "faqs": [
    {
      "id": 2,
      "content": "Sunt quia et. Officia debitis ut. Dolor ducimus et.",
      "title": "Human Marketing Facilitator"
    },
    {
      "id": 1,
      "content": "Laboriosam nihil commodi. Ut occaecati quasi. Reprehenderit possimus occaecati.",
      "title": "Internal Hospitality Executive"
    }
  ]
}