{
  "opencollection": "1.0.0",
  "info": {
    "name": "AI ai-chat files API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "/v1/files_get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.remberg.de/v1/files",
            "params": [
              {
                "name": "folderId",
                "value": "",
                "type": "query",
                "description": "Set the internal folderId to receive items within a folder."
              },
              {
                "name": "isFolder",
                "value": "",
                "type": "query",
                "description": "Specifies whether or not the output of the received payload contains both files and folders, or only folders (if set to true)"
              },
              {
                "name": "sortDirection",
                "value": "",
                "type": "query",
                "description": "Define the sort order of the received payload."
              },
              {
                "name": "sortField",
                "value": "",
                "type": "query",
                "description": "Specify the field used for sorting."
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Define how many items will be received in the payload per request.(default 20 items)"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Allows to filter by the search phrase over name property."
              },
              {
                "name": "createdAtFrom",
                "value": "",
                "type": "query",
                "description": "Filter by createdAt date FROM the provided value as an ISO UTC string. Inclusive."
              },
              {
                "name": "createdAtUntil",
                "value": "",
                "type": "query",
                "description": "Filter by createdAt date UNTIL the provided value as an ISO UTC string. Inclusive."
              },
              {
                "name": "updatedAtFrom",
                "value": "",
                "type": "query",
                "description": "Filter by updatedAt date FROM the provided value as an ISO UTC string. Inclusive."
              },
              {
                "name": "updatedAtUntil",
                "value": "",
                "type": "query",
                "description": "Filter by updatedAt date UNTIL the provided value as an ISO UTC string. Inclusive."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a list of top-level files and folders. Use the folderId query parameter to retrieve nested resources."
        },
        {
          "info": {
            "name": "/v1/files_post",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.remberg.de/v1/files",
            "body": {
              "type": "multipart-form",
              "data": []
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Upload one or more files using multipart/form-data. Optionally specify a target folder via the metadata payload."
        },
        {
          "info": {
            "name": "/v1/files/resolve_get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.remberg.de/v1/files/resolve",
            "params": [
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "Slash-delimited path including the filename (e.g., \"Engineering/Specs/vacuum.pdf\"). Path must be URL-encoded."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Resolve a file or folder by its slash-delimited path (e.g. \"Engineering/Specs/vacuum.pdf\") and return its metadata."
        },
        {
          "info": {
            "name": "/v1/files/{id}_get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.remberg.de/v1/files/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Internal file id to receive metadata of a file."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve the metadata of a single file or folder by its unique identifier."
        },
        {
          "info": {
            "name": "/v1/files/{id}_patch",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.remberg.de/v1/files/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Internal file id to change the metadata for a file or folder."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update the metadata of a file or folder by its unique identifier."
        },
        {
          "info": {
            "name": "/v1/files/{id}_delete",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.remberg.de/v1/files/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Internal id to delete a file or a folder. Caution: Deletion is a cascading operation so all child items will also be deleted."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete a file or folder by its unique identifier. This is a cascading operation — all nested child items will also be permanently deleted."
        },
        {
          "info": {
            "name": "/v1/files/{id}/download_get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.remberg.de/v1/files/:id/download",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Internal file id to receive just the binary of a file."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Download the binary content of a file by its unique id."
        },
        {
          "info": {
            "name": "/v1/files/folder_post",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.remberg.de/v1/files/folder",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create a new folder. Optionally specify a parent folder to create a nested folder."
        },
        {
          "info": {
            "name": "/v1/files/{id}/content_patch",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.remberg.de/v1/files/:id/content",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Internal file id to replace the binary of a file."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Replace the binary content of an existing file by its unique id."
        }
      ]
    }
  ],
  "bundled": true
}