Articles

Reorder 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.eyJzdWIiOiIxMCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTczNzU1MTU0OCwiZXhwIjoxNzQwMTQzNTQ4LCJqdGkiOiJlZDIyYThkOS05YjM4LTQxNDUtODAwOC1hYmNhNzE5ODMxMWQifQ.WJbhfR3nEEPD756K2ZyQj4rU29iTknm5nxXlfcS2IaA
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/"7876bd629a1604f7f56dbd9cc1939fe4"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7c645d7d-1a95-4e4e-a2bf-3e669e9f46f5
x-runtime: 0.011213
content-length: 135

Body

{
  "articles": [
    {
      "id": 17,
      "title": "Corporate Administrator"
    },
    {
      "id": 19,
      "title": "Education Producer"
    },
    {
      "id": 18,
      "title": "Product Architect"
    }
  ]
}