API for reading from the policy map.
name | type | description |
---|---|---|
uri | query |
media type | data type | description |
---|---|---|
application/json | PolicyResponse (JSON) |
GET /policyMap/policy
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"name" : "...",
"uri" : "..."
}
name | type | description | constraints |
---|---|---|---|
typeId | path | required int |
media type | data type | description |
---|---|---|
application/json | PolicyGroupResponse (JSON) |
GET /policyMap/partType/{typeId}/policyGroup
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policy" : [ {
"default" : true,
"name" : "...",
"uri" : "..."
}, {
"default" : true,
"name" : "...",
"uri" : "..."
} ]
}