{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shuffle Administration Files API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://shuffler.io/api/v1/files/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a file record in the Shuffle file store."
        },
        {
          "info": {
            "name": "List Files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://shuffler.io/api/v1/files"
          },
          "docs": "Returns all files accessible to the organization."
        },
        {
          "info": {
            "name": "Upload File Content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://shuffler.io/api/v1/files/:id/upload",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "File ID"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Uploads content to an existing file record."
        },
        {
          "info": {
            "name": "Get File Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://shuffler.io/api/v1/files/:id/content",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "File ID"
              }
            ]
          },
          "docs": "Downloads the content of a file."
        },
        {
          "info": {
            "name": "Get File Metadata",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://shuffler.io/api/v1/files/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "File ID"
              }
            ]
          },
          "docs": "Retrieves metadata for a specific file."
        },
        {
          "info": {
            "name": "Delete File",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://shuffler.io/api/v1/files/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "File ID"
              },
              {
                "name": "remove_metadata",
                "value": "",
                "type": "query",
                "description": "Whether to also remove file metadata"
              }
            ]
          },
          "docs": "Deletes a file from the file store."
        }
      ]
    }
  ],
  "bundled": true
}