Find OAuth Resource Server by name or ID
get
/oam/services/rest/ssa/api/v1/oauthpolicyadmin/application
Returns a Resource Server. The search can be done either with the name or the ID of the Resource Server. Only one of the query parameters needs to be specified.
Request
Supported Media Types
- application/json
- application/x-www-form-urlencoded
Query Parameters
-
id(required): string
Unique ID of the Resource Server
-
identityDomainName(required): string
Name of the Identity Domain under which the Resource Server exits
-
name(required): string
Name of the Resouce Server
Response
Supported Media Types
- application/json
200 Response
Sucessfully retrieved entity - OAuthResourceServer, detail
Root Schema : ResourceServer
Type:
Show Source
object
-
description:
string
-
idDomain(required):
string
Name of the Identity Domain under which the resource server is created
-
name(required):
string
Name of the Resource Server
-
scopes(required):
array scopes
-
tokenAttributes:
array tokenAttributes
Nested Schema : tokenAttributes
Type:
Show Source
array
-
Array of:
object AttributeSettings
Custom attributes that can be added to the Access Token
Nested Schema : ScopeSettings
Type:
Show Source
object
-
scopeName(required):
string
Name of the scope
Nested Schema : AttributeSettings
Type:
object
Custom attributes that can be added to the Access Token
Show Source
-
attrName(required):
string
Name of the custom attribute
-
attrType(required):
string
Allowed Values:
[ "STATIC", "DYNAMIC" ]
Type of the Attribute -
attrValue(required):
string
Value of the custom attribute. This could be a static value or a dynamic one that is evaluated and substituted.
422 Response
Failed to retrive OAuth entity "ResourceServer" - name "NameofResourceServer"