These endpoints work with your organisation's change requests: the changes you ask Vigilbase to make to your managed services. They are v1 operations, on https://api.vigilbase.com/one/v1. Sign-in, permissions and error shapes are on Vigilbase One API.
| Method and path | Permission | CLI command |
|---|---|---|
GET/change-requests | read:services | |
POST/change-requests | read:services |
read:services is held by owners, admins, Members and Read Only members, not Billing Only. Reading a single request, reviewing its plan, approving and rejecting are done in Vigilbase One and aren't v1 operations yet.
List change requests
GET/change-requests lists your organisation's change requests, newest first, as a cursor page.
| Query parameter | Description |
|---|---|
status | Optional; only requests with this status, such as requested, awaiting_customer_approval, applied or failed |
limit | 1 to 100; 50 when left out |
customerId | Optional; leave it out for your own organisation |
Each request has id, customerId, title, description, reference, status, revision, hasPlan (whether Vigilbase has prepared the exact change), approvalExpiresAt, error, createdAt and updatedAt. Statuses explains what each status means.
Request a change
POST/change-requests asks Vigilbase to make a change for your organisation:
{
"customerId": "…",
"title": "Add a CNAME for status.example.com",
"description": "Point status.example.com at our status page provider, proxied.",
"reference": "OPS-1234"
}
| Field | Description |
|---|---|
customerId | Required; your customer ID, which GET/api/account on one.vigilbase.com returns as customer.id |
title | 5 to 200 characters |
description | 10 to 5,000 characters; what you want changed and why |
reference | Optional; up to 1,000 characters, such as your own ticket number |
Other fields are refused with 400 validation_failed. The answer is 201 with the new request, in the requested status. Vigilbase then prepares the exact plan, which you review in One before anything changes.
Your account's email address must be verified to request a change: until it is, the answer is 403. An impersonated session can't read or request changes.
Older paths
Each operation here also answers at an older path on https://one.vigilbase.com/api: GET/api/change-requests and POST/api/change-requests. The older paths are deprecated aliases and will be retired with 410 Gone. See hosts.