Reorder articles
Articles
PATCH reorder articles
Endpoint
PATCH /api/v1/articles/reorder
Request
Route
PATCH /api/v1/articles/reorder
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MzI2NjE2NiwiZXhwIjoxNzU1ODU4MTY2LCJqdGkiOiJlYzI3NmFiOS0yNmQ5LTQ5YjktYTA3MC1iZjc3YjI1Y2IxYjkifQ.ND0WJkuLTp7egzZJGYIfLslLzB2dmq0SByM1qxaC4NI
Host: example.org
Cookie:
Body
{
"article": {
"article_ids": [
17,
19,
18
]
}
}
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/"ef91ea5cd3fb30c6a758a9a87f5a0509"
cache-control: max-age=0, private, must-revalidate
x-request-id: 474b559d-a523-420b-9296-8222f58b836e
x-runtime: 0.023806
content-length: 161
Body
{
"articles": [
{
"id": 17,
"title": "International Manufacturing Supervisor"
},
{
"id": 19,
"title": "National Technician"
},
{
"id": 18,
"title": "Chief Manufacturing Liaison"
}
]
}