Create a page
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/docs/{docId}/pages
Pages
请求示例请求示例
Python
Shell
JavaScript
Java
curl --location --request POST 'http://dev-cn.your-api-server.com/docs/AbCDeFGH/pages' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageContent": {
"canvasContent": {
"format": "html",
"content": "<p><b>This</b> is rich text</p>"
},
"type": "canvas"
},
"name": "Launch Status",
"subtitle": "See the status of launch-related tasks.",
"iconName": "rocket",
"imageUrl": "https://example.com/image.jpg",
"parentPageId": "canvas-tuVwxYz"
}'
响应示例响应示例
202 - 示例 1
{
"requestId": "abc-123-def-456",
"id": "canvas-tuVwxYz"
}
请求参数
Path 参数
docId
string
必需
示例值:
AbCDeFGH
Body 参数application/json
返回响应
修改于 2024-03-20 08:13:15