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.eyJzdWIiOiIzNjkiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjksImV4cCI6MTc2NjIxODM2OSwianRpIjoiM2UzNDI4NjktM2I2Yy00MmNjLWFjNWUtYjNiMDkxNGE0ZTI0In0.zGCHUsxWJz1iwE7NlifUCA14RqA5EhZ28VOZxxvfBW8
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/"fe11eb3fcee49f45b6fe0b57fc651fa4"
cache-control: max-age=0, private, must-revalidate
x-request-id: f65f3b00-e997-41aa-862e-9ceda5055e52
x-runtime: 0.013258
content-length: 370
Body
{
"faqs": [
{
"id": 11,
"content": "Maxime assumenda odio. Dolorem officiis voluptas. Facilis dolorem et.",
"title": "International Government Manager"
},
{
"id": 13,
"content": "Et veritatis pariatur. Aut qui fugit. Iste velit libero.",
"title": "Government Director"
},
{
"id": 12,
"content": "Nihil non aut. Impedit nemo voluptatem. Natus provident suscipit.",
"title": "Direct IT Liaison"
}
]
}