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.eyJzdWIiOiIxMCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0ODUxNjQ5MiwiZXhwIjoxNzUxMTA4NDkyLCJqdGkiOiI3NTc1MjA1Mi03MDRkLTRkNGYtODdlYy1mNGI4MzMyY2RkNzUifQ.lMzcu0v3-mWO9y_HLF19E-ly8S2xiA5HlBIG_Ekprz8
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/"14c220698ab078567b5d303c169dbb67"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5356b76e-e20a-44b2-a8ed-e95e70356080
x-runtime: 0.009139
content-length: 156

Body

{
  "articles": [
    {
      "id": 17,
      "title": "Construction Manager"
    },
    {
      "id": 19,
      "title": "Customer Administration Liaison"
    },
    {
      "id": 18,
      "title": "Direct Design Representative"
    }
  ]
}