GET/twconnect/api/v1/schema

Retrieve schema from all entities.

Return the schema of all entities in the underlying storage.

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    ClickHouseSchemaResponse contains the schema for ClickHouse.
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    ErrorResponse is the response for one or more errors.

Examples

200 OK

ClickHouseSchemaResponse
{
  "tables": [
    {
      "columns": [
        {
          "name": "string",
          "primaryKey": true,
          "type": "string"
        }
      ],
      "name": "string"
    }
  ]
}