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.eyJzdWIiOiI0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MTY1LCJleHAiOjE3NTU4NTgxNjUsImp0aSI6IjM5MjE4ODMxLTY0ZjctNDExYy04NjEzLTQ3NGNjMGZhYTU3MCJ9.UrlgYDoTDBR_PKPPYU35XEpunsDsB8SCRgMFoZrJa4M
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/"c98063fd2b0a6713ba61de7254f2c569"
cache-control: max-age=0, private, must-revalidate
x-request-id: d55c9067-7f92-4dc8-8f02-f1b04e8fee27
x-runtime: 0.011953
content-length: 71

Body

{
  "article": {
    "id": 10,
    "completed": true,
    "title": "Human Design Assistant"
  }
}