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.eyJzdWIiOiIzMzQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTgsImV4cCI6MTc0MDE0MzU1OCwianRpIjoiOTY3MDliNTAtZmZhNi00NjVmLWEwMTAtOGIzZWUzOTAzOTg4In0.0jFkaG-21fjqqg3g5U8ljv4qzIxUUC62ocfJm2CdkFw
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/"be748db0a1dabb1f663525763c7f42f4"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5e1e1284-f337-4d20-b1b6-3ca414235f3b
x-runtime: 0.006892
content-length: 251

Body

{
  "faqs": [
    {
      "id": 2,
      "content": "Non dolorem magnam. Nostrum rerum sunt. Deleniti quia beatae.",
      "title": "Legacy Engineer"
    },
    {
      "id": 1,
      "content": "Facilis odit cupiditate. Reprehenderit cum dolor. Minus iusto sit.",
      "title": "Forward Hospitality Administrator"
    }
  ]
}