REST Resource: organizations.sites.pages

Resource: PageBody

JSON representation
{
  "active": boolean,
  "created": string,
  "draft": string,
  "id": string,
  "modified": string,
  "name": string,
  "systemGenerated": boolean,
  "anonAllowed": boolean,
  "published": string,
  "publishedBy": string,
  "content": string,
  "description": string,
  "modifiedBy": string,
  "submenuId": string,
  "apiProduct": string,
  "friendlyId": string,
  "layout": string,
  "siteId": string,
  "type": enum (PageType),
  "generatedContent": [
    enum (GeneratedContent)
  ]
}
Fields
active

boolean

Boolean flag that specifies whether the page is published.

created

string (int64 format)

Time the page was created in milliseconds since epoch.

draft

string

Draft content of the page.

id

string (int64 format)

ID of the page.

modified

string (int64 format)

Time the page was last modified in milliseconds since epoch.

name

string

Title of the page.

systemGenerated

boolean

System-generated page. (Internal use only.)

anonAllowed

boolean

Boolean flag that specifies whether all or only registered users can access the page.

published

string (int64 format)

Time the page was last published in milliseconds since epoch.

publishedBy

string

Not used by Apigee hybrid.

content

string

Published contents of the page.

description

string

Description of the page.

modifiedBy

string

Not used by Apigee hybrid.

submenuId

string

Not used by Apigee hybrid.

apiProduct

string

Name of the API product.

friendlyId

string

User-friendly page ID (page URL).

layout

string

Page layout. (Internal use only.)

siteId

string

ID of the portal.

type

enum (PageType)

Reserved for future use.

generatedContent[]

enum (GeneratedContent)

Reserved for future use.

PageType

Reserved for future use.

Enums
PAGE_TYPE_UNSPECIFIED Unspecified page type.
GENERIC Generic page type.
RATE_PLAN Reserved for future use.

GeneratedContent

Reserved for future use.

Enums
GENERATED_CONTENT_UNSPECIFIED Reserved for future use.
RATE_PLAN_DESCRIPTION Reserved for future use.
RATE_PLAN_PRICING_DETAILS Reserved for future use.

Methods

content

Updates the draft content of a page on the portal.

create

Creates a new page on the portal.

delete

Deletes a page from the portal.

get

Gets a page on the portal.

list

Lists the pages on the portal.

publish

Publishes a page on the portal.

unpublish

Unpublishes a page on the portal.

update

Updates a page on the portal.