Appearance
Check a model if exists
About 148 wordsLess than 1 minute
apiModels
2025-03-13
MethodGET
Request URL
/plugin/datafor-modeler/api/mondrian/checkexists
Authorization
Use of this API requires authentication. For details about the authentication method, see
Authorization.
Request Schema
Name | Location | Type | Required | Description |
---|---|---|---|---|
name | query | string | No | The name of the model to check if it exists. |
Response Examples
200 Response
{
"success": true,
"exists": true
}
HTTP Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | OK | The request was successful, and the response indicates whether the model exists. | Inline |
Response Data Schema (HTTP 200)
Name | Type | Required | Description |
---|---|---|---|
success | boolean | Yes | A boolean flag indicating whether the request was processed successfully. |
exists | boolean | Yes | A boolean flag indicating whether the specified model exists (true if it exists, false otherwise). |