Schema

Upsert a mapping in draft schema.

post/schema/{table}/mapping

Request

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

Path parameters

tablestring required

The table (e.g. user)

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

Mapping

_metaobject

Response Metadata

request_idstring
statusinteger

HTTP Status Code

Changes