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.eyJzdWIiOiI0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTQ3LCJleHAiOjE3NDAxNDM1NDcsImp0aSI6ImVkYjhjMjk3LThmOWUtNDI4Mi1iZDEzLWI0MmUwM2QyYzNmZiJ9.RKaBCJowAGaip1n5Ez8J1IuBYi2oIrkKllO2OElqixQ
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/"a0ed4d33f1b44f64bbd5f307a413148a"
cache-control: max-age=0, private, must-revalidate
x-request-id: f44f78d1-6b75-4033-8140-ba4424d7db50
x-runtime: 0.007094
content-length: 74

Body

{
  "article": {
    "id": 10,
    "completed": true,
    "title": "Administration Supervisor"
  }
}