使用预定义的应用程序/模板生成内容
开发环境
开发环境
POST
https://enterprise-api.writer.com/cowrite/organization/{organizationId}/team/{teamId}/generate
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://enterprise-api.writer.com/cowrite/organization//team//generate' \
--header 'content-type: application/json' \
--data-raw ''
响应示例响应示例
200 - 成功示例
{
"id": 0,
"organizationId": 0,
"teamId": 0,
"documentId": "string",
"templateId": "string",
"body": "string",
"title": "string",
"deleted": true,
"createdUserId": 0,
"creationTime": "2024-02-01T06:08:07.362Z"
}
请求参数
Path 参数
organizationId
string
必需
teamId
string
必需
Header 参数
content-type
string
必需
示例值:
application/json
返回响应
修改于 2024-02-01 07:08:19