{
  "swagger": "2.0",
  "info": {
    "version": "v1",
    "title": "Templafy API"
  },
  "host": "api-v1.templafy.com",
  "schemes": [
    "https"
  ],
  "paths": {
    "/documents/{assetId}": {
      "get": {
        "tags": [
          "Documents"
        ],
        "summary": "Get document template",
        "operationId": "Documents_GetDocument",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiAssetDto[WordProcessing]"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Documents"
        ],
        "summary": "Delete document template",
        "operationId": "Documents_DeleteDocument",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Documents"
        ],
        "summary": "Update document template",
        "operationId": "Documents_UpdateDocument",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "file",
            "in": "formData",
            "required": false,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Multiple files uploaded."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/documents": {
      "get": {
        "tags": [
          "Documents"
        ],
        "summary": "Get document templates",
        "description": "Get all document templates in the library root or in a folder. The result does not include documents from subfolders. When {searchQuery} is used the result includes documents from subfolders.",
        "operationId": "Documents_GetDocuments",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a folder.",
            "required": false,
            "type": "string"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "description": "Filter on document name, description and tags.",
            "required": false,
            "type": "string"
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page from the result set.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of returned page.",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiAssetDto[WordProcessing]"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Documents"
        ],
        "summary": "Upload document template",
        "description": "Only one file can be in the request body. The supported file formats are: DOCX.",
        "operationId": "Documents_UploadDocument",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "required": true,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "No files or multiple files uploaded. The folder is not from the default document library."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/folders": {
      "get": {
        "tags": [
          "Folders"
        ],
        "summary": "Get folders",
        "description": "Get all main folders in a library or in a folder. The result does not include subfolders.",
        "operationId": "Folders_GetFolders",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "libraryId",
            "in": "query",
            "description": "The ID of the library. E.g. \"Image\", \"Document, \"Presentation\", \"Slide\", etc.",
            "required": true,
            "type": "string"
          },
          {
            "name": "parentFolderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a parent folder.",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/FolderDto"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Folders"
        ],
        "summary": "Create folder",
        "operationId": "Folders_CreateFolder",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "createFolderDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CreateFolderDto"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "The input model is invalid."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The folder name already exists."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/folders/{folderId}": {
      "get": {
        "tags": [
          "Folders"
        ],
        "summary": "Get folder",
        "operationId": "Folders_GetFolder",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "path",
            "description": "'folderId' or in case of the root folder 'categoryId'.",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/FolderDto"
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "Folders"
        ],
        "summary": "Update folder",
        "operationId": "Folders_UpdateFolder",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "folderId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "updateFolderDto",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/UpdateFolderDto"
            }
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "The input model is invalid."
          },
          "404": {
            "description": "The resource cannot be found. Root folders cannot be found."
          },
          "409": {
            "description": "The folder name already exists."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Folders"
        ],
        "summary": "Delete folder",
        "operationId": "Folders_DeleteFolder",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "folderId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "Root folder cannot be deleted."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/images/{assetId}": {
      "get": {
        "tags": [
          "Images"
        ],
        "summary": "Get image",
        "operationId": "Images_GetImage",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/DownloadableImageDto"
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Images"
        ],
        "summary": "Delete image",
        "operationId": "Images_DeleteImage",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Images"
        ],
        "summary": "Update image",
        "operationId": "Images_UpdateImage",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "file",
            "in": "formData",
            "required": false,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Multiple files uploaded."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/images": {
      "get": {
        "tags": [
          "Images"
        ],
        "summary": "Get images",
        "description": "Get all images in the library root or in a folder. The result does not include images from subfolders. When {searchQuery} is used the result includes images from subfolders.",
        "operationId": "Images_GetImages",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a folder.",
            "required": false,
            "type": "string"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "description": "Filter on image name and tags.",
            "required": false,
            "type": "string"
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page from the result set.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of returned page.",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ImageDto"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Images"
        ],
        "summary": "Upload image",
        "description": "Only one file can be in the request body. The supported image formats are: JPG/JPEG, PNG, GIF and SVG.",
        "operationId": "Images_UploadImage",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "required": true,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "No files or multiple files uploaded. The folder is not from the default image library."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/pdfs/{assetId}": {
      "get": {
        "tags": [
          "Pdfs"
        ],
        "summary": "Get PDF",
        "operationId": "Pdfs_GetPdf",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/ApiAssetDto[Pdf]"
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Pdfs"
        ],
        "summary": "Delete PDF",
        "operationId": "Pdfs_DeletePdf",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Pdfs"
        ],
        "summary": "Update PDF",
        "operationId": "Pdfs_UpdatePdf",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "file",
            "in": "formData",
            "required": false,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Multiple files uploaded."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/pdfs": {
      "get": {
        "tags": [
          "Pdfs"
        ],
        "summary": "Get PDFs",
        "description": "Get all PDFs in the library root or in a folder. The result does not include files from subfolders. When {searchQuery} is used the result includes files from subfolders.",
        "operationId": "Pdfs_GetPdfs",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a folder.",
            "required": false,
            "type": "string"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "description": "Filter on file name, descriptions and tags.",
            "required": false,
            "type": "string"
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page from the result set.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of returned page.",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiAssetDto[Pdf]"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Pdfs"
        ],
        "summary": "Upload PDF",
        "description": "Only one file can be in the request body. The supported file formats are: PDF.",
        "operationId": "Pdfs_UploadPdf",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "required": true,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "No files or multiple files uploaded. The folder is not from the default PDF library."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/presentations/{assetId}": {
      "get": {
        "tags": [
          "Presentations"
        ],
        "summary": "Get presentation template",
        "operationId": "Presentations_GetPresentation",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiAssetDto[Presentation]"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Presentations"
        ],
        "summary": "Delete presentation template",
        "operationId": "Presentations_DeletePresentation",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Presentations"
        ],
        "summary": "Update presentation template",
        "operationId": "Presentations_UpdatePresentation",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "file",
            "in": "formData",
            "required": false,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Multiple files uploaded."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          },
          "428": {
            "description": "The uploaded template is currently processing."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/presentations": {
      "get": {
        "tags": [
          "Presentations"
        ],
        "summary": "Get presentation templates",
        "description": "Get all presentations templates in the library root or in a folder. The result does not include presentations from subfolders. When {searchQuery} is used the result includes presentations from subfolders.",
        "operationId": "Presentations_GetPresentations",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a folder.",
            "required": false,
            "type": "string"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "description": "Filter on presentation name, description and tags.",
            "required": false,
            "type": "string"
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page from the result set.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of returned page.",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiAssetDto[Presentation]"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Presentations"
        ],
        "summary": "Upload presentation template",
        "description": "Only one file can be in the request body. The supported file formats are: PPTX.",
        "operationId": "Presentations_UploadPresentation",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "required": true,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "No files or multiple files uploaded. The folder is not from the default presentation library."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/slide-elements/{assetId}": {
      "get": {
        "tags": [
          "SlideElements"
        ],
        "summary": "Get slide elements file",
        "operationId": "SlideElements_GetSlideElementsFile",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/SlideFileDto"
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "SlideElements"
        ],
        "summary": "Delete slide elements file",
        "operationId": "SlideElements_DeleteSlideElementsFile",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "SlideElements"
        ],
        "summary": "Update slide elements file",
        "operationId": "SlideElements_UpdateSlideElementsFile",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "file",
            "in": "formData",
            "required": false,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Multiple files uploaded."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          },
          "428": {
            "description": "The uploaded template is currently processing."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/slide-elements": {
      "get": {
        "tags": [
          "SlideElements"
        ],
        "summary": "Get slide elements",
        "description": "Get all slide elements in the library root or in a folder. The result does not include slide elements from subfolders. When {searchQuery} is used the result includes slide elements from subfolders.",
        "operationId": "SlideElements_GetSlideElements",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a folder.",
            "required": false,
            "type": "string"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "description": "Filter on slide element name, description and tags.",
            "required": false,
            "type": "string"
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page from the result set.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of returned page.",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SlideDto"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "SlideElements"
        ],
        "summary": "Upload slide elements file",
        "description": "Only one file can be in the request body. The supported file formats are: PPTX.",
        "operationId": "SlideElements_UploadSlideElementsFile",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "required": true,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "No files or multiple files uploaded. The folder is not from the default slide elements library."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/slides/{assetId}": {
      "get": {
        "tags": [
          "Slides"
        ],
        "summary": "Get slide presentation file",
        "operationId": "Slides_GetSlidesFile",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/SlideFileDto"
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Slides"
        ],
        "summary": "Delete slide presentation file",
        "operationId": "Slides_DeleteSlideFile",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Slides"
        ],
        "summary": "Update slide presentation file",
        "operationId": "Slides_UpdateSlideFile",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "file",
            "in": "formData",
            "required": false,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Multiple files uploaded."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          },
          "428": {
            "description": "The uploaded template is currently processing."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/slides": {
      "get": {
        "tags": [
          "Slides"
        ],
        "summary": "Get slides",
        "description": "Get all slides in the library root or in a folder. The result does not include slides from subfolders. When {searchQuery} is used the result includes slides from subfolders.",
        "operationId": "Slides_GetSlides",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a folder.",
            "required": false,
            "type": "string"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "description": "Filter on slide name, description and tags.",
            "required": false,
            "type": "string"
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page from the result set.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of returned page.",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SlideDto"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Slides"
        ],
        "summary": "Upload slide presentation file",
        "description": "Only one file can be in the request body. The supported file formats are: PPTX.",
        "operationId": "Slides_UploadSlideFile",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "required": true,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "No files or multiple files uploaded. The folder is not from the default slide library."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          },
          "415": {
            "description": "The uploaded content type is not multipart/form-data."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/spreadsheets/{assetId}": {
      "get": {
        "tags": [
          "Spreadsheets"
        ],
        "summary": "Get spreadsheet template",
        "operationId": "Spreadsheets_GetSpreadsheet",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/ApiAssetDto[Pdf]"
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Spreadsheets"
        ],
        "summary": "Delete spreadsheet template",
        "operationId": "Spreadsheets_DeleteSpreadsheet",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "Spreadsheets"
        ],
        "summary": "Update spreadsheet template",
        "operationId": "Spreadsheets_UpdateSpreadsheet",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "file",
            "in": "formData",
            "required": false,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Multiple files uploaded."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/spreadsheets": {
      "get": {
        "tags": [
          "Spreadsheets"
        ],
        "summary": "Get spreadsheet templates",
        "description": "Get all spreadsheet templates in the library root or in a folder. The result does not include files from subfolders. When {searchQuery} is used the result includes files from subfolders.",
        "operationId": "Spreadsheets_GetSpreadsheets",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a folder.",
            "required": false,
            "type": "string"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "description": "Filter on file name, descriptions and tags.",
            "required": false,
            "type": "string"
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page from the result set.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of returned page.",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiAssetDto[Spreadsheet]"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "Spreadsheets"
        ],
        "summary": "Upload spreadsheet template",
        "description": "Only one file can be in the request body. The supported file formats are: XLSX.",
        "operationId": "Spreadsheets_UploadSpreadsheet",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "required": true,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "No files or multiple files uploaded. The folder is not from the default Spreadsheet library."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/text-elements/{assetId}": {
      "get": {
        "tags": [
          "TextElements"
        ],
        "summary": "Get text element",
        "operationId": "TextElements_GetTextElement",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/ApiAssetDto[TextElement]"
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "TextElements"
        ],
        "summary": "Delete text element",
        "operationId": "TextElements_DeleteTextElement",
        "consumes": [],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "TextElements"
        ],
        "summary": "Update text element",
        "operationId": "TextElements_UpdateTextElement",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [],
        "parameters": [
          {
            "name": "assetId",
            "in": "path",
            "description": "",
            "required": true,
            "type": "string"
          },
          {
            "name": "file",
            "in": "formData",
            "required": false,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": "Multiple files uploaded."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/text-elements": {
      "get": {
        "tags": [
          "TextElements"
        ],
        "summary": "Get text elements",
        "description": "Get all Text Elements in the library root or in a folder. The result does not include files from subfolders. When {searchQuery} is used the result includes files from subfolders.",
        "operationId": "TextElements_GetTextElements",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "folderId",
            "in": "query",
            "description": "",
            "required": false,
            "type": "string"
          },
          {
            "name": "navigationPath",
            "in": "query",
            "description": "Hierarchical path identifying a folder.",
            "required": false,
            "type": "string"
          },
          {
            "name": "searchQuery",
            "in": "query",
            "description": "Filter on file name, descriptions and tags.",
            "required": false,
            "type": "string"
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page from the result set.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Size of returned page.",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiAssetDto[TextElement]"
              }
            }
          },
          "404": {
            "description": "The resource cannot be found."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadOnly"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "TextElements"
        ],
        "summary": "Upload text element",
        "description": "Only one file can be in the request body. The supported file formats are: DOCX.",
        "operationId": "TextElements_UploadTextElement",
        "consumes": [
          "multipart/form-data"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "formData",
            "required": true,
            "type": "file"
          },
          {
            "name": "name",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "description",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "tags",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "externalData",
            "in": "formData",
            "required": false,
            "type": "string"
          },
          {
            "name": "folderId",
            "in": "formData",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          "400": {
            "description": "No files or multiple files uploaded. The folder is not from the default text element library."
          },
          "404": {
            "description": "The resource cannot be found."
          },
          "409": {
            "description": "The input model is invalid. The uploaded filename exists in the system. Unsupported file extension."
          },
          "413": {
            "description": "Uploaded file exceeds the limit of 50 MB."
          }
        },
        "security": [
          {
            "oauth2": [
              "ReadWrite"
            ]
          }
        ]
      }
    },
    "/oauth2/token": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Authenticate client",
        "description": "Authentication endpoint for issuing Bearer tokens. Each Bearer token can be used limited amount of time.",
        "operationId": "OAuth2_Token",
        "consumes": [
          "application/x-www-form-urlencoded"
        ],
        "parameters": [
          {
            "name": "grant_type",
            "in": "formData",
            "required": true,
            "type": "string",
            "default": "client_credentials"
          },
          {
            "name": "client_id",
            "in": "formData",
            "required": true,
            "type": "string"
          },
          {
            "name": "client_secret",
            "in": "formData",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/OAuthResponse"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "ApiAssetDto[WordProcessing]": {
      "type": "object",
      "properties": {
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "CreateFolderDto": {
      "required": [
        "name",
        "parentFolderId"
      ],
      "type": "object",
      "properties": {
        "name": {
          "description": "Display name used in Templafy",
          "type": "string"
        },
        "parentFolderId": {
          "description": "Id for the parent folder. Root folder in a library does not have a parent folder id.",
          "type": "string"
        }
      }
    },
    "FolderDto": {
      "type": "object",
      "properties": {
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin",
          "type": "string",
          "readOnly": true
        },
        "navigationPath": {
          "description": "Hierarchical path in lowercase based on the location of a folder. E.g. \"folder-a/folder-b\" when the location is \"Folder A &gt; Folder B\".",
          "type": "string",
          "readOnly": true
        },
        "parentFolderId": {
          "description": "Id for the parent folder. Root folder in a library does not have a parent folder id.",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "UpdateFolderDto": {
      "required": [
        "name"
      ],
      "type": "object",
      "properties": {
        "name": {
          "description": "Display name used in Templafy Admin",
          "type": "string"
        }
      }
    },
    "DownloadableImageDto": {
      "type": "object",
      "properties": {
        "downloadUrl": {
          "description": "Generated shared access link",
          "type": "string",
          "readOnly": true
        },
        "height": {
          "format": "int32",
          "description": "Height of the image in pixels",
          "type": "integer",
          "readOnly": true
        },
        "mimeType": {
          "description": "Mime type. E.g. 'image/jpeg'.",
          "type": "string",
          "readOnly": true
        },
        "previewUrl": {
          "description": "Link to the full size image signed with short life signature",
          "type": "string",
          "readOnly": true
        },
        "width": {
          "format": "int32",
          "description": "Width of the image in pixels",
          "type": "integer",
          "readOnly": true
        },
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "ImageDto": {
      "type": "object",
      "properties": {
        "height": {
          "format": "int32",
          "description": "Height of the image in pixels",
          "type": "integer",
          "readOnly": true
        },
        "mimeType": {
          "description": "Mime type. E.g. 'image/jpeg'.",
          "type": "string",
          "readOnly": true
        },
        "previewUrl": {
          "description": "Link to the full size image signed with short life signature",
          "type": "string",
          "readOnly": true
        },
        "width": {
          "format": "int32",
          "description": "Width of the image in pixels",
          "type": "integer",
          "readOnly": true
        },
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "ApiAssetDto[Pdf]": {
      "type": "object",
      "properties": {
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "ApiAssetDto[Presentation]": {
      "type": "object",
      "properties": {
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "SlideFileDto": {
      "type": "object",
      "properties": {
        "childrenAssets": {
          "description": "Slides included in this slide presentation file.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "SlideDto": {
      "type": "object",
      "properties": {
        "parentId": {
          "description": "Slide file id to which it belongs.",
          "type": "string"
        },
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "ApiAssetDto[Spreadsheet]": {
      "type": "object",
      "properties": {
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "ApiAssetDto[TextElement]": {
      "type": "object",
      "properties": {
        "checksum": {
          "description": "MD5 checksum of the bytes",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description shown in the web app",
          "type": "string",
          "readOnly": true
        },
        "externalData": {
          "description": "External data which can be attached for future reference",
          "type": "string",
          "readOnly": true
        },
        "fileSize": {
          "format": "int64",
          "description": "File size in bytes",
          "type": "integer",
          "readOnly": true
        },
        "folderId": {
          "description": "Id of the folder",
          "type": "string",
          "readOnly": true
        },
        "id": {
          "description": "Unique id generated server side",
          "type": "string",
          "readOnly": true
        },
        "name": {
          "description": "Display name used in Templafy Admin Center and also used for searching",
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "description": "List of comma separated tags",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "OAuthResponse": {
      "type": "object",
      "properties": {
        "access_token": {
          "type": "string"
        },
        "expires_in": {
          "format": "int32",
          "type": "integer"
        },
        "token_type": {
          "type": "string"
        }
      }
    }
  },
  "securityDefinitions": {
    "oauth2": {
      "type": "oauth2",
      "description": "Client Credentials Grant Flow",
      "flow": "application",
      "tokenUrl": "/oauth2/token",
      "scopes": {}
    }
  }
}