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.eyJzdWIiOiI0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTAwLCJleHAiOjE3NDUwNTY5MDAsImp0aSI6ImJkNDkzOTJhLWFhZjUtNDYwYi1iZjdlLTA2ZTJmNGQ3ZGNhYSJ9.A53BbX0z_6LUtogNAsGE0OBcHXDP1mifX0ipqJy4798
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/"a7682644e43c3cfd963a6c8bb206c6f0"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7db719b3-a351-45be-854c-6d4673fd1417
x-runtime: 0.010063
content-length: 69

Body

{
  "article": {
    "id": 10,
    "completed": true,
    "title": "Mining Administrator"
  }
}