Skip to main content

List Demos

Required role: read or higher.

Retrieve the list of demos available in the WebConsole.

Responses
200

List of demos

Schema — OPTIONAL
object[]
description string

Description of the demo (parsed from SQL preamble).

name string

Name of the demo (parsed from SQL preamble).

program_code string

Program SQL code.

title string

Title of the demo (parsed from SQL preamble).

udf_rust string

User defined function (UDF) Rust code.

udf_toml string

User defined function (UDF) TOML dependencies.

500

Failed to read demos from the demos directories

Schema — OPTIONAL
details

Detailed error metadata. The contents of this field is determined by error_code.

error_code string

Error code is a string that specifies this error type.

message string

Human-readable error message.