/api/ee/replacement

POST /api/ee/replacement/check-replace-source

Changed on

Check whether a source entity can be replaced by a target entity. Returns compatibility errors describing column mismatches, type mismatches, primary key mismatches, and foreign key mismatches.

post/api/ee/replacement/check-replace-source

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

source_entity_type'card' | 'table' | 'transform' required
target_entity_type'card' | 'table' | 'transform' required

Response

Successful response

errorsMetabaseEnterpriseReplacementSchemaErrorType[]
successboolean required

Changes

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      removed subschema #2 from the // response property oneOf list for the response status

    • info

      removed subschema #2 from the // response property oneOf list for the response status

    • info

      endpoint added