Endpoints
All endpoints are relative to https://api.oneday.nya.je/v1.
| Method | Path | Description |
|---|---|---|
GET | /jobs | List jobs. |
POST | /jobs | Create a job. |
GET | /jobs/{id} | Retrieve a job. |
PATCH | /jobs/{id} | Update a job. |
DELETE | /jobs/{id} | Delete a job. |
POST | /jobs/{id}/runs | Trigger a run. |
GET | /jobs/{id}/runs | List run history. |
Example: list jobs
curl https://api.oneday.nya.je/v1/jobs?limit=20 \
-H "Authorization: Bearer $ONEDAY_API_KEY"
Pagination
List endpoints accept limit (max 100) and cursor. The response includes a next_cursor when more results are available.