List of configuration values

get

/appstore/publisher/v1/configurations

GET a list of configuration values.

Request

Query Parameters
  • Partner app specific configurtation values can be filtered using this query parameter. Multiple values can also be passed in comma-separated fashion.
  • Limit tells how many records to return (starting from the offset). Limit should be greater than zero and less than or equal to 100 (default=30).
  • Offset and limit together determine how many records to return from the collection. Offset is the starting index of the records to return, which should be greater than or equal to zero (default=0).
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Configuration
Type: object
Show Source

400 Response

Invalid Parameter Value

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example returns a list of partner app specific configuration values, by submitting a GET request on the REST resource using cURL.

cURL Example

curl -X GET -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/configurations"

Request Header

Authorization: Bearer Access-token

Request Body

None

HTTP Status Code:

200 OK

JSON Response:

{
    "items": [
        {
            "configuration": {
                "code": "FILE_UPLOAD_CHUNK_SIZE",
                "name": "Chunk size in MB for file uploads",
                "value": "10",
                "description": "Chunk size in MB for file uploads from browser to Appstore Server. If value is < 10 then default minimum value 10 will be used in runtime. If value is > 50 then default maximum value 50 will be used in runtime.",
                "lastUpdateDate": "2017-12-18T10:38:48.000Z",
                "lastUpdatedBy": "Gopalarao Gajarao"
            }
        },
        {
            "configuration": {
                "code": "DEV_INSTANCE_ORACLE_DEVELOPMENT_EMAIL_ADDRESS",
                "name": "Dev Instance Oracle Development Email Address",
                "value": "appstore-partnermember1_in@oracle.com",
                "description": "Email address to which Partner should send the solution description document.",
                "lastUpdateDate": "2017-09-04T09:49:27.000Z",
                "lastUpdatedBy": "Appstore Admin"
            }
        }
    ],
    "hasMore": false,
    "count": 2,
    "totalResults": 2,
    "links": [
        {
            "rel": "CANONICAL",
            "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/configurations"
        },
        {
            "rel": "SELF",
            "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/configurations"
        }
    ]
}
Back to Top