Referência da API
code-care
11 endpoints nesta área. Cada um tem a sua própria página com os respetivos parâmetros, a respetiva resposta e um pedido que pode executar.
| Método | Caminho | O que faz | Permissão |
|---|---|---|---|
| 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 |