...
API | Status Code | Response Body | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Endpoint: http://locator:7070/management/experimental/regions Method: POST Headers: Authorization Permission Required: DATA:MANAGE
Types supported by this Rest API is defined in RegionType:
| 201 |
| |||||||||||||||||||||
409 |
| ||||||||||||||||||||||
400 |
Given an unknown input attribute, for example: foobar in: curl -d '{"name":"replicate2","type":"REPLICATE","foobar":"value"}' -H 'Content-Type: application/json' http://localhost:7070/management/experimental/regions the output is: { "statusCode" : "ILLEGAL_ARGUMENT", "statusMessage" : "JSON parse error: Unrecognized field \"foobar\" (class org.apache.geode.cache.configuration.RegionConfig), not marked as ignorable; nested exception is com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field \"foobar\" (class org.apache.geode.cache.configuration.RegionConfig), not marked as ignorable (9 known properties: \"indexes\", \"groups\", \"type\", \"regionAttributes\", \"customRegionElements\", \"regions\", \"entries\", \"name\", \"group\"])\n at [Source: (PushbackInputStream); line: 1, column: 59] (through reference chain: org.apache.geode.cache.configuration.RegionConfig[\"foobar\"])" } | ||||||||||||||||||||||
401 |
| ||||||||||||||||||||||
403 |
| ||||||||||||||||||||||
500 |
|
...
API | Status Code | Response Body | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
200 |
| ||||||||||
401 |
| ||||||||||
403 |
| ||||||||||
404 |
|
Delete Region
API | Status Code | Response Body | |||||||
---|---|---|---|---|---|---|---|---|---|
Endpoint: http://locator:7070/management/experimental/regions/Foo Method: DELETE Headers: Authorization | 200 |
| |||||||
404 |
| ||||||||
401 |
| ||||||||
403 |
| ||||||||
500 |
|
Note that the DELETE endpoint is idempotent – i.e. it should be a NOOP if the region does not exist.
...
API | Status Code | Response Body | |||||||
---|---|---|---|---|---|---|---|---|---|
Endpoint: http://locator:7070/management/experimental/members/server-1 Method: GET Headers: Authorization Permission Required: CLUSTER:READ | 200 |
| |||||||
Endpoint: http://locator:7070/management/experimental/members/Non-Existent Method: GET Headers: Authorization Permission Required: CLUSTER:READ | 404 |
|
...
API | Status Code | Response Body | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Endpoint: http://locator:7070/management/experimental/operations/rebalance Method: POST Headers: Authorization Permission Required: DATA:MANAGE
| 202 |
|
...
API | Status Code | Response Body | |||||||
---|---|---|---|---|---|---|---|---|---|
Endpoint: http://locator:7070/management/experimental/operations/rebalance Method: GET Headers: Authorization Permission Required: DATA:MANAGE | 200 |
|
...
API | Status Code | Response Body | |||||||
---|---|---|---|---|---|---|---|---|---|
Endpoint: http://locator:7070/management/experimental/operations/rebalance/{id} Method: GET Headers: Authorization Permission Required: DATA:MANAGE | 200 |
| |||||||
200 |
| ||||||||
404 |
| ||||||||
500 |
|
...