API reference
code-care
11 endpoints in this area. Each one has its own page with its parameters, its response and a request you can run.
| Method | Path | What it does | Permission |
|---|---|---|---|
| GET | /v1/code-care | The account's Code Care plan, this month's hours, and the fix rate. | billing.view |
| POST | /v1/code-care | Buy Code Care, or move to another tier. | billing.payment.manage |
| POST | /v1/code-care/cancel | Stop Code Care renewing. | billing.payment.manage |
| GET | /v1/dev-requests | The account's fix requests, newest first. | tickets.view |
| POST | /v1/dev-requests | Ask for a fix (a bug, an error, a plugin, theme or code change). | tickets.reply |
| GET | /v1/dev-requests/{request_id} | One fix request. | tickets.view |
| POST | /v1/dev-requests/{request_id}/accept | Accept finished work. | tickets.reply |
| POST | /v1/dev-requests/{request_id}/approve | Approve the estimate; work may start. | billing.payment.manage |
| POST | /v1/dev-requests/{request_id}/cancel | Cancel a fix request before any work is logged. | tickets.reply |
| POST | /v1/dev-requests/{request_id}/decline | Decline the estimate. | tickets.reply |
| POST | /v1/dev-requests/{request_id}/reopen | Reopen finished work within 7 days. | tickets.reply |