List User Roles

get

/services/{version}/authorizations

Required Role: Security

Get the collection of roles in this deployment.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Return the collection of available Authorization Roles.

Body ()
Root Schema : Oracle GoldenGate Collection of Security Roles
Type: object
Title: Oracle GoldenGate Collection of Security Roles
Show Source
Nested Schema : items
Type: array
Minimum Number of Items: 0
Maximum Number of Items: 32767
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "$schema":"api:standardResponse",
    "links":[
        {
            "href":"http://localhost:9012/services/v2/authorizations",
            "mediaType":"application/json",
            "rel":"canonical"
        },
        {
            "href":"http://localhost:9012/services/v2/authorizations",
            "mediaType":"application/json",
            "rel":"self"
        },
        {
            "href":"http://localhost:9012/services/v2/metadata-catalog/authorizations",
            "mediaType":"application/schema+json",
            "rel":"describedby"
        }
    ],
    "messages":[
    ],
    "response":{
        "$schema":"ogg:roleCollection",
        "items":[
            {
                "links":[
                    {
                        "href":"http://localhost:9012/services/v2/authorizations/All",
                        "mediaType":"application/json",
                        "rel":"canonical"
                    }
                ],
                "roleName":"All"
            },
            {
                "links":[
                    {
                        "href":"http://localhost:9012/services/v2/authorizations/User",
                        "mediaType":"application/json",
                        "rel":"canonical"
                    }
                ],
                "roleName":"User"
            },
            {
                "links":[
                    {
                        "href":"http://localhost:9012/services/v2/authorizations/Operator",
                        "mediaType":"application/json",
                        "rel":"canonical"
                    }
                ],
                "roleName":"Operator"
            },
            {
                "links":[
                    {
                        "href":"http://localhost:9012/services/v2/authorizations/Administrator",
                        "mediaType":"application/json",
                        "rel":"canonical"
                    }
                ],
                "roleName":"Administrator"
            },
            {
                "links":[
                    {
                        "href":"http://localhost:9012/services/v2/authorizations/Security",
                        "mediaType":"application/json",
                        "rel":"canonical"
                    }
                ],
                "roleName":"Security"
            }
        ]
    }
}
Back to Top