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.eyJzdWIiOiI0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NDkxLCJleHAiOjE3NTExMDg0OTEsImp0aSI6IjI3ZDBmZTEzLTljYmEtNGYxMS05MzNiLWZjNzY1Y2M5ZTA3ZCJ9.ht9fsBD1JxexMNxMWmfIIMlIjF954vGX30k9y-sLDeg
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/"98aeac4b442cb32a1ae4924e1974c78a"
cache-control: max-age=0, private, must-revalidate
x-request-id: 26db19a9-fd4e-4a3b-bed9-f9125ed5d7c5
x-runtime: 0.007120
content-length: 77

Body

{
  "article": {
    "id": 10,
    "completed": true,
    "title": "Internal Marketing Assistant"
  }
}