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
GET
https://enterprise-api.writer.com/cowrite/organization/{organizationId}/team/{teamId}/template/{templateId}
当您位于特定自定义模板的页面上时,可以在 Writer Web App 的 URL 中找到您的组织、团队和模板 ID。
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://enterprise-api.writer.com/cowrite/organization//team//template/' \
--header 'Authorization;'
响应示例响应示例
200 - 成功示例
{
  "id": "string",
  "name": "string",
  "description": "string",
  "categoryId": 0,
  "inputs": [
    {
      "name": "string",
      "type": "textbox",
      "help": "string",
      "subtitle": "string",
      "required": true,
      "options": [
        "string"
      ],
      "dynamic": true,
      "minFields": 0,
      "maxFields": 0,
      "unitCopy": "string"
    }
  ],
  "guideUrl": "string",
  "creationTime": "2024-02-01T06:08:07.362Z",
  "modificationTime": "2024-02-01T06:08:07.362Z"
}

请求参数

Path 参数
organizationId
string 
必需
teamId
string 
必需
templateId
string 
必需
Header 参数
Authorization
string 
必需

返回响应

🟢200成功
application/json
Body
id
string 
必需
name
string 
必需
description
string 
必需
categoryId
integer 
必需
inputs
array [object {10}] 
必需
name
string 
可选
type
string 
可选
help
string 
可选
subtitle
string 
可选
required
boolean 
可选
options
array[string]
可选
dynamic
boolean 
可选
minFields
integer 
可选
maxFields
integer 
可选
unitCopy
string 
可选
guideUrl
string 
必需
creationTime
string 
必需
modificationTime
string 
必需
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
🔴500服务器错误
上一页
删除片段
下一页
使用预定义的应用程序/模板生成内容
Built with