POST /api/ee/replacement/replace-model-with-transform
Changed onCreate a transform from a model, execute it, and replace all usages of the model with the output table. Un-persists the model and converts it to a saved question. Returns 202 with a run_id for polling.
If there is an error during the transform execution, no replacement will be performed and the model will remain unchanged.
If there is an error during the source swap, the transform and the output table will be retained, and the model will remain unchanged. We cannot delete the transform or the output table because they can be used by other queries at this point.
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Request body
Response
Successful response
Changes
- breaking
removed
subschema #2from therequest propertyoneOflist - breaking
removed
subschema #1subschema #2from therequest propertyoneOflist - breaking
the
request property type changed fromobjectto no type - info
added
subschema #2to therequest propertyanyOflist - info
added to the
request propertyanyOflist - info
added
subschema #1subschema #2to therequest propertyanyOflist
- breaking
- info
endpoint added
- info