Skip to main content

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

NameInTypeRequiredDescription
catalogquerystringNoCatalog to work in (warehouse, finance, …). Omitted, the default catalog is used.
namepathstringYesSample name; trips is the only one

Responses

CodeDescription
200The sample was already there; created is false
201The sample was created; rows is its row count
400The engine refused the statement, or the catalog name is invalid
401Not signed in
403The caller may not browse that catalog
404No such sample, or no such catalog
502The query engine is not reachable