Reorder faqs(admin)
Faqs
PATCH faqs(admin)
Endpoint
PATCH /api/v1/faqs/reorder
Request
Route
PATCH /api/v1/faqs/reorder
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzNTkiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0NDAsImV4cCI6MTc2MzU0MjQ0MCwianRpIjoiOGMzNzI4ZTEtM2QzMS00ZWZmLTlhZGMtZmJmYzIzMTRhMzYzIn0.TSCszw_UN8RHntQj9nYMGevQ5KrYLhx9_3iEky1U3ko
Host: example.org
Cookie:
Body
{
"faq": {
"faq_ids": [
11,
13,
12
]
}
}
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: 3
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"41a7da16e15b39c581fde4905576cc71"
cache-control: max-age=0, private, must-revalidate
x-request-id: f79205eb-2d3e-4d8a-98c0-09e16665c131
x-runtime: 0.010432
content-length: 362
Body
{
"faqs": [
{
"id": 11,
"content": "Minus excepturi ipsam. Facere in eaque. Delectus distinctio nisi.",
"title": "Government Developer"
},
{
"id": 13,
"content": "Fugiat a aut. Sit ex quis. Voluptate autem et.",
"title": "Consulting Associate"
},
{
"id": 12,
"content": "Fuga enim minima. Veritatis facere nisi. Reprehenderit vero voluptate.",
"title": "Community-Services Technician"
}
]
}