Создать страницу
Request
POST
https://api.wiki.yandex.net/v1/pages
Query parameters
|
Name |
Description |
|
fields |
Type: string |
|
is_silent |
Type: boolean Default: |
Body
application/json
{
"page_type": "page",
"title": "string",
"cloud_page": {
"method": "empty_doc",
"doctype": "docx"
},
"content": "string",
"grid_format": "yfm"
}
|
Name |
Description |
|
page_type* |
Type: PageType An enumeration. Enum: |
|
slug* |
Type: any |
|
title* |
Type: string Min length: Max length: |
|
cloud_page |
Type: NewMs365 Требуется для создания страницы с типом
|
|
content |
Type: string |
|
grid_format |
Type: TextFormat Формат текстовых колонок в таблице Enum: |
NewMs365
|
Name |
Description |
|
doctype* |
Type: Ms365DocType An enumeration. Enum: |
|
method* |
Type: string Enum: |
ImportMs365FromLink
|
Name |
Description |
|
method* |
Type: string Enum: |
|
url* |
Type: string |
UploadMs365
|
Name |
Description |
|
method* |
Type: string Enum: |
|
mimetype* |
Type: string |
FinalizeUploadMs365
|
Name |
Description |
|
method* |
Type: string Enum: |
|
upload_session* |
Type: string |
FinalizeUploadOnprem
|
Name |
Description |
|
method* |
Type: string Enum: |
|
upload_session* |
Type: string |
Responses
200 OK
OK
Body
application/json
{}
No longer supported, please use an alternative and newer version.