Get content data for the given custom page
/developers/services/v1/portal/customization/pages/{pageId}/content
Download the zipped content of the given custom page.
Request
-
pageId: string
Unique identifier of the custom page
Response
- application/octet-stream
200 Response
401 Response
404 Response
Examples
The following example shows how to retrieve the content data for a given custom page by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL
curl -X GET -H 'Authorization: Bearer access_token' -H 'Content-Type: application/octet-stream' -o yourfolder/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. -
-o yourfolder/content.zip
refers to the location of thecontent.zip
file to which you wish to download. -
{pageId}
refers to the name of the custom page. For example,Home
.
Example of Response Headers
The following shows an example of the response headers.
HTTP/1.1 200 OK Mon, 24 Sep 2018 09:30:44 GMT Content-type: application/json X-oracle-dms-ecid: 585fdc37-bd3c-4713-890e-282f963e56ac-000031f6 X-oracle-dms-rid: 0:1
Example of Response Body
The content.zip
is downloaded to the specified location.