Nova API — /api/samples
The operations Nova tags public under /api/samples. Generated from reference-src/nova-openapi.json.
POST /api/samples/{name}
Operation id samples_load: in Python client.call("samples_load", …), on the command line stardelt api samples_load.
Load one generated sample table as the caller. trips is the only sample: about 10 000 deterministic rows in <catalog>.samples.trips, generated by the engine, so it works on every profile and in an air-gapped install. Idempotent: a second call creates nothing and answers created: false. ?catalog= picks the catalog; omitted, the caller's default one is used. Nothing is ever dropped.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
catalog | query | string | No | Catalog to work in (warehouse, finance, …). Omitted, the default catalog is used. |
name | path | string | Yes | Sample name; trips is the only one |
Responses
| Code | Description |
|---|---|
200 | The sample was already there; created is false |
201 | The sample was created; rows is its row count |
400 | The engine refused the statement, or the catalog name is invalid |
401 | Not signed in |
403 | The caller may not browse that catalog |
404 | No such sample, or no such catalog |
502 | The query engine is not reachable |