Writer
  1. 作家应用程序/模板
Writer
  • 内容
    • 根据预设的样式指南检查您的内容
      POST
    • 将样式指南建议直接应用于您的内容
      POST
    • 检测内容是否是人工智能生成的
      POST
  • 术语
    • 查找术语
      GET
    • 更新条款
      PUT
    • 添加条款
      POST
    • 删除条款
      DELETE
  • 片段
    • 查找片段
      GET
    • 更新片段
      PUT
    • 删除片段
      DELETE
  • 作家应用程序/模板
    • 获取自定义应用程序/模板的输入
      GET
    • 使用预定义的应用程序/模板生成内容
      POST
  • 计费
    • 获取您的组织订阅详细信息
      GET
  • 用户
    • 列出用户
      GET
  • 风格指南
    • 列出您的样式指南页面
      GET
    • 页面详情
      GET
  • LLM
    • 列出可用的 LLM 模型
      GET
    • 为 LLM 模型创建完成
      POST
    • 使用 SSE 流为 LLM 模型创建补全
      POST
    • 使用经过训练的提示标记获取自定义模型文件
      GET
    • 列出文件
      GET
    • 上传文件
      GET
    • 获取文件
      GET
    • 删除文件
      DELETE
    • 列出模型定制
      GET
    • 创建模型定制
      POST
    • 获取模型定制
      GET
    • 删除模型定制
      DELETE
    • 创建LLM定制模型的完成
      POST
  1. 作家应用程序/模板

使用预定义的应用程序/模板生成内容

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
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

返回响应

🟢200成功
application/json
Body
id
integer 
必需
organizationId
integer 
必需
teamId
integer 
必需
documentId
string 
必需
templateId
string 
必需
body
string 
必需
title
string 
必需
deleted
boolean 
必需
createdUserId
integer 
必需
creationTime
string 
必需
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
🔴500服务器错误
上一页
获取自定义应用程序/模板的输入
下一页
获取您的组织订阅详细信息
Built with