Nova API — /api/verified-queries
The operations Nova tags public under /api/verified-queries. Generated from reference-src/nova-openapi.json.
DELETE /api/verified-queries/{id}
Operation id verified_queries_delete: in Python client.call("verified_queries_delete", …), on the command line stardelt api verified_queries_delete.
DELETE /api/verified-queries/{id} — 204; 404 when the id is not a row.
Remove one verified query. Only the owner group of its table and administrators may delete it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | Yes | The verified query's id |
Responses
| Code | Description |
|---|---|
204 | Deleted |
401 | Not signed in |
403 | Only the owner group and administrators may delete a verified query |
404 | No such verified query, or the id is not a number |
502 | The catalog is not reachable or did not answer |
503 | The state store is not configured |
POST /api/verified-queries/{id}/check
Operation id verified_queries_check: in Python client.call("verified_queries_check", …), on the command line stardelt api verified_queries_check.
POST /api/verified-queries/{id}/check — run the statement as the caller and compare it with the expected result; 200 with the updated row either way.
Run one verified query as the caller and compare its rows with the expected result, store the outcome on the row and answer the row. Without an expected result it passes when the statement runs; with one it passes when the rows are equal as a multiset, numbers compared after rounding to six decimals. A readable difference says what was expected and what came back. Whoever may see the table may check it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | Yes | The verified query's id |
Responses
| Code | Description |
|---|---|
200 | The updated row: lastCheckPassed and lastCheckMessage say what the check found |
400 | The stored SQL is no longer one read-only statement |
401 | Not signed in |
403 | The caller may not browse that catalog |
404 | No such verified query, catalog or table |
502 | The catalog is not reachable or did not answer |
503 | The state store is not configured |