GET/twconnect/api/v1/schema/{entity}

Retrieve schema for a specific entity.

Return the schema of a specific entity from the underlying storage.

Path Params

  • Name
    entity
    Type
    integer
    required
    Description

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"
    }
  ]
}