Skip to content
NewDatafor 10.02 is out: subscriptions and metric alerts, in Slack and Teams
Datafor

Models

Check a model if exists

Check whether an analysis model name is already in use.

Reports whether a model with the given name exists, whether or not the caller can read it. Use it before publishing to decide whether to send overwrite=true or pick another name.

Method and path GET /plugin/datafor-modeler/api/mondrian/checkexists
Permission Any signed-in user
Content type none (query string)

Parameters

Name In Type Required Description
name query string Yes Model name (not the display name).

Example

curl -u admin:password -G \
  "http://localhost:28080/datafor/plugin/datafor-modeler/api/mondrian/checkexists" \
  --data-urlencode "name=SalesModel"
{ "success": true, "exists": true }

Related: Add or modify a model