Get content data for the given custom page

get

/developers/services/v1/portal/customization/pages/{pageId}/content

Download the zipped content of the given custom page.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

The page implementation content for the given page ID, provided in the form of a file named 'content.zip'

401 Response

Authentication required.

404 Response

Not allowed to get.
Back to Top

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 the content.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.

Back to Top