Schema Patches

Apply schema patch

Changed on

Applies (publishes) a patch to make it the live schema. Once applied, the patch becomes locked. A tag is required, capped at 264 characters: supply one via the optional VersionCommit body, otherwise the patch's stored tag is used; applying with neither returns 400.

post/schema/patch/{table}/{id}/apply

Request

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

Path parameters

tablestring required

Table name

idstring required

Patch ID

Query parameters

account_idstring

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

Request body

descriptionstring

Longer description of changes

tagstring

Tag for short-hand reference

Response

Published schema version

_metaobject

Response Metadata

request_idstring
statusinteger

HTTP Status Code

Changes