List User Roles
get
/services/{version}/authorizations
Get the collection of roles in this deployment.
Request
Path Parameters
-
version: string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Return the collection of available Authorization Roles.
Root Schema : Oracle GoldenGate Collection of Security Roles
Type:
objectTitle:
Show Source
Oracle GoldenGate Collection of Security Roles-
$schema(optional):
Allowed Values:
[ "ogg:roleCollection" ] -
items:
array items
Minimum Number of Items:
0Maximum Number of Items:32767
Nested Schema : items
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
Show Source
32767Nested Schema : items
Type:
Show Source
object-
links:
array links
Minimum Number of Items:
0Maximum Number of Items:16Links for item -
roleName:
string
Minimum Length:
1Maximum Length:256Pattern:^[a-zA-Z][a-zA-Z0-9_#$]*$Name of security role
Nested Schema : links
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
16Links for item
Show Source
Nested Schema : items
Type:
Show Source
object-
$schema(optional):
Allowed Values:
[ "ogg:link" ] -
description(optional):
string
Minimum Length:
1Maximum Length:4095A human-readable description that provides information and detail specific to this link. -
href:
string
Minimum Length:
2Maximum Length:4095Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$An absolute URI for the link -
mediaType(optional):
string
Minimum Length:
6Maximum Length:255Pattern:^(text|application)/[a-zA-Z0-9!#$&.+-^_]+$Media type - see RFC 4288 (https://tools.ietf.org/html/rfc4288) -
rel:
Allowed Values:
[ "alternate", "canonical", "current", "describedby", "describes", "enclosure", "parent", "related", "self", "first", "last", "next", "previous" ]Relationship of href to the requested link
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/authorizations",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/authorizations",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/authorizations",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:roleCollection",
"items":[
{
"links":[
{
"href":"http://localhost:11001//services/v2/authorizations/All",
"mediaType":"application/json",
"rel":"canonical"
}
],
"roleName":"All"
},
{
"links":[
{
"href":"http://localhost:11001//services/v2/authorizations/User",
"mediaType":"application/json",
"rel":"canonical"
}
],
"roleName":"User"
},
{
"links":[
{
"href":"http://localhost:11001//services/v2/authorizations/Operator",
"mediaType":"application/json",
"rel":"canonical"
}
],
"roleName":"Operator"
},
{
"links":[
{
"href":"http://localhost:11001//services/v2/authorizations/Administrator",
"mediaType":"application/json",
"rel":"canonical"
}
],
"roleName":"Administrator"
},
{
"links":[
{
"href":"http://localhost:11001//services/v2/authorizations/Security",
"mediaType":"application/json",
"rel":"canonical"
}
],
"roleName":"Security"
}
]
}
}