{
  "openapi": "3.1.0",
  "info": {
    "title": "Cassit API",
    "version": "1",
    "description": "REST API for Cassit. Docs: https://cassit.app/docs. Every operation lists its scope in x-required-scope."
  },
  "servers": [
    {
      "url": "https://house.cassit.app/api/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "paths": {
    "/brands": {
      "get": {
        "operationId": "getBrands",
        "summary": "List the brands the key can see.",
        "x-required-scope": "brands:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      },
      "post": {
        "operationId": "postBrands",
        "summary": "Create a brand.",
        "x-required-scope": "connect:write",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: name, timezone?"
      }
    },
    "/brands/{brandId}/rename": {
      "post": {
        "operationId": "postBrandsBrandIdRename",
        "summary": "Rename a brand.",
        "x-required-scope": "connect:write",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: name"
      }
    },
    "/brands/{brandId}/channels": {
      "get": {
        "operationId": "getBrandsBrandIdChannels",
        "summary": "List a brand’s connected channels.",
        "x-required-scope": "brands:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      },
      "post": {
        "operationId": "postBrandsBrandIdChannels",
        "summary": "Add a channel to a brand.",
        "x-required-scope": "connect:write",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: platform, transportKind, accountRef"
      }
    },
    "/channels/{channelId}/token": {
      "put": {
        "operationId": "putChannelsChannelIdToken",
        "summary": "Store the access token for a channel.",
        "x-required-scope": "connect:write",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "channelId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: token, kind, expiresAt?, scopes?"
      }
    },
    "/channels/{channelId}/verify": {
      "post": {
        "operationId": "postChannelsChannelIdVerify",
        "summary": "Check that a channel’s token still works.",
        "x-required-scope": "connect:write",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "channelId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/brands/{brandId}/channels/telegram/connect": {
      "post": {
        "operationId": "postBrandsBrandIdChannelsTelegramConnect",
        "summary": "Connect a Telegram channel with a bot token.",
        "x-required-scope": "connect:write",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: botToken, chatIdentifier"
      }
    },
    "/brands/{brandId}/drafts": {
      "post": {
        "operationId": "postBrandsBrandIdDrafts",
        "summary": "Ask for content for the listed platforms.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: platforms[], format?, subjectHint?"
      }
    },
    "/brands/{brandId}/ideas": {
      "post": {
        "operationId": "postBrandsBrandIdIdeas",
        "summary": "Ask for a list of post ideas.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: count?, format?, explore?"
      }
    },
    "/brands/{brandId}/ingest": {
      "post": {
        "operationId": "postBrandsBrandIdIngest",
        "summary": "Upload a media file with a caption as a post.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: multipart: file, caption?, publishAt?, platforms?, subject?, register?"
      }
    },
    "/brands/{brandId}/media/upload": {
      "post": {
        "operationId": "postBrandsBrandIdMediaUpload",
        "summary": "Upload a media file for later use in a post.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: multipart: file"
      }
    },
    "/brands/{brandId}/items": {
      "get": {
        "operationId": "getBrandsBrandIdItems",
        "summary": "List a brand’s posts. Each post lists, for each platform, whether it is waiting, publishing, scheduled, published or failed.",
        "x-required-scope": "content:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: query: limit?, offset?, since?"
      },
      "post": {
        "operationId": "postBrandsBrandIdItems",
        "summary": "Create a post from captions you supply.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: captions, mediaRefs?, subject?, format?, composition?, publishAt?"
      }
    },
    "/brands/{brandId}/items/{itemId}/schedule": {
      "post": {
        "operationId": "postBrandsBrandIdItemsItemIdSchedule",
        "summary": "Set the time a post goes out.",
        "x-required-scope": "content:schedule",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: at"
      }
    },
    "/brands/{brandId}/items/{itemId}/platforms": {
      "post": {
        "operationId": "postBrandsBrandIdItemsItemIdPlatforms",
        "summary": "Add a platform to a post.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: platform, caption, publishAt?"
      }
    },
    "/brands/{brandId}/items/{itemId}/platforms/{platform}": {
      "delete": {
        "operationId": "deleteBrandsBrandIdItemsItemIdPlatformsPlatform",
        "summary": "Remove a platform from a post that has not gone out there.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "platform",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/brands/{brandId}/items/{itemId}/discard": {
      "post": {
        "operationId": "postBrandsBrandIdItemsItemIdDiscard",
        "summary": "Discard a post that has not gone out.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: reason?"
      }
    },
    "/brands/{brandId}/items/{itemId}/legs/{platform}/skip": {
      "post": {
        "operationId": "postBrandsBrandIdItemsItemIdLegsPlatformSkip",
        "summary": "Skip one platform of a post that missed its window.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "platform",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/brands/{brandId}/posts/{recordId}/retry-publish": {
      "post": {
        "operationId": "postBrandsBrandIdPostsRecordIdRetryPublish",
        "summary": "Try again to publish a post that failed.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/brands/{brandId}/items/{itemId}/captions": {
      "patch": {
        "operationId": "patchBrandsBrandIdItemsItemIdCaptions",
        "summary": "Change the captions of a post that has not gone out.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: captions"
      }
    },
    "/brands/{brandId}/items/{itemId}/new-ground": {
      "patch": {
        "operationId": "patchBrandsBrandIdItemsItemIdNewGround",
        "summary": "Set the flag that decides whether the post waits for approval when auto-publish is on. Clearing it also needs tray:decide.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: newGround"
      }
    },
    "/brands/{brandId}/items/{itemId}/media": {
      "patch": {
        "operationId": "patchBrandsBrandIdItemsItemIdMedia",
        "summary": "Replace the media of a post that has not gone out.",
        "x-required-scope": "content:draft",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: mediaRefs"
      }
    },
    "/brands/{brandId}/insights": {
      "get": {
        "operationId": "getBrandsBrandIdInsights",
        "summary": "Read post results for a brand.",
        "x-required-scope": "insights:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: query: since?, limit?, offset?, latest?"
      }
    },
    "/tray": {
      "get": {
        "operationId": "getTray",
        "summary": "List the posts waiting for the owner.",
        "x-required-scope": "tray:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/tray/held": {
      "get": {
        "operationId": "getTrayHeld",
        "summary": "List the posts the owner has put on hold.",
        "x-required-scope": "tray:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/tray/{id}/decide": {
      "post": {
        "operationId": "postTrayIdDecide",
        "summary": "Approve, hold, edit or reject a post waiting for the owner.",
        "x-required-scope": "tray:decide",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: decision, editDelta?"
      }
    },
    "/tray/{id}/amend": {
      "post": {
        "operationId": "postTrayIdAmend",
        "summary": "Change a post waiting for the owner.",
        "x-required-scope": "tray:decide",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        },
        "description": "Fields: editDelta"
      }
    },
    "/books/{brandId}": {
      "get": {
        "operationId": "getBooksBrandId",
        "summary": "Read a brand’s usage figures.",
        "x-required-scope": "books:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/brands/{brandId}/cooldowns": {
      "get": {
        "operationId": "getBrandsBrandIdCooldowns",
        "summary": "Read a brand’s cooldowns.",
        "x-required-scope": "engine:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "brandId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/engine": {
      "get": {
        "operationId": "getEngine",
        "summary": "Read scheduler state.",
        "x-required-scope": "engine:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    },
    "/notifications": {
      "get": {
        "operationId": "getNotifications",
        "summary": "List notifications.",
        "x-required-scope": "notifications:read",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [],
        "responses": {
          "401": {
            "description": "The key is missing or not valid."
          },
          "403": {
            "description": "The key lacks the required scope."
          },
          "2XX": {
            "description": "Success."
          }
        }
      }
    }
  }
}
