Set content data for the given custom page
/developers/services/v1/portal/customization/pages/{pageId}/content
Add the content data for a new custom page to the Developer Portal.
Request
- application/octet-stream
-
pageId: string
Unique identifier of the new custom page
object
Response
204 Response
401 Response
404 Response
Examples
The following example shows how to add or update the content data zipped file for a custom page by submitting a PUT request on the REST resource using cURL. For more information about cURL, see Use cURL. To add and manage custom pages, see Manage Custom Pages in Developer Portal.
curl -i -X PUT -H 'Authorization: Bearer access_token' -H 'Content-Type: application/octet-stream' -d @content.zip http://example.com/developers/services/v1/portal/customization/pages/{pageId}/content
-
access_token
refers to the access token generated by Oracle Identity Cloud Service for the Oracle API Platform Cloud Service account. See Security, Authentication and Authorization. -
example.com
refers to the path where Developer Portal is deployed. -
{pageId}
refers to the name of the custom page. For example,Home
. -
content.zip
is the zipped page content for the custom page.
The content.zip
file typically consists of the following files:
Example of Response Headers
The following shows an example of the response headers.
HTTP/1.1 204 No Content Date: Fri, 05 Sep 2018 05:38:18 GMT Content-length: 0 X-oracle-dms-ecid: fd4f7481-e810-498f-9ef3-3cc199fcc455-0006eb27 X-oracle-dms-rid: 0:1