The Pages API provides a functionality for managing site pages.
pages/
RESOURCE_URI
— URI is obtained from token exchange point.
TARGET_RESOURCE_URI
— URI is obtained from the "sites/" or the "contacts/" endpoint.
Prefix | Endpoint | Description |
---|---|---|
RESOURCE_URI | pages/ | Getting a list of pages |
RESOURCE_URI | pages/add/ | Adding a page |
RESOURCE_URI | pages/ID | Retrieving page details |
RESOURCE_URI | pages/ID/edit/ | Editing a page |
RESOURCE_URI | pages/ID/delete/ | Deleting a page |
pages/
pages/ID
pages/add/
pages/ID/edit/
pages/ID/delete/
Name | Description |
---|---|
limit (o) |
Number of items expected in response. |
cursor (o) |
The value of the |
fields (o) |
@PagesItemFields |
Name | Description |
---|---|
items[] |
|
limit |
Number of returned items (items per page). |
next_cursor |
URL for the next portion of items (next page). |
prev_cursor |
URL for the previous portion of items (previous page). |
total_count |
Total number of items. |
Name | Description |
---|---|
fields (o) |
@PagesItemFields |
Name | Description |
---|---|
id |
Page ID. |
author_uid |
ID of the user who added the page. |
publish_time |
Publish time. |
title |
Page title. |
message ? |
HTML formatted page content. |
access ? |
|
can_comment ? |
|
can_edit ? |
|
comments_count ? |
Total number of comments for the page. |
attachments ? |
Name | Description |
---|---|
mode |
Possible values:
|
member_groups |
Bitmask with member groups IDs |