{
  "name": "mountable",
  "label": "Mountable",
  "description": "Custom app contract for Make.com. The importable blueprints use the HTTP module so they run before this app is published.",
  "baseUrl": "https://mountable.io/api/v1",
  "connection": {
    "type": "apikey",
    "headerName": "Authorization",
    "headerValue": "Bearer {{connection.apiKey}}",
    "test": {
      "method": "GET",
      "path": "/me"
    }
  },
  "security": "The API key stays in the Make connection. The sandbox module must not use that connection.",
  "modules": [
    {
      "key": "whoami",
      "label": "Who am I",
      "method": "GET",
      "path": "/me",
      "body": []
    },
    {
      "key": "create_filesystem",
      "label": "Create Filesystem",
      "method": "POST",
      "path": "/orgs/{org_id}/filesystems",
      "body": [
        "name"
      ]
    },
    {
      "key": "filesystem_usage",
      "label": "Get Filesystem Usage",
      "method": "GET",
      "path": "/orgs/{org_id}/filesystems/{fs_id}/usage",
      "body": []
    },
    {
      "key": "create_mount_session",
      "label": "Create Mount Session",
      "method": "POST",
      "path": "/mount-sessions",
      "body": [
        "filesystem_id",
        "mode",
        "idempotency_key",
        "max_duration_seconds"
      ]
    },
    {
      "key": "revoke_mount_session",
      "label": "Revoke Mount Session",
      "method": "DELETE",
      "path": "/mount-sessions/{session_id}",
      "body": []
    }
  ]
}
