Get state of the Developer Portal

get

/developers/services/v1/portal/enabled

Returns response 200 if the Developer Portal is enabled and code 404 if it is disabled.

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

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : schema
Type: string

204 Response

{PublicRestService.getEnabled.response.204}

404 Response

The Developer Portal is not enabled.
Back to Top

Examples

The following example shows how to determine if the Oracle API Platform Cloud Service - Classic Developer Portal is enabled 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/developers/services/v1/portal/enabled

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 204 OK
Date: Fri, 05 Jan 2018 05:38:18 GMT 
X-ORACLE-DMS-ECID: 8D_vT0gLS00000000
X-ORACLE-DMS-RID: 0:1

Example of Response Body

The following example shows the contents of the response body in text/plain format when the Developer Portal is enabled.

true
Back to Top