Schema Patches

Create schema patch

Changed on

Creates a new patch for the table. Tag and description are optional; a tag is required later, at apply time. Tag is capped at 264 characters.

post/schema/patch/{table}

Request

  • Base URL
    https://api.lytics.io/v2
  • URL
    https://api.lytics.io/v2/schema/patch/{table}
  • Auth
    API key in header Authorization

Path parameters

tablestring required

Table name

Query parameters

account_idstring

The account ID. Defaults to the user's default account.

Request body

createdstring date-time
created_bystring
descriptionstring
draft_statusstring
idstring

UUID for this schema version

is_patchboolean
modifiedstring date-time
parent_idstring
published_bystring
status'live' | 'draft' | 'archived'
tablestring
tagstring
version_numberinteger

Response

Created patch with diff information

_metaobject

Response Metadata

request_idstring
statusinteger

HTTP Status Code

Changes