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 TopResponse
Supported Media Types
- text/plain
200 Response
successful operation
Root Schema : schema
Type:
string
204 Response
The Developer Portal is enabled.
404 Response
The Developer Portal is not enabled.
Examples
The following example shows how to determine if the Oracle API Platform Cloud Service 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