Skip to main content

Get page detail by page ID

GET 

/wiki/pages/:pageID

History

VersionChanges
v6.2.16Added in: v6.2.16
v6.12.0Detailed distinction between refType in response,add locked property

Get page detail by page ID.

Request

Path Parameters

    pageID stringrequired

    The page ID

Query Parameters

    teamID stringrequired

    The team ID

    requestUserID string

    User ID, this parameter can only be passed when calling as an Oauth bot. It is used to perform operations as the specified user

Responses

Request is successful.

Schema

    data

    object

    id string

    The page ID

    title string

    The page title

    spaceID string

    The space ID

    createdTime integer

    The createdTime of page

    updatedTime integer

    The updatedTime of page

    parentID string

    The parent page ID

    refType string

    The reference type

    refID string

    The reference ID

    subRefType string

    The sub reference type

    isArchived boolean

    Whether the page is archived

    encryptStatus string

    Encrypt status, none: not encrypted, encrypted: encrypted, readonly: readonly

    canEdit boolean

    Whether the page is editable

    locked boolean

    Whether the page is locked

    creatorID string

    The creator ID.

    modifierID string

    The modifier ID.

    content string

    The content of page

    isFavorite boolean

    Favorite status

    token string

    The token of page, only collaboration page has the property.It is used to connect to edit server

    result string

    The result of this request.

    errorCode string

    The error code of this request.

    errorMsg string

    Error message for this request.

    errorData object

    Error meta data for this request.

Loading...