Skip to content
Last update: February 12, 2024

fileUploadOptions query

This query allows retrieving the file upload options for the specified scope.

Arguments

Argument Description
scope String Specifies the scope for which to retrieve file upload options.

Possible returns

Possible return Description
FileUploadScopeOptionsType Represents the options for file upload within the specified scope.

Examples

1
2
3
4
5
6
7
query {
  fileUploadOptions(scope: "quote-attachments"){
    scope
    maxFileSize
    allowedExtensions
  }
}
{
  "data": {
    "fileUploadOptions": {
      "scope": "quote-attachments",
      "maxFileSize": 10485760,
      "allowedExtensions": [
        ".csv",
        ".docx",
        ".jpg",
        ".pdf",
        ".png",
        ".txt",
        ".xlsx"
      ]
    }
  }
}