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.eyJzdWIiOiIzNjAiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTMsImV4cCI6MTc0NTA1NjkxMywianRpIjoiNjU2MTBjZWMtYjU2OC00YTE2LWEyMzctOGMwM2E4OTUxNmU5In0.d5Bz3zLeMnI2kdNwajjoeRTD-Mu-UQ3mQSdbzrpWUHo
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/"ca97ed9aedb2b5c3432c37df3e9c329e"
cache-control: max-age=0, private, must-revalidate
x-request-id: 56c57809-a68e-44b3-99d8-29099162d0c0
x-runtime: 0.008929
content-length: 385
Body
{
"faqs": [
{
"id": 11,
"content": "Optio blanditiis sed. Adipisci unde dignissimos. Laboriosam aperiam non.",
"title": "Legal Technician"
},
{
"id": 13,
"content": "Et blanditiis quibusdam. Cum occaecati sit. Ut officiis aut.",
"title": "Direct Mining Agent"
},
{
"id": 12,
"content": "Adipisci explicabo est. Doloribus ut consequuntur. Officia accusantium animi.",
"title": "Dynamic Real-Estate Assistant"
}
]
}