Reload (update) the schema
POST {{baseUrl}}/api/model/schema/reload
Reloads (updates) the schema.
Set Prefer
to respond-async
to execute this API asynchronously. Use GET tasks APIs to check the status of the task.
A project ID and authorization token are required to execute the request. An authorization token can be obtained using Authentication endpoints.
updateTypes
is required in the request body. This field can contain empty, any of the following options, or all them:
* tablekey: Use this option if you changed the key structure of a table.
* entrylevel: Use this option if you changed the level at which a fact is stored.
* logical_size: Use this option to recalculate logical table sizes and override any modifications you made to logical table sizes.
Request Body
{"updateTypes"=>["table_key", "entry_level", "logical_size", "clear_element_cache"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-MSTR-AuthToken | string | (Required) Authorization Token | |
Prefer | null | Set to respond-async to execute this API asynchronously. | |
X-MSTR-ProjectID | string | (Required) Project ID | |
Content-Type | string |