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.eyJzdWIiOiIxMCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MzYyNjM1OCwiZXhwIjoxNzY2MjE4MzU4LCJqdGkiOiIwZGM5Y2Q3MC0yMmY1LTQ0YzYtYTBjYy1hNjJkYWRlOWQwZjQifQ.Tf50X0ul66ULwuOagpnAuSnDJBdv-diq72eeG-2u8PQ
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/"6b448138d1995ce2f598cc272a9a144c"
cache-control: max-age=0, private, must-revalidate
x-request-id: fa227793-d419-4152-89ce-de7e9806f94e
x-runtime: 0.009295
content-length: 165
Body
{
"articles": [
{
"id": 17,
"title": "International Sales Coordinator"
},
{
"id": 19,
"title": "Customer Government Analyst"
},
{
"id": 18,
"title": "Product Manufacturing Producer"
}
]
}