Nova API — /api/destinations
The operations Nova tags public under /api/destinations. Generated from reference-src/nova-openapi.json.
GET /api/destinations
Operation id destinations_list: in Python client.call("destinations_list", …), on the command line stardelt api destinations_list.
GET /api/destinations — the caller's groups' destinations, newest first.
The notification destinations of the caller's groups, newest first. ?group=<group> narrows to one group the caller belongs to. Times are epoch milliseconds.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
group | query | string | No | Only this group's destinations |
Responses
| Code | Description |
|---|---|
200 | The caller's groups' destinations |
401 | Not signed in |
403 | The caller is not a member of the requested group |
503 | The state store is not configured |
POST /api/destinations
Operation id destinations_create: in Python client.call("destinations_create", …), on the command line stardelt api destinations_create.
POST /api/destinations — 201 with the stored row.
Create a notification destination for one of the caller's groups. An email destination carries config.recipients (1 to 20 addresses); a webhook destination carries config.url (http or https). Nothing here sends anything. A webhook must be a public address; Nova never follows a redirect.
Request body
| Field | Type | Required | Default | Description | Constraints |
|---|---|---|---|---|---|
config | any | Yes | The kind's address: {"recipients": [...]} or {"url": "https://…"}. | ||
kind | string | Yes | |||
name | string | Yes | |||
owner_group | string | Yes | |||
viewers | array of string | No |
Responses
| Code | Description |
|---|---|
201 | The stored row |
400 | The kind, the address, the name or the group is not valid |
401 | Not signed in |
403 | The caller is not a member of the owner group |
409 | A destination with this name already exists in the group |
503 | The state store is not configured |
DELETE /api/destinations/{id}
Operation id destinations_remove: in Python client.call("destinations_remove", …), on the command line stardelt api destinations_remove.
DELETE /api/destinations/{id} — 204; 404 for another group's id or none.
Delete one of the caller's groups' notification destinations.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | Yes | The destination's id |
Responses
| Code | Description |
|---|---|
204 | Deleted |
400 | The id is not a number |
401 | Not signed in |
404 | No such destination, or it is not the caller's |
503 | The state store is not configured |
POST /api/destinations/{id}/test
Operation id destinations_test: in Python client.call("destinations_test", …), on the command line stardelt api destinations_test.
POST /api/destinations/{id}/test — send one test message to a webhook destination and record the attempt.
Send one test message to a webhook destination and record the attempt. An email destination answers 400 until the platform's SMTP relay exists. The answer never contains the webhook's URL.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | Yes | The destination's id |
Responses
| Code | Description |
|---|---|
200 | What the attempt did |
400 | An email destination, or a config without a usable url |
401 | Not signed in |
404 | No such destination, or it is not the caller's |
503 | The state store is not configured |