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