Retrieve App Policies

get

/mobile/platform/appconfig/client

Returns the app policies that have been set for a mobile backend.

Permissions

You can access this operation as a social user, a virtual user, an anonymous user, or a mobile user. If you access this operation as a virtual user or a mobile user, then you must have the role that's associated with the mobile backend.

Request

There are no request parameters for this operation.

Response

Supported Media Types

200 Response

The information was retrieved successfully.
Body ()
This object contains the App Policies key/value properties
Root Schema : appPolicies
Type: object
Additional Properties Allowed
Show Source
This object contains the App Policies key/value properties
Show Source
Example Response (application/json)
{
    "fifTechWelcomeMsg":"Hello",
    "fifTechBgImage":"/mobile/platform/storage/collections/appObjects/objects/bgImage42",
    "fifTechReqTimeout":100000
}

400 Response

The request failed because an exception occurred during processing.

Body ()
Root Schema : Error
Type: object
Title: Error
The error JSON object returned by the service.
Show Source
Nested Schema : o:errorDetails
Type: array
Minimum Number of Items: 0
List of the issues that cause the error. Included when the error is caused by multiple issues.
Show Source
Nested Schema : Error Detail
Type: object
Title: Error Detail
Show Source

Examples

The following example shows how to get the app policy values. For more information about cURL, see Use cURL.

curl -i
-X GET 
-u mobile.user@example.com:password
-H "Oracle-Mobile-Backend-ID: ABCD9278-091f-41aa-9cb2-184bd0586fce"
https://fif.cloud.oracle.com/mobile/platform/appconfig/client

Example of Response Header

The following shows an example of the response header.

200 OK
Content-Type: application/json
Date: Thu, 18 Jun 2015 00:26:10 GMT

Example of Response Body

The following example shows, in JSON format, the contents of the response body, which lists all the app policies:

{
    "fifTechReqTimeout":100000,
    "fifTechWelcomeMsg":"Hello",
    "fifTechBgImage":"/mobile/platform/storage/collections/appObjects/objects/bgImage42"
}