Dezgo
    • 简介
    • 创建预签名上传 URL
      POST
    • 上传文件
      PUT
    • 创建预签名下载 URL
      GET
    • 下载文件
      GET
    • 创建资产
      POST
    • 通过 Id 获取资产
      GET
    • 创建主干任务
      POST
    • 通过Id获取任务
      POST

      通过 Id 获取资产

      开发环境
      http://dev-cn.your-api-server.com
      开发环境
      http://dev-cn.your-api-server.com
      GET
      /assets/{_id}
      Get Asset By Id 用于从 Fadr 的数据库中读取资产文档。 Get Asset By Id 是一个动态路由,其路径参数如下所述。

      请求参数

      Path 参数

      Header 参数

      返回响应

      🟢200成功
      application/json
      Bodyapplication/json

      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location 'http://dev-cn.your-api-server.com/assets/' \
      --header 'Authorization: Bearer [API Key]'
      响应示例响应示例
      {
          "asset": {
              "metaData": {
                  "sourceType": "string",
                  "stemType": "string",
                  "tempo": 0,
                  "beats": [
                      "string"
                  ],
                  "key": "string",
                  "length": 0,
                  "sampleRate": 0,
                  "beatLength": 0,
                  "offset": 0
              },
              "_id": "string",
              "name": "string",
              "key": "string",
              "previewKey": "string",
              "hqPreviewKey": "string",
              "peaks": "string",
              "uploadComplete": true,
              "user": "string",
              "fileType": "string",
              "assetType": "string",
              "group": "string",
              "public": true,
              "listed": true,
              "library": true,
              "stems": [
                  "string"
              ],
              "midi": [
                  "string"
              ],
              "revoices": [
                  "string"
              ],
              "tags": [
                  "string"
              ],
              "deleted": true,
              "likeCount": 0,
              "recentLikeCount": 0,
              "viewCount": 0,
              "commentCount": 0,
              "previewConstantBitRate": true,
              "api": true,
              "createdTimestamp": "string",
              "__v": 0,
              "likes": [
                  "string"
              ]
          }
      }
      修改于 2024-04-30 06:12:11
      上一页
      创建资产
      下一页
      创建主干任务
      Built with