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.eyJzdWIiOiIzNTkiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzgsImV4cCI6MTc1NTg1ODE3OCwianRpIjoiNTgzNjFlMTItMjNlZS00OWIwLWJmNDUtMmIwZDA2MjEwOWIyIn0.E4deVllJ5FBOv4UaS_2_HAKdnCxtcyl1vxfKzCvfA64
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/"ecd5244fcaff65e88c31480fdeec2b2a"
cache-control: max-age=0, private, must-revalidate
x-request-id: fd95a249-ba9f-49d5-9684-0fbd30c32840
x-runtime: 0.015462
content-length: 375
Body
{
"faqs": [
{
"id": 11,
"content": "Saepe eum ea. Aperiam aut consequatur. Pariatur veniam porro.",
"title": "Banking Producer"
},
{
"id": 13,
"content": "Sint reiciendis voluptatum. Sed beatae commodi. Ut aperiam cumque.",
"title": "Investor Real-Estate Administrator"
},
{
"id": 12,
"content": "Et aspernatur sint. Neque voluptas commodi. Velit vero nihil.",
"title": "Dynamic Education Planner"
}
]
}