Articles

Complete an article

POST complete article

Endpoint

POST /api/v1/articles/:id/complete

Request

Route

POST /api/v1/articles/10/complete

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2MzU4LCJleHAiOjE3NjYyMTgzNTgsImp0aSI6IjcwNzZiZmUxLWI0ZDMtNDcwNC1hMTY0LTkyYzVkZTkyMDg4NyJ9.xe8-JjGFMtTV1WdywdUm-3-Iw2bHk_bVZh7XIDOe8ak
Host: example.org
Cookie: 

Body

{
}

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
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"13abee6370d0fbc6133ff509065e266d"
cache-control: max-age=0, private, must-revalidate
x-request-id: c190ceba-d8bc-4743-b3a8-5d6627baa1bd
x-runtime: 0.009868
content-length: 69

Body

{
  "article": {
    "id": 10,
    "completed": true,
    "title": "Principal Consultant"
  }
}