Retrieve Policy by Name
get
/mobile/tools/1.0/policies
Retrieves the the value of the policy that has the specified policy name.
Request
Supported Media Types
- application/json
Query Parameters
-
policyName: string
Maximum Length:
607
The name of the policy.
Response
Supported Media Types
- application/json
200 Response
The policy's value.
The policy instance representation.
Root Schema : policies
Type:
object
Additional Properties Allowed
Show Source
The policy instance representation.
404 Response
The environment policy doesn't exist in this environment.
Root Schema : error
Type:
Show Source
object
-
detail:
string
Message that provides the error details.
-
o:ecid:
string
Execution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components.
-
o:errorCode:
string
The service's error code.
-
o:errorDetails:
object errorDetails
-
o:errorPath:
string
The relative point in the API path where the error occurred.
-
status:
integer(int64)
HTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details.
-
title:
string
Summary of the problem.
-
type:
string
The URI to the link that provides details about the HTTP status code.
Nested Schema : errorDetails
Type:
Show Source
object
-
detail:
string
-
o:errorDetails:
object errorDetails
-
title:
string
Summary of the problem.
-
type:
string
The URI to the link that provides details about the HTTP status code.