Appending content

Adds text at the specified location on a page. Specify exactly one field: body, section,
or anchor.

If you provide revision, the service checks the page version. A mismatch causes an update
conflict.

If the anchor is not found and anchor.fallback=true, the text is added to the end of the page. Otherwise,
an error is returned because the anchor was not found.

For common headers and authentication methods, see Access to the API. For sample scenarios, see API usage examples.

Request

POST

https://api.wiki.yandex.net/v1/pages/{idx}/append-content

Path parameters

Name

Description

idx

Type: integer

Page ID. The value of idx is the same as the id field value in the response to GET /v1/pages?slug=… or POST /v1/pages.

Query parameters

Name

Description

fields

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

Additional response fields, separated by commas, such as content,attributes,last_revision_id. If omitted, only the basic page fields are returned. The response format describes the available additional fields.

Example: ``

is_silent

Type: boolean

Do not notify subscribers when the page is updated.

Default: false

Body

application/json
{
  "revision": "example",
  "content": "example",
  "body": {
    "location": "top"
  },
  "section": {
    "id": 0,
    "location": null
  },
  "anchor": {
    "name": "example",
    "fallback": false,
    "regex": false
  }
}

Name

Description

content

Type: string

Text to add to the page

Min length: 1

Example: example

anchor

Any of 2 types
  • PageAppendContentAnchorSchema

    Type: PageAppendContentAnchorSchema

    Example
    {
      "name": "example",
      "fallback": false,
      "regex": false
    }
    
  • Type: null

    Example: null

Insert after an anchor. Specify exactly one field: body, section, or anchor.

Example
{
  "name": "example",
  "fallback": false,
  "regex": false
}

body

Any of 2 types

Insert at the beginning or end of the page. Specify exactly one of these fields: body, section, or anchor.

Example
{
  "location": "top"
}

revision

Type: string

The page version on which the change is based.

Example: example

section

Any of 2 types

Insert into a page section. Specify exactly one of these fields: body, section, or anchor.

Example
{
  "id": 0,
  "location": "top"
}

Location

An enumeration.

Type: string

Enum: top, bottom

PageAppendContentBodySchema

Name

Description

location

Type: Location

Insertion location: top for the beginning of the page, or bottom for the end

An enumeration.

Enum: top, bottom

Example
{
  "location": "top"
}

PageAppendContentSectionSchema

Name

Description

id

Type: integer

Page section ID

location

Type: Location

Insertion location: top is after the section heading, and bottom is at the end of the section

An enumeration.

Enum: top, bottom

Example
{
  "id": 0,
  "location": "top"
}

PageAppendContentAnchorSchema

Name

Description

name

Type: string

The name of the anchor after which to insert the text

Example: example

fallback

Type: boolean

If the anchor is not found, append the text to the end of the page instead of returning an error

Default: false

regex

Type: boolean

Find the anchor in the source text using a regular expression instead of parsing the markup

Default: false

Example
{
  "name": "example",
  "fallback": false,
  "regex": false
}

Responses

200 OK

OK

Body

application/json
{
  "id": 0,
  "slug": "example",
  "title": "example",
  "page_type": "page",
  "redirect": {
    "page_id": 0,
    "redirect_target": {
      "id": 0,
      "slug": "example",
      "title": "example",
      "page_type": "page"
    }
  },
  "breadcrumbs": [
    {
      "id": 0,
      "title": "example",
      "slug": "example",
      "page_exists": true
    }
  ],
  "attributes": {
    "created_at": "2025-01-01T00:00:00Z",
    "modified_at": "2025-01-01T00:00:00Z",
    "lang": "example",
    "is_readonly": true,
    "comments_count": 0,
    "entity_links_count": 0,
    "comments_enabled": true,
    "is_collaborative": true,
    "is_draft": true,
    "is_available_for_ai": true
  },
  "content": "example",
  "access_policy": {
    "access_type": "inherited",
    "inherited_access_type": "all_staff",
    "all_staff_role": "reader",
    "has_external": true,
    "invite": {
      "status": 0
    }
  },
  "access_lists": {
    "direct": [
      {
        "id": "example",
        "created_at": null,
        "user": null,
        "group": null,
        "role": "reader",
        "inheritance": null
      }
    ],
    "by_link": [
      null
    ],
    "inherited": [
      null
    ]
  },
  "owner": {
    "user": {
      "id": 0,
      "identity": null,
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    },
    "group": {
      "id": null,
      "identity": {},
      "name": "example",
      "type": "wiki",
      "metadata": null,
      "members_count": 0
    }
  },
  "last_revision_id": 0,
  "actuality": {
    "status": "possibly_obsolete",
    "marked_at": "2025-01-01T00:00:00Z",
    "user": null,
    "comment": "example",
    "external_links": [
      "example"
    ],
    "actual_pages": [
      null
    ]
  },
  "active_revision": {
    "id": 0,
    "author": null,
    "created_at": "2025-01-01T00:00:00Z",
    "page_type": null,
    "revision_draft": {
      "id": 0,
      "created_at": "2025-01-01T00:00:00Z",
      "modified_at": "2025-01-01T00:00:00Z"
    },
    "publication": {
      "status": "pending_publication"
    }
  }
}

Name

Description

id

Type: integer

Page ID. In /v1/pages/{idx} methods, the value of idx is the value of this field.

page_type

Type: string

Page type

Enum: page, grid, wysiwyg, template

slug

Type: string

Page address relative to the Wiki root, such as team/project. Use this value as the slug parameter when retrieving a page by address.

Example: example

title

Type: string

Page title

Example: example

access_lists

Any of 2 types
  • PageAccessListsSchema

    Type: PageAccessListsSchema

    Page access lists

    Example
    {
      "direct": [
        {
          "id": "example",
          "created_at": "2025-01-01T00:00:00Z",
          "user": {
            "id": 0,
            "identity": null,
            "username": "example",
            "display_name": "example",
            "is_dismissed": true,
            "affiliation": "example"
          },
          "group": {
            "id": null,
            "identity": {},
            "name": "example",
            "type": "wiki",
            "metadata": null,
            "members_count": 0
          },
          "role": "reader",
          "inheritance": "inherited"
        }
      ],
      "by_link": [
        null
      ],
      "inherited": [
        null
      ]
    }
    
  • Type: null

    Example: null

This field is not returned by default

Include access_lists in the ?fields=access_lists, ... list to get it in the response.

Page access lists

Example
{
  "direct": [
    {
      "id": "example",
      "created_at": "2025-01-01T00:00:00Z",
      "user": {},
      "group": {},
      "role": "reader",
      "inheritance": "inherited"
    }
  ],
  "by_link": [
    null
  ],
  "inherited": [
    null
  ]
}

access_policy

Any of 2 types
  • PageAccessPolicySchema

    Type: PageAccessPolicySchema

    Page access policy

    Example
    {
      "access_type": "inherited",
      "inherited_access_type": "all_staff",
      "all_staff_role": "reader",
      "has_external": true,
      "invite": {
        "status": 0
      }
    }
    
  • Type: null

    Example: null

This field is not returned by default

Include access_policy in the ?fields=access_policy, ... list to get it in the response.

Page access settings

Example
{
  "access_type": "inherited",
  "inherited_access_type": "all_staff",
  "all_staff_role": "reader",
  "has_external": true,
  "invite": {
    "status": 0
  }
}

active_revision

Any of 2 types
  • PageRevisionSchema

    Type: PageRevisionSchema

    Page revision details.

    Example
    {
      "id": 0,
      "author": {
        "id": 0,
        "identity": {
          "uid": "example",
          "cloud_uid": "example"
        },
        "username": "example",
        "display_name": "example",
        "is_dismissed": true,
        "affiliation": "example"
      },
      "created_at": "2025-01-01T00:00:00Z",
      "page_type": "page",
      "revision_draft": {
        "id": 0,
        "created_at": "2025-01-01T00:00:00Z",
        "modified_at": "2025-01-01T00:00:00Z"
      },
      "publication": {
        "status": "pending_publication"
      }
    }
    
  • Type: null

    Example: null

If you request an earlier page revision, this field contains information about that revision.

Example
{
  "id": 0,
  "author": {
    "id": 0,
    "identity": {
      "uid": null,
      "cloud_uid": null
    },
    "username": "example",
    "display_name": "example",
    "is_dismissed": true,
    "affiliation": "example"
  },
  "created_at": "2025-01-01T00:00:00Z",
  "page_type": "page",
  "revision_draft": {
    "id": 0,
    "created_at": "2025-01-01T00:00:00Z",
    "modified_at": "2025-01-01T00:00:00Z"
  },
  "publication": {
    "status": "pending_publication"
  }
}

actuality

Any of 2 types
  • ActualitySchema

    Type: ActualitySchema

    Example
    {
      "status": "possibly_obsolete",
      "marked_at": "2025-01-01T00:00:00Z",
      "user": {
        "id": 0,
        "identity": {
          "uid": null,
          "cloud_uid": null
        },
        "username": "example",
        "display_name": "example",
        "is_dismissed": true,
        "affiliation": "example"
      },
      "comment": "example",
      "external_links": [
        "example"
      ],
      "actual_pages": [
        {
          "id": 0,
          "slug": "example",
          "title": "example",
          "page_type": "page"
        }
      ]
    }
    
  • Type: null

    Example: null

This field is not returned by default

Include actuality in ?fields=actuality, ... to return it in the response.

Example
{
  "status": "possibly_obsolete",
  "marked_at": "2025-01-01T00:00:00Z",
  "user": {
    "id": 0,
    "identity": {},
    "username": "example",
    "display_name": "example",
    "is_dismissed": true,
    "affiliation": "example"
  },
  "comment": "example",
  "external_links": [
    "example"
  ],
  "actual_pages": [
    {
      "id": 0,
      "slug": "example",
      "title": "example",
      "page_type": "page"
    }
  ]
}

attributes

Any of 2 types
  • PageAttributesSchema

    Type: PageAttributesSchema

    Additional page attributes

    Example
    {
      "created_at": "2025-01-01T00:00:00Z",
      "modified_at": "2025-01-01T00:00:00Z",
      "lang": "example",
      "is_readonly": true,
      "comments_count": 0,
      "entity_links_count": 0,
      "comments_enabled": true,
      "is_collaborative": true,
      "is_draft": true,
      "is_available_for_ai": true
    }
    
  • Type: null

    Example: null

This field is not returned by default

Include attributes in ?fields=attributes, ... to return it in the response.

Example
{
  "created_at": "2025-01-01T00:00:00Z",
  "modified_at": "2025-01-01T00:00:00Z",
  "lang": "example",
  "is_readonly": true,
  "comments_count": 0,
  "entity_links_count": 0,
  "comments_enabled": true,
  "is_collaborative": true,
  "is_draft": true,
  "is_available_for_ai": true
}

breadcrumbs

Any of 2 types
  • Type: BreadcrumbSchema[]

    Example
    [
      {
        "id": 0,
        "title": "example",
        "slug": "example",
        "page_exists": true
      }
    ]
    
  • Type: null

    Example: null

This field is not returned by default

To include it in the response, add breadcrumbs to the ?fields=breadcrumbs, ... list.

Example
[
  {
    "id": 0,
    "title": "example",
    "slug": "example",
    "page_exists": true
  }
]

content

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

This field is not returned by default

Include content in the ?fields=content, ... list to return it in the response.

Page content as a string.

Example: example

last_revision_id

Any of 2 types
  • Type: integer

  • Type: null

    Example: null

This field is not returned by default

Include last_revision_id in ?fields=last_revision_id, ... to return it in the response.

Example: 0

owner

Any of 2 types
  • PageOwnerSchema

    Type: PageOwnerSchema

    Page owner

    Example
    {
      "user": {
        "id": 0,
        "identity": {
          "uid": null,
          "cloud_uid": null
        },
        "username": "example",
        "display_name": "example",
        "is_dismissed": true,
        "affiliation": "example"
      },
      "group": {
        "id": "example",
        "identity": {
          "src": "dir",
          "id": "example"
        },
        "name": "example",
        "type": "wiki",
        "metadata": {
          "url": null,
          "externals_count": null
        },
        "members_count": 0
      }
    }
    
  • Type: null

    Example: null

This field is not returned by default

Include owner in the ?fields=owner, ... list to get it in the response.

Page owner

Example
{
  "user": {
    "id": 0,
    "identity": {},
    "username": "example",
    "display_name": "example",
    "is_dismissed": true,
    "affiliation": "example"
  },
  "group": {
    "id": "example",
    "identity": {
      "src": "dir",
      "id": "example"
    },
    "name": "example",
    "type": "wiki",
    "metadata": {},
    "members_count": 0
  }
}

redirect

Any of 2 types
  • RedirectSchema

    Type: RedirectSchema

    Page redirect information

    Example
    {
      "page_id": 0,
      "redirect_target": {
        "id": 0,
        "slug": "example",
        "title": "example",
        "page_type": "page"
      }
    }
    
  • Type: null

    Example: null

This field is not returned by default

To include it in the response, add redirect to the ?fields=redirect, ... list.

Returns null if there is no redirect.

Example
{
  "page_id": 0,
  "redirect_target": {
    "id": 0,
    "slug": "example",
    "title": "example",
    "page_type": "page"
  }
}

PageType

Page type.

Type: string

Enum: page, grid, cloud_page, wysiwyg, template

PageDetailsSchema

Brief page information

Name

Description

id

Type: integer

Page ID. In /v1/pages/{idx} methods, the value of idx is the value of this field.

page_type

Type: PageType

Page type

Page type.

Enum: page, grid, cloud_page, wysiwyg, template

slug

Type: string

Page address relative to the Wiki root, such as team/project. Use this value as the slug parameter when retrieving a page by address.

Example: example

title

Type: string

Page title

Example: example

Example
{
  "id": 0,
  "slug": "example",
  "title": "example",
  "page_type": "page"
}

RedirectSchema

Page redirect information

Name

Description

page_id

Any of 2 types
  • Type: integer

  • Type: null

    Example: null

ID of the page that the current page redirects to.

Example: 0

redirect_target

Any of 2 types
  • PageDetailsSchema

    Type: PageDetailsSchema

    Brief page information

    Example
    {
      "id": 0,
      "slug": "example",
      "title": "example",
      "page_type": "page"
    }
    
  • Type: null

    Example: null

The final page in the redirect chain. For example, in the chain A → B → C → D, this is page D for pages A, B, and C.

Example
{
  "id": 0,
  "slug": "example",
  "title": "example",
  "page_type": "page"
}
Example
{
  "page_id": 0,
  "redirect_target": {
    "id": 0,
    "slug": "example",
    "title": "example",
    "page_type": "page"
  }
}

BreadcrumbSchema

Breadcrumb item (navigation chain)

Name

Description

page_exists

Type: boolean

The page exists

slug

Type: string

Page address (slug)

Example: example

title

Type: string

Page title

Example: example

id

Any of 2 types
  • Type: integer

  • Type: null

    Example: null

Page ID (if the page exists)

Example: 0

Example
{
  "id": 0,
  "title": "example",
  "slug": "example",
  "page_exists": true
}

PageAttributesSchema

Additional page attributes

Name

Description

comments_count

Type: integer

Number of comments on the page

comments_enabled

Type: boolean

Comments are enabled

created_at

Type: string<date-time>

Date and time the page was created

Example: 2025-01-01T00:00:00Z

entity_links_count

Type: integer

Number of links on the page

is_available_for_ai

Type: boolean

is_readonly

Type: boolean

The page is read-only

lang

Type: string

Page language (for example, ru, en)

Example: example

modified_at

Type: string<date-time>

Date and time the page was last modified

Example: 2025-01-01T00:00:00Z

is_collaborative

Any of 2 types
  • Type: boolean

  • Type: null

    Example: null

Collaborative editing is enabled

Example: true

is_draft

Any of 2 types
  • Type: boolean

  • Type: null

    Example: null

The page is a draft

Example: true

Example
{
  "created_at": "2025-01-01T00:00:00Z",
  "modified_at": "2025-01-01T00:00:00Z",
  "lang": "example",
  "is_readonly": true,
  "comments_count": 0,
  "entity_links_count": 0,
  "comments_enabled": true,
  "is_collaborative": true,
  "is_draft": true,
  "is_available_for_ai": true
}

PageAccessTypeAPI

Page access type:

  • inherited: Access is inherited from the parent page.
  • all_staff: Access for all employees.
  • custom: Personal access permissions.

Type: string

Enum: inherited, all_staff, custom

AccessTypeInheritedAPI

Inherited access type:

  • all_staff: Access for all employees.
  • custom: Personal access permissions.

Type: string

Enum: all_staff, custom

RoleAllStaffAPI

  • reader: Read.
  • editor: Edit.
  • extra_editor: Extended editing.

Type: string

Enum: reader, editor, extra_editor

PageInviteStatus

Invite link status:

  • 0: Deleted.
  • 1: Enabled.
  • 2: Disabled.

Type: integer

Enum: 0, 1, 2

AclPreviewInviteSchema

Information about the invite link for page access

Name

Description

status

Type: PageInviteStatus

Invite link status: 0 means deleted (not returned by the API), 1 means enabled, and 2 means disabled.

Invite link status:

  • 0: Deleted.
  • 1: Enabled.
  • 2: Disabled.

Enum: 0, 1, 2

Example: 0

Example
{
  "status": 0
}

PageAccessPolicySchema

Page access policy

Name

Description

access_type

Type: PageAccessTypeAPI

Access type

Page access type:

  • inherited: Access is inherited from the parent page.
  • all_staff: Access for all employees.
  • custom: Personal access permissions.

Enum: inherited, all_staff, custom

all_staff_role

Any of 2 types
  • RoleAllStaffAPI

    Type: RoleAllStaffAPI

    • reader: Read.
    • editor: Edit.
    • extra_editor: Extended editing.

    Enum: reader, editor, extra_editor

  • Type: null

    Example: null

Role for "All employees" access

Example: reader

has_external

Any of 2 types
  • Type: boolean

  • Type: null

    Example: null

Indicates whether the page is accessible to external consultants. If null, the status is unknown.

Example: true

inherited_access_type

Any of 2 types
  • AccessTypeInheritedAPI

    Type: AccessTypeInheritedAPI

    Inherited access type:

    • all_staff: Access for all employees.
    • custom: Personal access permissions.

    Enum: all_staff, custom

  • Type: null

    Example: null

Inherited access type

Example: all_staff

invite

Any of 2 types
  • AclPreviewInviteSchema

    Type: AclPreviewInviteSchema

    Information about the invite link for page access

    Example
    {
      "status": 0
    }
    
  • Type: null

    Example: null

Information about the invite link for page access

Example
{
  "status": 0
}
Example
{
  "access_type": "inherited",
  "inherited_access_type": "all_staff",
  "all_staff_role": "reader",
  "has_external": true,
  "invite": {
    "status": 0
  }
}

UserIdentity

User ID

Name

Description

cloud_uid

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

User identifier in the cloud

Example: example

uid

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

Yandex user ID

Example: example

Example
{
  "uid": "example",
  "cloud_uid": "example"
}

UserSchema

User information

Name

Description

affiliation

Type: string

User affiliation

Example: example

display_name

Type: string

User display name

Example: example

id

Type: integer

Internal user identifier

is_dismissed

Type: boolean

The user is dismissed

username

Type: string

User login

Example: example

identity

Any of 2 types
  • UserIdentity

    Type: UserIdentity

    User ID

    Example
    {
      "uid": "example",
      "cloud_uid": "example"
    }
    
  • Type: null

    Example: null

User identifier in the system

Example
{
  "uid": "example",
  "cloud_uid": "example"
}
Example
{
  "id": 0,
  "identity": {
    "uid": "example",
    "cloud_uid": "example"
  },
  "username": "example",
  "display_name": "example",
  "is_dismissed": true,
  "affiliation": "example"
}

ComSource

Source of the group ID:

  • dir: IAM.
  • cloud: Yandex Cloud.
  • com: Local database.
  • staff: Internal employee directory.

Type: string

Enum: dir, cloud, com, staff

ComIdentitySchema

Group identifier

Name

Description

id

Type: string

Group identifier in the specified source

Example: example

src

Type: ComSource

Identifier source

Source of the group ID:

  • dir: IAM.
  • cloud: Yandex Cloud.
  • com: Local database.
  • staff: Internal employee directory.

Enum: dir, cloud, com, staff

Example
{
  "src": "dir",
  "id": "example"
}

GroupType

Group type:

  • wiki: Wiki group.
  • service: Service group.
  • servicerole: Service role.
  • group: Regular group.
  • department: Department.

Type: string

Enum: wiki, service, servicerole, group, department

IntranetGroupMetadata

Group metadata from the internal directory

Name

Description

externals_count

Any of 2 types
  • Type: integer

  • Type: null

    Example: null

Number of external consultants in the group

Example: 0

url

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

Group URL in the directory

Example: example

Example
{
  "url": "example",
  "externals_count": 0
}

IamGroupMetadata

Group metadata from IAM (Identity and Access Management)

Name

Description

dir_id

Type: string

Directory identifier

Example: example

Example
{
  "dir_id": "example"
}

GroupSchema

Group information

Name

Description

identity

Type: ComIdentitySchema

Group identifier in the system

Group identifier

Example
{
  "src": "dir",
  "id": "example"
}

name

Type: string

Group name

Example: example

type

Type: GroupType

Group type

Group type:

  • wiki: Wiki group.
  • service: Service group.
  • servicerole: Service role.
  • group: Regular group.
  • department: Department.

Enum: wiki, service, servicerole, group, department

id

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

Group ID. Uses dir_id in the external version and staff_id in the internal version.

Example: example

members_count

Type: integer

Number of group members

Default: 0

metadata

Any of 3 types
  • IntranetGroupMetadata

    Type: IntranetGroupMetadata

    Group metadata from the internal directory

    Example
    {
      "url": "example",
      "externals_count": 0
    }
    
  • IamGroupMetadata

    Type: IamGroupMetadata

    Group metadata from IAM (Identity and Access Management)

    Example
    {
      "dir_id": "example"
    }
    
  • Type: null

    Example: null

Additional group metadata

Example
{
  "url": "example",
  "externals_count": 0
}
Example
{
  "id": "example",
  "identity": {
    "src": "dir",
    "id": "example"
  },
  "name": "example",
  "type": "wiki",
  "metadata": {
    "url": "example",
    "externals_count": 0
  },
  "members_count": 0
}

RoleAPI

Page access role:

  • reader: Read.
  • editor: Edit.
  • extra_editor: Extended editing.
  • author: Author (full access).

Type: string

Enum: reader, editor, extra_editor, author

InheritanceAPI

Access inheritance for subpages:

  • inherited: Subpages inherit the access permission.
  • not_inherited: Subpages do not inherit the access permission.

Type: string

Enum: inherited, not_inherited

PageAccessItem

Custom page access item

Name

Description

id

Type: string

Unique access identifier

Example: example

role

Type: RoleAPI

Access role

Page access role:

  • reader: Read.
  • editor: Edit.
  • extra_editor: Extended editing.
  • author: Author (full access).

Enum: reader, editor, extra_editor, author

created_at

Any of 2 types
  • Type: string<date-time>

    Example: 2025-01-01T00:00:00Z

  • Type: null

    Example: null

Date and time the access was created

Example: 2025-01-01T00:00:00Z

group

Any of 2 types
  • GroupSchema

    Type: GroupSchema

    Group information

    Example
    {
      "id": "example",
      "identity": {
        "src": "dir",
        "id": "example"
      },
      "name": "example",
      "type": "wiki",
      "metadata": {
        "url": "example",
        "externals_count": 0
      },
      "members_count": 0
    }
    
  • Type: null

    Example: null

Group granted access (populated if access was granted to a group)

Example
{
  "id": "example",
  "identity": {
    "src": "dir",
    "id": "example"
  },
  "name": "example",
  "type": "wiki",
  "metadata": {
    "url": "example",
    "externals_count": 0
  },
  "members_count": 0
}

inheritance

Any of 2 types
  • InheritanceAPI

    Type: InheritanceAPI

    Access inheritance for subpages:

    • inherited: Subpages inherit the access permission.
    • not_inherited: Subpages do not inherit the access permission.

    Enum: inherited, not_inherited

  • Type: null

    Example: null

Access inheritance setting for subpages

Example: inherited

user

Any of 2 types
  • UserSchema

    Type: UserSchema

    User information

    Example
    {
      "id": 0,
      "identity": {
        "uid": "example",
        "cloud_uid": "example"
      },
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    }
    
  • Type: null

    Example: null

User granted access (populated if access was granted to a user)

Example
{
  "id": 0,
  "identity": {
    "uid": "example",
    "cloud_uid": "example"
  },
  "username": "example",
  "display_name": "example",
  "is_dismissed": true,
  "affiliation": "example"
}
Example
{
  "id": "example",
  "created_at": "2025-01-01T00:00:00Z",
  "user": {
    "id": 0,
    "identity": {
      "uid": null,
      "cloud_uid": null
    },
    "username": "example",
    "display_name": "example",
    "is_dismissed": true,
    "affiliation": "example"
  },
  "group": {
    "id": "example",
    "identity": {
      "src": "dir",
      "id": "example"
    },
    "name": "example",
    "type": "wiki",
    "metadata": {
      "url": null,
      "externals_count": null
    },
    "members_count": 0
  },
  "role": "reader",
  "inheritance": "inherited"
}

PageAccessListsSchema

Page access lists

Name

Description

by_link

Type: PageAccessItem[]

Access via invite link

Example
[
  {
    "id": "example",
    "created_at": "2025-01-01T00:00:00Z",
    "user": {
      "id": 0,
      "identity": {},
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    },
    "group": {
      "id": "example",
      "identity": {
        "src": "dir",
        "id": "example"
      },
      "name": "example",
      "type": "wiki",
      "metadata": {},
      "members_count": 0
    },
    "role": "reader",
    "inheritance": "inherited"
  }
]

direct

Type: PageAccessItem[]

Direct custom access to the page

Example
[
  {
    "id": "example",
    "created_at": "2025-01-01T00:00:00Z",
    "user": {
      "id": 0,
      "identity": {},
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    },
    "group": {
      "id": "example",
      "identity": {
        "src": "dir",
        "id": "example"
      },
      "name": "example",
      "type": "wiki",
      "metadata": {},
      "members_count": 0
    },
    "role": "reader",
    "inheritance": "inherited"
  }
]

inherited

Type: PageAccessItem[]

Access inherited from parent pages

Example
[
  {
    "id": "example",
    "created_at": "2025-01-01T00:00:00Z",
    "user": {
      "id": 0,
      "identity": {},
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    },
    "group": {
      "id": "example",
      "identity": {
        "src": "dir",
        "id": "example"
      },
      "name": "example",
      "type": "wiki",
      "metadata": {},
      "members_count": 0
    },
    "role": "reader",
    "inheritance": "inherited"
  }
]
Example
{
  "direct": [
    {
      "id": "example",
      "created_at": "2025-01-01T00:00:00Z",
      "user": {
        "id": 0,
        "identity": null,
        "username": "example",
        "display_name": "example",
        "is_dismissed": true,
        "affiliation": "example"
      },
      "group": {
        "id": null,
        "identity": {},
        "name": "example",
        "type": "wiki",
        "metadata": null,
        "members_count": 0
      },
      "role": "reader",
      "inheritance": "inherited"
    }
  ],
  "by_link": [
    null
  ],
  "inherited": [
    null
  ]
}

PageOwnerSchema

Page owner

Name

Description

group

Any of 2 types
  • GroupSchema

    Type: GroupSchema

    Group information

    Example
    {
      "id": "example",
      "identity": {
        "src": "dir",
        "id": "example"
      },
      "name": "example",
      "type": "wiki",
      "metadata": {
        "url": "example",
        "externals_count": 0
      },
      "members_count": 0
    }
    
  • Type: null

    Example: null

Group that owns the page

Example
{
  "id": "example",
  "identity": {
    "src": "dir",
    "id": "example"
  },
  "name": "example",
  "type": "wiki",
  "metadata": {
    "url": "example",
    "externals_count": 0
  },
  "members_count": 0
}

user

Any of 2 types
  • UserSchema

    Type: UserSchema

    User information

    Example
    {
      "id": 0,
      "identity": {
        "uid": "example",
        "cloud_uid": "example"
      },
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    }
    
  • Type: null

    Example: null

User who owns the page

Example
{
  "id": 0,
  "identity": {
    "uid": "example",
    "cloud_uid": "example"
  },
  "username": "example",
  "display_name": "example",
  "is_dismissed": true,
  "affiliation": "example"
}
Example
{
  "user": {
    "id": 0,
    "identity": {
      "uid": null,
      "cloud_uid": null
    },
    "username": "example",
    "display_name": "example",
    "is_dismissed": true,
    "affiliation": "example"
  },
  "group": {
    "id": "example",
    "identity": {
      "src": "dir",
      "id": "example"
    },
    "name": "example",
    "type": "wiki",
    "metadata": {
      "url": null,
      "externals_count": null
    },
    "members_count": 0
  }
}

ActualityStatus

Type: string

Enum: possibly_obsolete, unspecified, actual, obsolete

ActualitySchema

Name

Description

status

Type: ActualityStatus

Enum: possibly_obsolete, unspecified, actual, obsolete

actual_pages

Any of 2 types
  • Type: PageDetailsSchema[]

    Example
    [
      {
        "id": 0,
        "slug": "example",
        "title": "example",
        "page_type": "page"
      }
    ]
    
  • Type: null

    Example: null

Example
[
  {
    "id": 0,
    "slug": "example",
    "title": "example",
    "page_type": "page"
  }
]

comment

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

Example: example

external_links

Any of 2 types
  • Type: string[]

    Example
    [
      "example"
    ]
    
  • Type: null

    Example: null

Example
[
  "example"
]

marked_at

Any of 2 types
  • Type: string<date-time>

    Example: 2025-01-01T00:00:00Z

  • Type: null

    Example: null

Example: 2025-01-01T00:00:00Z

user

Any of 2 types
  • UserSchema

    Type: UserSchema

    User information

    Example
    {
      "id": 0,
      "identity": {
        "uid": "example",
        "cloud_uid": "example"
      },
      "username": "example",
      "display_name": "example",
      "is_dismissed": true,
      "affiliation": "example"
    }
    
  • Type: null

    Example: null

Example
{
  "id": 0,
  "identity": {
    "uid": "example",
    "cloud_uid": "example"
  },
  "username": "example",
  "display_name": "example",
  "is_dismissed": true,
  "affiliation": "example"
}
Example
{
  "status": "possibly_obsolete",
  "marked_at": "2025-01-01T00:00:00Z",
  "user": {
    "id": 0,
    "identity": {
      "uid": null,
      "cloud_uid": null
    },
    "username": "example",
    "display_name": "example",
    "is_dismissed": true,
    "affiliation": "example"
  },
  "comment": "example",
  "external_links": [
    "example"
  ],
  "actual_pages": [
    {
      "id": 0,
      "slug": "example",
      "title": "example",
      "page_type": "page"
    }
  ]
}

RevisionDraftInfo

Page revision draft details.

Name

Description

created_at

Type: string<date-time>

Date and time when the draft was created.

Example: 2025-01-01T00:00:00Z

id

Type: integer

Page revision draft ID.

modified_at

Type: string<date-time>

Date and time when the draft was last modified.

Example: 2025-01-01T00:00:00Z

Example
{
  "id": 0,
  "created_at": "2025-01-01T00:00:00Z",
  "modified_at": "2025-01-01T00:00:00Z"
}

PublicPageRevisionStatusSchema

Type: string

Enum: pending_publication, published

PublicPageRevisionShortSchema

Page revision publication details.

Name

Description

status

Type: PublicPageRevisionStatusSchema

Publication status of the page revision.

Enum: pending_publication, published

Example
{
  "status": "pending_publication"
}

PageRevisionSchema

Page revision details.

Name

Description

author

Type: UserSchema

Page revision author.

User information

Example
{
  "id": 0,
  "identity": {
    "uid": "example",
    "cloud_uid": "example"
  },
  "username": "example",
  "display_name": "example",
  "is_dismissed": true,
  "affiliation": "example"
}

created_at

Type: string<date-time>

Date and time when the page revision was created.

Example: 2025-01-01T00:00:00Z

id

Type: integer

Page revision ID.

page_type

Type: PageType

Page type.

Enum: page, grid, cloud_page, wysiwyg, template

publication

Any of 2 types
  • PublicPageRevisionShortSchema

    Type: PublicPageRevisionShortSchema

    Page revision publication details.

    Example
    {
      "status": "pending_publication"
    }
    
  • Type: null

    Example: null

Publication state of the page revision.

Example
{
  "status": "pending_publication"
}

revision_draft

Any of 2 types
  • RevisionDraftInfo

    Type: RevisionDraftInfo

    Page revision draft details.

    Example
    {
      "id": 0,
      "created_at": "2025-01-01T00:00:00Z",
      "modified_at": "2025-01-01T00:00:00Z"
    }
    
  • Type: null

    Example: null

Page revision draft details.

Example
{
  "id": 0,
  "created_at": "2025-01-01T00:00:00Z",
  "modified_at": "2025-01-01T00:00:00Z"
}
Example
{
  "id": 0,
  "author": {
    "id": 0,
    "identity": {
      "uid": "example",
      "cloud_uid": "example"
    },
    "username": "example",
    "display_name": "example",
    "is_dismissed": true,
    "affiliation": "example"
  },
  "created_at": "2025-01-01T00:00:00Z",
  "page_type": "page",
  "revision_draft": {
    "id": 0,
    "created_at": "2025-01-01T00:00:00Z",
    "modified_at": "2025-01-01T00:00:00Z"
  },
  "publication": {
    "status": "pending_publication"
  }
}