Check available saved configuration

get

/apiplatform/developers/v1/public/customization

Returns HATEOAS links to any available saved custom configurations for the Developer Portal.

This is a public resource; it does not require authentication and can be accessed by any user.

Request

Query Parameters
portalName
Type: string
Optional portal name query parameter, for site-specific settings

Response

Supported Media Types
  • application/json
200 Response
HATEOAS links to the configuration as JSON.
Body
Serialized JSON data.
Root Schema : /paths/~1v1~1public~1customization/get/responses/200/schema
Type: string
Serialized JSON data.

Examples

The following example shows how to retrieve a link to the Oracle API Platform Cloud Service Developer Portal custom configuration by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL

curl -i -X GET 
https://example.com/apiplatform/developers/v1/public/configuration

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 200 OK
Server: Oracle-Traffic-Director/12.2.1.0.0
Date: Sun, 01 Jan 2017 16:49:08 GMT
Content-length: 205
Content-type: application/json
X-oracle-dms-ecid: F5uRw1L1S00000000
X-oracle-dms-rid: 0:1
Via: 1.1 otd_opc
Proxy-agent: Oracle-Traffic-Director/12.2.1.0.0

Example of Response Body

The following example shows the contents of the response body in JSON format, including a link to retrieve the Developer Portal custom configuration file.

{
  "links": [
    {
      "href": "https://example.com/apiplatform/developers/v1/public/configuration",
      "method": "GET",
      "rel": "configuration",
      "templated": "false"
    }
  ]
}