Schema Patches

Create patch mapping

Changed on

Creates or updates a mapping in a patch.

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

Request

  • Base URL
    https://api.lytics.io/v2
  • URL
    https://api.lytics.io/v2/schema/patch/{table}/{id}/mapping
  • 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

createdstring date-time
edit_statusstring
exprstring

The LQL expression for the mapping

fieldstring required

The target field of the mapping

guard_exprstring

The LQL Guard expression for the mapping

idstring

The ID of the mapping

managed_bystring
modifiedstring date-time
streamstring

The stream associated with the mapping

Response

Updated patch with diff information

_metaobject

Response Metadata

request_idstring
statusinteger

HTTP Status Code

Changes