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
PUT
https://enterprise-api.writer.com/snippet/organization/{organizationId}/team/{teamId}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://enterprise-api.writer.com/snippet/organization//team/' \
--header 'content-type: application/json' \
--data-raw ''
响应示例响应示例
200 - 成功示例
[
  {
    "id": "string",
    "snippet": "string",
    "shortcut": "string",
    "description": "string",
    "creationTime": "2024-02-01T06:08:07.362Z",
    "modificationTime": "2024-02-01T06:08:07.362Z",
    "createdUser": {
      "id": 0,
      "fullName": "string",
      "email": "string"
    },
    "modifiedUser": {
      "id": 0,
      "fullName": "string",
      "email": "string"
    },
    "tags": [
      {
        "tag": "string"
      }
    ]
  }
]

请求参数

Path 参数

Header 参数

返回响应

🟢200成功
application/json
Body

🟠400请求有误
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
🔴500服务器错误
修改于 2024-02-01 06:58:20
上一页
查找片段
下一页
删除片段
Built with