Method: organizations.sites.render

Gets the title and contents of the page on the portal.

HTTP request

GET https://apigee.googleapis.com/v1/{parent=organizations/*/sites/*}/render

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the portal. Use the following structure in your request: organizations/{org}/sites/{site}

Query parameters

Parameters
renderPageId

string

draft

string

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "data": {
    object (PageContent)
  },
  "errorCode": string,
  "message": string,
  "requestId": string,
  "status": string
}
Fields
data

object (PageContent)

Page content.

errorCode

string

ID that can be used to find errors in the log files.

message

string

Description of the operation.

requestId

string

ID that can be used to find request details in the log files.

status

string

Status of the operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

PageContent

JSON representation
{
  "title": string,
  "html": string
}
Fields
title

string

Page title.

html

string

Page content in HTML.