Object Fields Page

We are still updating this page

Some data may be missing — we will complete it soon.

Quick navigation: all methods

Fields

Description

Read

Write

ID
unknown

Page identifier. Automatically created and unique within the database.

Yes

No

CODE*
unknown

Unique symbolic code of the page. Added to the website address if it is not the main page.

Yes

Yes

RULE
unknown

Regular expression for displaying the page by mask. For example, the rule section/([\d]+) for a page at the root of the site will match all pages of the form /section/<n>/, where is any number.

Yes

No

ACTIVE
unknown

Page activity: Y / N.

Yes

No

DELETED
unknown

Flag deleted page: Y / N.

Yes

Yes

TITLE*
unknown

Page title.

Yes

Yes

XML_ID
unknown

External key for developer needs. Not used by the service.

Yes

Yes

DESCRIPTION
unknown

Arbitrary description of the page. Displayed in the list of pages.

Yes

Yes

SITE_ID*
unknown

Identifier of the site to which the page is linked.

Yes

Yes

CREATED_BY_ID
unknown

Identifier of the user who created the page.

Yes

No

MODIFIED_BY_ID
unknown

Identifier of the user who modified the page.

Yes

No

DATE_CREATE
unknown

Creation date.

Yes

No

DATE_MODIFY
unknown

Modification date.

Yes

No

SITEMAP
unknown

The page is present in the sitemap (/sitemap.xml), Y / N.

Yes

Yes

FOLDER_ID
unknown

Identifier of the folder where the page is located.

Yes

Yes

TPL_ID
unknown

Identifier of the view template.

Yes

Yes

TPL_CODE
unknown

Identifier of the partner solution template on which the site was created. For example, bitrix.eshop.

Yes

No

Required parameters are marked with *

Overview of Methods

Working with Blocks

Method

Description

Version

landing.landing.addblock

Method for adding a new block to the page.

landing.landing.copyblock

Method for copying a block from one page to another.

landing.landing.deleteblock

Method for deleting a block from the page.

landing.landing.downblock

Method for moving a block down one position on the page.

landing.landing.favoriteBlock

Method saves an existing block on the page to "My Blocks."

21.800.0

landing.landing.hideblock

Method hides a block from the page.

landing.landing.markdeletedblock

Method marks a block as deleted but does not physically remove it.

landing.landing.markundeletedblock

Method restores a block from marked as deleted.

landing.landing.moveblock

Method for moving a block from one page to another.

landing.landing.showblock

Method shows a block on the page.

landing.landing.unFavoriteBlock

Method removes a block that was saved in "My Blocks."

21.800.0

landing.landing.upblock

Method for moving a block up one position on the page.

Working with Pages

Method

Description

Version

landing.landing.add

Method for adding a page.

landing.landing.addByTemplate

Method for adding a page by template.

landing.landing.copy

Method copies the specified page.

landing.landing.delete

Method for deleting a page.

landing.landing.getadditionalfields

Method for obtaining additional fields of the page.

landing.landing.getlist

Method for obtaining a list of pages.

landing.landing.getpreview

Method returns the path to the page preview.

landing.landing.getpublicurl

Method returns the web address of the page.

landing.landing.markDelete

Method marks the page as deleted.

landing.landing.markUnDelete

Method marks the page as not deleted.

landing.landing.move

Method moves the page to another site and/or folder.

21.800.0

landing.landing.publication

Method for publishing the page.

landing.landing.removeEntities

Method removes blocks and images from the page.

landing.landing.resolveIdByPublicUrl

Method returns the page identifier by the provided public URL.

21.800.0

landing.landing.unpublic

Method for unpublishing the page.

landing.landing.update

Method for modifying the page.

Special Pages

Method

Description

landing.syspage.deleteForLanding

Deletes all mentions of the page as special.

landing.syspage.deleteForSite

Deletes all special pages.

landing.syspage.getSpecialPage

Gets the address of the special page of the site.

landing.syspage.get

Gets a list of special pages.

landing.syspage.set

Sets a special page for the site.

Marked as deleted entities do not appear in any requests. The system does not see them. Through REST, you can only access such entities by explicitly specifying in the filter DELETED=Y.