Performs an administration-related operation

post/admin/operations
Internal-Use Only

The currently supported operations are: 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 example Use Case Five.

Request Samples

1

Response Samples

1{
2 "operation": "refreshConfiguration",
3 "parameters": {
4 "type": "person",
5 "statusOnly": true
6 },
7 "results": {
8 "person": {
9 "refreshRequired": true,
10 "reindexRequired": false
11 }
12 }
13}

Request Body

The request to /admin/operations to perform an administration-related operation

NameTypeRequiredDescription
version
integer
false

The representation version (1).

operation
string
false

The name of the operation to be performed.

Allowed values:
refreshConfigurationmakeIndexSearchable
parameters
anyOfobjectobject
false

Any parameters relevant to the operation. See operation parameter definitions for more details.

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
400Bad RequestThe request is malformed or contains invalid parameter values.Schema
404Not FoundA type mentioned in the request body does not exist.Schema