List secure resources of a role for a privilege
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}/privilegeGrants/{privilegeName}/secureResources
The API returns list of secure resources of a privilege granted to a role ordered by name (ascending) by default.
Request
Path Parameters
-
privilegeName(required): string
Name of Granted PrivilegeExample:
FULL_JOB
-
roleId(required): string
Id of a Role.
Query Parameters
-
limit: integer
Minimum Value:
1
Maximum Value:2000
For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. The api will return no more than the number specified as limit, but might not return that exact number.Default Value:20
-
name: string
Exact Name of Secure Resource to be filteredExample:
REFRESH_DOMAIN_230
-
nameContains: string
Part of Secure Resource Name used to filter Secure ResourcesExample:
REFRESH
-
page: string
System generated page token of a page.
-
sort: string
The order of the result set with direction. Allowed sort field is name. Allowed directions are DESC and ASCExample:
name:DESC
-
type: string
Sub-type of Secure ResourceExample:
NORMAL_JOB
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Secure Resources of the Privilege returned successfully
Root Schema : SecureResourceCollection
Type:
object
This is the representation of List of SecureResources.
Show Source
-
count(required): integer
the number of Resources in this pageExample:
20
-
items(required): array
items
the SecureResource list
-
links(required): object
links
Read Only:
true
the result set navigation links
Nested Schema : items
Type:
array
the SecureResource list
Show Source
-
Array of:
object SecureResourceSummary
It represents a SecureResource like Target Instance, Job Instance etc.
Nested Schema : links
Type:
object
Read Only:
true
the result set navigation links
Show Source
-
next: object
Link
Represents a link(could be self, previous or next)
-
previous: object
Link
Represents a link(could be self, previous or next)
-
self: object
Link
Represents a link(could be self, previous or next)
Nested Schema : SecureResourceSummary
Type:
object
It represents a SecureResource like Target Instance, Job Instance etc.
Show Source
-
id: string
Id of the ResourceExample:
DE5CD14CE9D0C0EBEFFFDDEBAA83DA33
-
name: string
Read Only:
true
Name of the ResourceExample:/EMGC_EMGC_DOMAIN/EMGC_DOMAIN
-
owner: string
Read Only:
true
Owner of the ResourceExample:SYSMAN
-
propagationPolicy: array
propagationPolicy
Scope where the privilege is applicable to. This is applicable only for Secure Resource Type called TARGET.
-
type: string
Read Only:
true
Internal name of Resource Set Type of the ResourceExample:weblogic_domain_name
-
typeDisplayName: string
Read Only:
true
Display name of Resource Set Type of the ResourceExample:Oracle WebLogic Domain
Nested Schema : propagationPolicy
Type:
array
Scope where the privilege is applicable to. This is applicable only for Secure Resource Type called TARGET.
Show Source
-
Array of:
string
Allowed Values:
[ "ALL", "SELF", "MEMBERS" ]
This gives type where a privilege is applicable to which part of composite resource. - ALL means the privilege is given for composite resource and its members. - SELF means the privilege is given only for composite resource. - MEMBERS means the privilege is given only for members of composite resource.
Example:
MEMBERS
Nested Schema : Link
Type:
object
Represents a link(could be self, previous or next)
Show Source
-
href: string
URL for LinkExample:
/em/api/<resources>?page=b2Zmc2V0OjA&limit=0
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string