{
  "args": {
    "alt_txt": {
      "desc": "Description of image for screen-reader.",
      "example": "Aerial view of the Bixby Bridge and coastline of the Big Sur area in California",
      "required": false,
      "type": "string"
    },
    "filename": {
      "desc": "Name of the file being uploaded.",
      "example": "laughingoutloudcat.jpg",
      "required": true,
      "type": "string"
    },
    "length": {
      "desc": "Size in bytes of the file being uploaded.",
      "example": "53072",
      "required": true,
      "type": "integer"
    },
    "snippet_type": {
      "desc": "Syntax type of the snippet being uploaded.",
      "example": "python",
      "required": false,
      "type": "string"
    }
  },
  "desc": "Gets a URL for an edge external file upload",
  "errors": {
    "alt_txt_too_large": "Description for the image is longer than the limit of 1000 character",
    "file_type_not_allowed": "The file type is not allowed.",
    "file_upload_size_restricted": "The size of provided file is too large, as the team has restricted uploads of large files.",
    "file_uploads_disabled": "Team has disabled all file uploads.",
    "file_uploads_except_images_disabled": "File uploads except images are disabled.",
    "missing_argument": "A required argument was not provided. Typically only occurs when the `length` provided is 0.",
    "snippet_too_large": "The provided `length` is too large to create a snippet, which are limited to 1MB.",
    "storage_limit_reached": "File storage limit has been reached. This occurs when free teams have uploaded 5GB of files.",
    "unknown_snippet_type": "The provided `snippet_type` is not a supported type.",
    "unknown_subtype": "The provided `subtype` is not a supported type."
  },
  "rate_limit": {
    "label": "Tier 4: 100+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "bot": [
      {
        "name": "files:write",
        "url": "https://docs.slack.dev/reference/scopes/files.write"
      }
    ],
    "user": [
      {
        "name": "files:write",
        "url": "https://docs.slack.dev/reference/scopes/files.write"
      }
    ]
  }
}

