On this page

ConfluencePS.Page

SYNOPSIS

Defines an object for Pages in Confluence.

SYNTAX

New-Object -TypeName ConfluencePS.Page [-Property @{}]

[ConfluencePS.Page]@{}

DESCRIPTION

fixThe Page is an object that describes pages in Confluence.

REFERENCES

The following classes use Page for their properties:

CONSTRUCTORS

This class does not have a constructor.

PROPERTIES

Id

The Id is the unique identifier of the Page.

This value can’t be changed and is assigned by the server.

Type: Int32
Required: True
Default value: None

Status

The Status describes the current status of the Page.

Possible values are: current, trashed and draft.

Type: String
Required: True
Default value: current

Title

The Name / Title of the Page.

Type: String
Required: True
Default value: None

Space

The Space in which the Page is in.

Type: ConfluencePS.Space
Required: True
Default value: None

Version

Contains the information about the latest version of the Page.

Values can be global or personal.

Type: ConfluencePS.Version
Required: True
Default value: None

Body

The Content / Body of the Page.

The content is in Confluence’s storage format, which must be a valid XHTML string.

Type: String
Required: True
Default value: null

Ancestors

Contains the hierarchy of the Page in the navigation by describing it’s ancestors / parent pages.

Type: ConfluencePS.Page
Required: False
Default value: None

URL

Contains the URL under which the Page is accessible.

Type: String
Required: True
Default value: None

ShortURL

Contains a shortened URL under which the Page is accessible.

Type: String
Required: True
Default value: None

METHODS

ToString()

The method for casting an object of this class to string is overwritten.

When cast to string, this will return [$Id] $Title.