Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changed from yaml to js

...

APIStatus CodeResponse Body

Endpoint: http://locator:7070/management/experimental/regions/Foo

Method: GET

Headers: Authorization



200


Code Block
languageymljs
titleSuccess Response
{
	"statusCode": "OK",
	"result": [{
		"config": {
			"class": "org.apache.geode.cache.configuration.RegionConfig",
			"groups": ["group2"],
			"regionAttributes": {
				"dataPolicy": "PARTITION",
				"concurrencyChecksEnabled": true
			},
			"name": "Foo",
			"type": "PARTITION",
			"uri": "/management/experimental/regions/Foo"
		},
		"runtimeInfo": [{
			"class": "org.apache.geode.management.runtime.RuntimeRegionInfo",
			"entryCount": 0
		}]
	}]
}


401


Code Block
languageyml
titleError Response
{
    "message": "Missing authentication credential header(s)"
}


403


Code Block
languageyml
titleError Response
{
    "message": "User1 not authorized for CLUSTER:READ"
}


404


Code Block
languagejs
titleError Response
{
     "statusCode": "ENTITY_NOT_FOUND",
     "statusMessage":"RegionConfig with id = Foo not found."
}


...