| Description: | Retrieve the policy of a single user in the realm of a Qeo administrator |
| URL Structure: | https://my.qeo.org/qeo-rest-service/v1/realms/{id}/policy?users={id} |
| HTTP Method: | GET |
| Parameters: |
HTTP Authorization Path parameters:
Request Example https://my.qeo.org/qeo-rest-service/v1/realms/103/policy?users=5 |
| Response: |
HTTP 200 OK Body: Contains a list of users with their list of policy rules and associated access rights in JSON format: The returned parameters on user level: Response Example {
"user":5
"type":"user",
"policy":[{
"name":"my::hello::world::topic3::*",
"users":[5],
"realm":103,
"type":"policy_rule"
"read_access":{
"users":[4,5,6]
},
"write_access":{
"users":[6]
}
},{
"name":"my::hello::world::topic2::*",
"users":[5],
"realm":103,
"type":"policy_rule"
"read_access":{
"users":[4]
},
"write_access":null
}]
}
|