List Users
get
/services/{version}/authorizations/{role}
Get the collection of Authorized Users associated with the Authorization Role.
Request
Path Parameters
-
role: string
Minimum Length:
1
Maximum Length:256
Pattern:^[a-zA-Z][a-zA-Z0-9_#$]*$
Authorization Role Resource Name
Default Value:User
-
version: string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Successfully returned a collection Authorized Users Resources associated Authorization Role.
Root Schema : Oracle GoldenGate Collection of Users
Type:
object
Title:
Show Source
Oracle GoldenGate Collection of Users
-
$schema(optional):
Allowed Values:
[ "ogg:userCollection" ]
-
items:
array items
Minimum Number of Items:
0
Maximum Number of Items:32767
Nested Schema : items
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
Show Source
32767
Nested Schema : items
Type:
Show Source
object
-
links:
array links
Minimum Number of Items:
0
Maximum Number of Items:16
Links for item -
username:
string
Minimum Length:
1
Maximum Length:512
Name of user
Nested Schema : links
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
16
Links for item
Show Source
Nested Schema : items
Type:
Show Source
object
-
$schema(optional):
Allowed Values:
[ "ogg:link" ]
-
description(optional):
string
Minimum Length:
1
Maximum Length:4095
A human-readable description that provides information and detail specific to this link. -
href:
string
Minimum Length:
2
Maximum Length:4095
Pattern:^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
An absolute URI for the link -
mediaType(optional):
string
Minimum Length:
6
Maximum Length:255
Pattern:^(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/Administrator",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/authorizations/Administrator",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/role",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
],
"response":{
"$schema":"ogg:userCollection",
"items":[
{
"links":[
{
"href":"http://localhost:11001//services/v2/authorizations/Administrator/CN=Local%2COU=GoldenGate%2COU=Enterprise%20Replication%2COU=Server%20Technology%2CO=Oracle%20Corp%2CL=Redwood%20Shores%2CST=CA%2CC=US",
"mediaType":"application/json",
"rel":"canonical"
}
],
"username":"CN=Local,OU=GoldenGate,OU=Enterprise Replication,OU=Server Technology,O=Oracle Corp,L=Redwood Shores,ST=CA,C=US"
}
]
}
}