Perform an administration-related operation
post/admin/operations
Performs any one of the currently supported operations: 1. refreshConfiguration refreshes or just returns the status of the configuration in the cache and underlying search engine with respect to the stored configuration. 2. makeIndexSearchable makes any newly populated indices searchable and deletes any older indices. See the example Use Case Five.
1{2 "operation": "refreshConfiguration",3 "parameters": {4 "type": "person",5 "statusOnly": true6 },7 "results": {8 "person": {9 "refreshRequired": true,10 "reindexRequired": false11 }12 }13}
The request to /admin/operations to perform an administration-related operation
| Name | Type | Required | Description |
|---|---|---|---|
version | integer | false | The representation version (1). |
operation | string | false | The name of the operation to be performed. Allowed values: refreshConfigurationmakeIndexSearchable |
parameters | anyOfoperationRequestParametersForRefreshConfigurationoperationRequestParametersForMakeIndexSearchable | false | Any parameters relevant to the operation. See operation parameter definitions for more details. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Schema | |
| 400 | Bad Request | The request is malformed or contains invalid parameter values. | Schema | |
| 404 | Not Found | A type mentioned in the request body does not exist. | Schema |