{
 "components": {
  "schemas": {
   "AccessOut": {
    "properties": {
     "password_saved": {
      "title": "Password Saved",
      "type": "boolean"
     },
     "workers": {
      "items": {
       "$ref": "#/components/schemas/WorkerSessionOut"
      },
      "title": "Workers",
      "type": "array"
     }
    },
    "required": [
     "password_saved",
     "workers"
    ],
    "title": "AccessOut",
    "type": "object"
   },
   "ActivityItem": {
    "properties": {
     "action": {
      "title": "Action",
      "type": "string"
     },
     "at": {
      "format": "date-time",
      "title": "At",
      "type": "string"
     },
     "detail": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Detail"
     },
     "id": {
      "title": "Id",
      "type": "integer"
     },
     "ip": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Ip"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "user_agent": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "User Agent"
     }
    },
    "required": [
     "id",
     "action",
     "label",
     "detail",
     "at",
     "ip",
     "user_agent"
    ],
    "title": "ActivityItem",
    "type": "object"
   },
   "ActivityOut": {
    "properties": {
     "modified": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Modified"
     },
     "path": {
      "title": "Path",
      "type": "string"
     },
     "size": {
      "title": "Size",
      "type": "integer"
     }
    },
    "required": [
     "path",
     "size",
     "modified"
    ],
    "title": "ActivityOut",
    "type": "object"
   },
   "ActivityPage": {
    "properties": {
     "items": {
      "items": {
       "$ref": "#/components/schemas/ActivityItem"
      },
      "title": "Items",
      "type": "array"
     },
     "next_before": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Next Before"
     }
    },
    "required": [
     "items",
     "next_before"
    ],
    "title": "ActivityPage",
    "type": "object"
   },
   "AddMembers": {
    "additionalProperties": false,
    "properties": {
     "people": {
      "items": {
       "$ref": "#/components/schemas/app__api__routes__accounts__organisation__PersonIn"
      },
      "maxItems": 200,
      "minItems": 1,
      "title": "People",
      "type": "array"
     }
    },
    "required": [
     "people"
    ],
    "title": "AddMembers",
    "type": "object"
   },
   "AddSpaces": {
    "additionalProperties": false,
    "properties": {
     "ids": {
      "items": {
       "type": "string"
      },
      "maxItems": 200,
      "minItems": 1,
      "title": "Ids",
      "type": "array"
     }
    },
    "required": [
     "ids"
    ],
    "title": "AddSpaces",
    "type": "object"
   },
   "Added": {
    "description": "The accounts made, in v1's cloud shape, and who was skipped and why.",
    "properties": {
     "created": {
      "items": {
       "$ref": "#/components/schemas/Cloud"
      },
      "title": "Created",
      "type": "array"
     },
     "skipped": {
      "items": {
       "$ref": "#/components/schemas/Skipped"
      },
      "title": "Skipped",
      "type": "array"
     }
    },
    "required": [
     "created",
     "skipped"
    ],
    "title": "Added",
    "type": "object"
   },
   "AppEdit": {
    "additionalProperties": false,
    "properties": {
     "homepage": {
      "anyOf": [
       {
        "maxLength": 512,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Homepage"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 80,
        "minLength": 2,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "redirect_uris": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "maxItems": 10,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Redirect Uris"
     }
    },
    "title": "AppEdit",
    "type": "object"
   },
   "AppIn": {
    "additionalProperties": false,
    "properties": {
     "auth_method": {
      "enum": [
       "none",
       "private_key_jwt",
       "client_secret_basic",
       "client_secret_post"
      ],
      "title": "Auth Method",
      "type": "string"
     },
     "grant_types": {
      "items": {
       "type": "string"
      },
      "maxItems": 4,
      "minItems": 1,
      "title": "Grant Types",
      "type": "array"
     },
     "homepage": {
      "anyOf": [
       {
        "maxLength": 512,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Homepage"
     },
     "jwks": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "title": "Jwks"
     },
     "jwks_uri": {
      "anyOf": [
       {
        "maxLength": 1024,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Jwks Uri"
     },
     "kind": {
      "enum": [
       "public",
       "confidential"
      ],
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "maxLength": 80,
      "minLength": 2,
      "title": "Name",
      "type": "string"
     },
     "redirect_uris": {
      "items": {
       "type": "string"
      },
      "maxItems": 10,
      "title": "Redirect Uris",
      "type": "array"
     },
     "scope": {
      "maxLength": 1024,
      "minLength": 1,
      "title": "Scope",
      "type": "string"
     }
    },
    "required": [
     "name",
     "kind",
     "auth_method",
     "grant_types",
     "scope"
    ],
    "title": "AppIn",
    "type": "object"
   },
   "AppMade": {
    "properties": {
     "auth_method": {
      "title": "Auth Method",
      "type": "string"
     },
     "client_id": {
      "title": "Client Id",
      "type": "string"
     },
     "client_secret": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Client Secret"
     },
     "confidential": {
      "title": "Confidential",
      "type": "boolean"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "disabled": {
      "title": "Disabled",
      "type": "boolean"
     },
     "dpop_bound": {
      "title": "Dpop Bound",
      "type": "boolean"
     },
     "grant_types": {
      "items": {
       "type": "string"
      },
      "title": "Grant Types",
      "type": "array"
     },
     "has_keys": {
      "title": "Has Keys",
      "type": "boolean"
     },
     "homepage": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Homepage"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "jwks_uri": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Jwks Uri"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "redirect_uris": {
      "items": {
       "type": "string"
      },
      "title": "Redirect Uris",
      "type": "array"
     },
     "reviewed": {
      "title": "Reviewed",
      "type": "boolean"
     },
     "scope": {
      "title": "Scope",
      "type": "string"
     }
    },
    "required": [
     "id",
     "client_id",
     "name",
     "homepage",
     "confidential",
     "auth_method",
     "redirect_uris",
     "grant_types",
     "scope",
     "dpop_bound",
     "jwks_uri",
     "has_keys",
     "reviewed",
     "disabled",
     "created_at"
    ],
    "title": "AppMade",
    "type": "object"
   },
   "AppPasswordCreated": {
    "description": "The creation response, and the only time the password itself is ever available.",
    "properties": {
     "account_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Account Id"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "folder": {
      "title": "Folder",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_used_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Used At"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "password": {
      "title": "Password",
      "type": "string"
     },
     "prefix": {
      "title": "Prefix",
      "type": "string"
     },
     "read_only": {
      "title": "Read Only",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "name",
     "prefix",
     "read_only",
     "account_id",
     "folder",
     "created_at",
     "last_used_at",
     "password"
    ],
    "title": "AppPasswordCreated",
    "type": "object"
   },
   "AppPasswordIn": {
    "additionalProperties": false,
    "properties": {
     "account_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Account Id"
     },
     "code": {
      "anyOf": [
       {
        "maxLength": 64,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Code"
     },
     "folder": {
      "default": "",
      "maxLength": 4096,
      "title": "Folder",
      "type": "string"
     },
     "name": {
      "maxLength": 80,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 1024,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     },
     "read_only": {
      "default": false,
      "title": "Read Only",
      "type": "boolean"
     }
    },
    "required": [
     "name"
    ],
    "title": "AppPasswordIn",
    "type": "object"
   },
   "AppPasswordOut": {
    "properties": {
     "account_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Account Id"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "folder": {
      "title": "Folder",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_used_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Used At"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "prefix": {
      "title": "Prefix",
      "type": "string"
     },
     "read_only": {
      "title": "Read Only",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "name",
     "prefix",
     "read_only",
     "account_id",
     "folder",
     "created_at",
     "last_used_at"
    ],
    "title": "AppPasswordOut",
    "type": "object"
   },
   "ArchiveSpec": {
    "additionalProperties": false,
    "description": "Archive one chat into a folder of a cloud.",
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "maxLength": 4096,
      "title": "Dst Path",
      "type": "string"
     },
     "max_file_mb": {
      "default": 50,
      "maximum": 4096,
      "minimum": 1,
      "title": "Max File Mb",
      "type": "integer"
     },
     "media": {
      "default": "all",
      "enum": [
       "all",
       "photos",
       "none"
      ],
      "title": "Media",
      "type": "string"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "src_path": {
      "default": "",
      "maxLength": 1024,
      "title": "Src Path",
      "type": "string"
     }
    },
    "required": [
     "src_account_id",
     "dst_account_id"
    ],
    "title": "ArchiveSpec",
    "type": "object"
   },
   "AssessSpec": {
    "additionalProperties": false,
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "title": "Dst Path",
      "type": "string"
     },
     "exclude": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Exclude",
      "type": "array"
     },
     "exclude_types": {
      "default": [],
      "items": {
       "type": "string"
      },
      "maxItems": 50,
      "title": "Exclude Types",
      "type": "array"
     },
     "include": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Include",
      "type": "array"
     },
     "include_types": {
      "default": [],
      "items": {
       "type": "string"
      },
      "maxItems": 50,
      "title": "Include Types",
      "type": "array"
     },
     "max_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Size"
     },
     "min_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Min Size"
     },
     "modified_after": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Modified After"
     },
     "modified_before": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Modified Before"
     },
     "older_than_days": {
      "anyOf": [
       {
        "maximum": 36500,
        "minimum": 1,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Older Than Days"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "src_path": {
      "default": "",
      "title": "Src Path",
      "type": "string"
     }
    },
    "required": [
     "src_account_id",
     "dst_account_id"
    ],
    "title": "AssessSpec",
    "type": "object"
   },
   "AttachmentOut": {
    "properties": {
     "content_type": {
      "title": "Content Type",
      "type": "string"
     },
     "filename": {
      "title": "Filename",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "inline": {
      "title": "Inline",
      "type": "boolean"
     },
     "size": {
      "title": "Size",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "filename",
     "content_type",
     "size",
     "inline"
    ],
    "title": "AttachmentOut",
    "type": "object"
   },
   "AuditEventOut": {
    "properties": {
     "action": {
      "title": "Action",
      "type": "string"
     },
     "actor": {
      "title": "Actor",
      "type": "string"
     },
     "actor_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Actor Id"
     },
     "at": {
      "format": "date-time",
      "title": "At",
      "type": "string"
     },
     "details": {
      "additionalProperties": true,
      "title": "Details",
      "type": "object"
     },
     "id": {
      "title": "Id",
      "type": "integer"
     },
     "ip": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Ip"
     }
    },
    "required": [
     "id",
     "at",
     "action",
     "actor",
     "actor_id",
     "ip",
     "details"
    ],
    "title": "AuditEventOut",
    "type": "object"
   },
   "AuditSettingsIn": {
    "additionalProperties": false,
    "properties": {
     "retention_days": {
      "anyOf": [
       {
        "maximum": 3650,
        "minimum": 30,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Retention Days"
     }
    },
    "title": "AuditSettingsIn",
    "type": "object"
   },
   "AuditSettingsOut": {
    "properties": {
     "retention_days": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Retention Days"
     },
     "webhook": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Webhook"
     },
     "webhook_delivered_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Webhook Delivered At"
     },
     "webhook_error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Webhook Error"
     }
    },
    "required": [
     "retention_days",
     "webhook",
     "webhook_error",
     "webhook_delivered_at"
    ],
    "title": "AuditSettingsOut",
    "type": "object"
   },
   "AuthFamily": {
    "description": "How an account is set up. Four families cover every backend rclone supports.",
    "enum": [
     "oauth2",
     "keypair",
     "credentials",
     "wrapper",
     "tenant",
     "telegram",
     "mailbox",
     "pim",
     "database",
     "source",
     "delegated"
    ],
    "title": "AuthFamily",
    "type": "string"
   },
   "CatalogOut": {
    "properties": {
     "objects": {
      "items": {
       "$ref": "#/components/schemas/DbObjectOut"
      },
      "title": "Objects",
      "type": "array"
     },
     "reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Reason"
     },
     "supported": {
      "title": "Supported",
      "type": "boolean"
     },
     "truncated": {
      "title": "Truncated",
      "type": "boolean"
     }
    },
    "required": [
     "supported",
     "objects",
     "truncated",
     "reason"
    ],
    "title": "CatalogOut",
    "type": "object"
   },
   "CatalogueOut": {
    "properties": {
     "connectable": {
      "default": 0,
      "title": "Connectable",
      "type": "integer"
     },
     "features": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Features",
      "type": "array"
     },
     "providers": {
      "items": {
       "$ref": "#/components/schemas/ProviderOut"
      },
      "title": "Providers",
      "type": "array"
     },
     "unavailable": {
      "items": {
       "type": "string"
      },
      "title": "Unavailable",
      "type": "array"
     }
    },
    "required": [
     "providers",
     "unavailable"
    ],
    "title": "CatalogueOut",
    "type": "object"
   },
   "Category": {
    "enum": [
     "mainstream",
     "consumer",
     "business",
     "object_storage",
     "protocol",
     "media",
     "virtual"
    ],
    "title": "Category",
    "type": "string"
   },
   "ChangePassword": {
    "properties": {
     "current_password": {
      "maxLength": 1024,
      "minLength": 1,
      "title": "Current Password",
      "type": "string"
     },
     "new_password": {
      "maxLength": 1024,
      "minLength": 12,
      "title": "New Password",
      "type": "string"
     }
    },
    "required": [
     "current_password",
     "new_password"
    ],
    "title": "ChangePassword",
    "type": "object"
   },
   "ChannelCreate": {
    "additionalProperties": false,
    "properties": {
     "events": {
      "items": {
       "type": "string"
      },
      "minItems": 1,
      "title": "Events",
      "type": "array"
     },
     "kind": {
      "default": "webhook",
      "enum": [
       "webhook",
       "slack",
       "discord",
       "email",
       "push"
      ],
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "subscription": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/PushSubscriptionIn"
       },
       {
        "type": "null"
       }
      ]
     },
     "url": {
      "anyOf": [
       {
        "maxLength": 2048,
        "minLength": 8,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Url"
     }
    },
    "required": [
     "name",
     "events"
    ],
    "title": "ChannelCreate",
    "type": "object"
   },
   "ChannelCreated": {
    "description": "The create response, and the only time the signing secret is ever readable.\n\n``None`` for every kind but the generic webhook. Slack, Discord and a mailbox would not\ncheck a signature, and a secret nobody verifies is one more thing to leak for nothing.",
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "events": {
      "items": {
       "type": "string"
      },
      "title": "Events",
      "type": "array"
     },
     "failure_count": {
      "title": "Failure Count",
      "type": "integer"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "last_delivery_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Delivery At"
     },
     "last_error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Error"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "secret": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Secret"
     },
     "target": {
      "title": "Target",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "kind",
     "target",
     "events",
     "enabled",
     "created_at",
     "last_delivery_at",
     "last_error",
     "failure_count",
     "secret"
    ],
    "title": "ChannelCreated",
    "type": "object"
   },
   "ChannelOut": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "events": {
      "items": {
       "type": "string"
      },
      "title": "Events",
      "type": "array"
     },
     "failure_count": {
      "title": "Failure Count",
      "type": "integer"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "last_delivery_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Delivery At"
     },
     "last_error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Error"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "target": {
      "title": "Target",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "kind",
     "target",
     "events",
     "enabled",
     "created_at",
     "last_delivery_at",
     "last_error",
     "failure_count"
    ],
    "title": "ChannelOut",
    "type": "object"
   },
   "ChannelUpdate": {
    "additionalProperties": false,
    "properties": {
     "enabled": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Enabled"
     },
     "events": {
      "anyOf": [
       {
        "items": {
         "type": "string"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Events"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 120,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     }
    },
    "title": "ChannelUpdate",
    "type": "object"
   },
   "ChatOut": {
    "properties": {
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "slug": {
      "title": "Slug",
      "type": "string"
     },
     "title": {
      "title": "Title",
      "type": "string"
     }
    },
    "required": [
     "slug",
     "title",
     "kind"
    ],
    "title": "ChatOut",
    "type": "object"
   },
   "CleanupSpec": {
    "additionalProperties": false,
    "description": "Where to look, and what counts as large and old.",
    "properties": {
     "large_mb": {
      "default": 100,
      "maximum": 1000000,
      "minimum": 1,
      "title": "Large Mb",
      "type": "integer"
     },
     "older_than_days": {
      "default": 365,
      "maximum": 36500,
      "minimum": 0,
      "title": "Older Than Days",
      "type": "integer"
     },
     "places": {
      "items": {
       "$ref": "#/components/schemas/Place"
      },
      "maxItems": 10,
      "minItems": 1,
      "title": "Places",
      "type": "array"
     }
    },
    "required": [
     "places"
    ],
    "title": "CleanupSpec",
    "type": "object"
   },
   "CloneBatch": {
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "destinations": {
      "items": {
       "maxLength": 512,
       "minLength": 1,
       "type": "string"
      },
      "maxItems": 10,
      "minItems": 1,
      "title": "Destinations",
      "type": "array"
     },
     "follow": {
      "default": true,
      "title": "Follow",
      "type": "boolean"
     },
     "hide_sender": {
      "default": true,
      "title": "Hide Sender",
      "type": "boolean"
     },
     "interval_seconds": {
      "default": 60,
      "maximum": 3600,
      "minimum": 5,
      "title": "Interval Seconds",
      "type": "integer"
     },
     "kinds": {
      "items": {
       "enum": [
        "text",
        "photo",
        "video",
        "audio",
        "document",
        "other"
       ],
       "type": "string"
      },
      "title": "Kinds",
      "type": "array"
     },
     "last_count": {
      "default": 100,
      "maximum": 1000000,
      "minimum": 1,
      "title": "Last Count",
      "type": "integer"
     },
     "max_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Size"
     },
     "min_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Min Size"
     },
     "pairs": {
      "anyOf": [
       {
        "items": {
         "maxItems": 2,
         "minItems": 2,
         "prefixItems": [
          {
           "maxLength": 512,
           "minLength": 1,
           "type": "string"
          },
          {
           "maxLength": 512,
           "minLength": 1,
           "type": "string"
          }
         ],
         "type": "array"
        },
        "maxItems": 100,
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Pairs"
     },
     "resume": {
      "default": true,
      "title": "Resume",
      "type": "boolean"
     },
     "skip_existing": {
      "default": true,
      "title": "Skip Existing",
      "type": "boolean"
     },
     "sources": {
      "items": {
       "maxLength": 512,
       "minLength": 1,
       "type": "string"
      },
      "maxItems": 10,
      "minItems": 1,
      "title": "Sources",
      "type": "array"
     },
     "start": {
      "default": "all",
      "enum": [
       "all",
       "last",
       "new"
      ],
      "title": "Start",
      "type": "string"
     }
    },
    "required": [
     "account_id",
     "sources",
     "destinations"
    ],
    "title": "CloneBatch",
    "type": "object"
   },
   "CloneCreate": {
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "destination": {
      "maxLength": 512,
      "minLength": 1,
      "title": "Destination",
      "type": "string"
     },
     "follow": {
      "default": true,
      "title": "Follow",
      "type": "boolean"
     },
     "hide_sender": {
      "default": true,
      "title": "Hide Sender",
      "type": "boolean"
     },
     "interval_seconds": {
      "default": 60,
      "maximum": 3600,
      "minimum": 5,
      "title": "Interval Seconds",
      "type": "integer"
     },
     "kinds": {
      "items": {
       "enum": [
        "text",
        "photo",
        "video",
        "audio",
        "document",
        "other"
       ],
       "type": "string"
      },
      "title": "Kinds",
      "type": "array"
     },
     "last_count": {
      "default": 100,
      "maximum": 1000000,
      "minimum": 1,
      "title": "Last Count",
      "type": "integer"
     },
     "max_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Size"
     },
     "min_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Min Size"
     },
     "skip_existing": {
      "default": false,
      "title": "Skip Existing",
      "type": "boolean"
     },
     "source": {
      "maxLength": 512,
      "minLength": 1,
      "title": "Source",
      "type": "string"
     },
     "start": {
      "default": "all",
      "enum": [
       "all",
       "last",
       "new",
       "resume"
      ],
      "title": "Start",
      "type": "string"
     }
    },
    "required": [
     "account_id",
     "source",
     "destination"
    ],
    "title": "CloneCreate",
    "type": "object"
   },
   "CloneOut": {
    "properties": {
     "account_id": {
      "title": "Account Id",
      "type": "string"
     },
     "account_name": {
      "title": "Account Name",
      "type": "string"
     },
     "charged_bytes": {
      "default": 0,
      "title": "Charged Bytes",
      "type": "integer"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "cursor": {
      "title": "Cursor",
      "type": "integer"
     },
     "destination": {
      "$ref": "#/components/schemas/EndOut"
     },
     "end_id": {
      "title": "End Id",
      "type": "integer"
     },
     "failed": {
      "title": "Failed",
      "type": "integer"
     },
     "files_charged": {
      "default": 0,
      "title": "Files Charged",
      "type": "integer"
     },
     "follow": {
      "title": "Follow",
      "type": "boolean"
     },
     "forwarded": {
      "title": "Forwarded",
      "type": "integer"
     },
     "group_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Group Id"
     },
     "group_interval_seconds": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Group Interval Seconds"
     },
     "hide_sender": {
      "title": "Hide Sender",
      "type": "boolean"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "interval_seconds": {
      "title": "Interval Seconds",
      "type": "integer"
     },
     "kinds": {
      "items": {
       "type": "string"
      },
      "title": "Kinds",
      "type": "array"
     },
     "last_error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Error"
     },
     "last_forwarded_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Forwarded At"
     },
     "max_size": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Size"
     },
     "min_size": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Min Size"
     },
     "next_at": {
      "format": "date-time",
      "title": "Next At",
      "type": "string"
     },
     "phase": {
      "title": "Phase",
      "type": "string"
     },
     "skip_existing": {
      "default": false,
      "title": "Skip Existing",
      "type": "boolean"
     },
     "skipped": {
      "title": "Skipped",
      "type": "integer"
     },
     "source": {
      "$ref": "#/components/schemas/EndOut"
     },
     "start_cursor": {
      "title": "Start Cursor",
      "type": "integer"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "wait_until": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Wait Until"
     }
    },
    "required": [
     "id",
     "account_id",
     "account_name",
     "source",
     "destination",
     "status",
     "phase",
     "follow",
     "interval_seconds",
     "hide_sender",
     "kinds",
     "min_size",
     "max_size",
     "start_cursor",
     "cursor",
     "end_id",
     "forwarded",
     "skipped",
     "failed",
     "next_at",
     "wait_until",
     "last_forwarded_at",
     "last_error",
     "created_at"
    ],
    "title": "CloneOut",
    "type": "object"
   },
   "CloneUpdate": {
    "properties": {
     "follow": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Follow"
     },
     "hide_sender": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Hide Sender"
     },
     "interval_seconds": {
      "anyOf": [
       {
        "maximum": 3600,
        "minimum": 5,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Interval Seconds"
     },
     "kinds": {
      "anyOf": [
       {
        "items": {
         "enum": [
          "text",
          "photo",
          "video",
          "audio",
          "document",
          "other"
         ],
         "type": "string"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "title": "Kinds"
     },
     "max_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Size"
     },
     "min_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Min Size"
     },
     "skip_existing": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Skip Existing"
     },
     "status": {
      "anyOf": [
       {
        "enum": [
         "active",
         "paused"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Status"
     }
    },
    "title": "CloneUpdate",
    "type": "object"
   },
   "Cloud": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "files": {
      "title": "Files",
      "type": "boolean"
     },
     "folders": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/Folder"
      },
      "title": "Folders",
      "type": "array"
     },
     "holds": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Holds",
      "type": "array"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "default": "storage",
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "needs_folder": {
      "default": false,
      "title": "Needs Folder",
      "type": "boolean"
     },
     "picked_only": {
      "default": false,
      "title": "Picked Only",
      "type": "boolean"
     },
     "provider": {
      "title": "Provider",
      "type": "string"
     },
     "provider_label": {
      "title": "Provider Label",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "provider",
     "provider_label",
     "name",
     "status",
     "files",
     "created_at"
    ],
    "title": "Cloud",
    "type": "object"
   },
   "CodeIn": {
    "additionalProperties": false,
    "properties": {
     "code": {
      "maxLength": 64,
      "minLength": 1,
      "title": "Code",
      "type": "string"
     }
    },
    "required": [
     "code"
    ],
    "title": "CodeIn",
    "type": "object"
   },
   "CollectionOut": {
    "properties": {
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "writable": {
      "title": "Writable",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "name",
     "writable"
    ],
    "title": "CollectionOut",
    "type": "object"
   },
   "CompleteIn": {
    "additionalProperties": false,
    "properties": {
     "code_verifier": {
      "maxLength": 128,
      "minLength": 43,
      "title": "Code Verifier",
      "type": "string"
     },
     "completion": {
      "maxLength": 128,
      "minLength": 20,
      "title": "Completion",
      "type": "string"
     }
    },
    "required": [
     "completion",
     "code_verifier"
    ],
    "title": "CompleteIn",
    "type": "object"
   },
   "ConflictRule": {
    "description": "What happens to a file that is already at the destination.\n\nThree answers, because those are the three questions people actually ask. rclone's own\ndefault is the first -- replace it when it differs -- and it is what every mode does unless\ntold otherwise, which is why a job that names no rule is left exactly as it always was.\n\nThere is also an ``update`` *mode*, older than this, which is Copy with the third rule\nbuilt in. It stays, because saved schedules and job history name it; but it is one of the\nways of saying ``newer_only``, not a fourth thing, and :func:`check_options` refuses a rule\nthat contradicts it rather than quietly picking one of the two.",
    "enum": [
     "overwrite_if_different",
     "skip_existing",
     "newer_only"
    ],
    "title": "ConflictRule",
    "type": "string"
   },
   "ConnectIn": {
    "additionalProperties": false,
    "properties": {
     "code_challenge": {
      "maxLength": 128,
      "minLength": 43,
      "pattern": "^[A-Za-z0-9_-]+$",
      "title": "Code Challenge",
      "type": "string"
     },
     "provider": {
      "maxLength": 64,
      "minLength": 1,
      "title": "Provider",
      "type": "string"
     }
    },
    "required": [
     "provider",
     "code_challenge"
    ],
    "title": "ConnectIn",
    "type": "object"
   },
   "ConnectOut": {
    "properties": {
     "authorize_url": {
      "title": "Authorize Url",
      "type": "string"
     },
     "return_url": {
      "title": "Return Url",
      "type": "string"
     }
    },
    "required": [
     "authorize_url",
     "return_url"
    ],
    "title": "ConnectOut",
    "type": "object"
   },
   "ConnectedApp": {
    "properties": {
     "addresses": {
      "items": {
       "type": "string"
      },
      "title": "Addresses",
      "type": "array"
     },
     "countries": {
      "items": {
       "type": "string"
      },
      "title": "Countries",
      "type": "array"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "expires_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expires At"
     },
     "first_party": {
      "title": "First Party",
      "type": "boolean"
     },
     "folders": {
      "title": "Folders",
      "type": "integer"
     },
     "grant_id": {
      "format": "uuid",
      "title": "Grant Id",
      "type": "string"
     },
     "last_used_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Used At"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "requests_today": {
      "title": "Requests Today",
      "type": "integer"
     },
     "reviewed": {
      "title": "Reviewed",
      "type": "boolean"
     },
     "scope": {
      "title": "Scope",
      "type": "string"
     }
    },
    "required": [
     "grant_id",
     "name",
     "first_party",
     "reviewed",
     "scope",
     "folders",
     "addresses",
     "expires_at",
     "last_used_at",
     "countries",
     "created_at",
     "requests_today"
    ],
    "title": "ConnectedApp",
    "type": "object"
   },
   "CopyIn": {
    "additionalProperties": false,
    "description": "Items of one folder (``?path=``), copied or moved to a folder of any cloud.",
    "properties": {
     "destination_cloud_id": {
      "format": "uuid",
      "title": "Destination Cloud Id",
      "type": "string"
     },
     "destination_path": {
      "default": "",
      "maxLength": 4096,
      "title": "Destination Path",
      "type": "string"
     },
     "mode": {
      "default": "copy",
      "enum": [
       "copy",
       "move"
      ],
      "title": "Mode",
      "type": "string"
     },
     "names": {
      "items": {
       "type": "string"
      },
      "maxItems": 500,
      "minItems": 1,
      "title": "Names",
      "type": "array"
     }
    },
    "required": [
     "names",
     "destination_cloud_id"
    ],
    "title": "CopyIn",
    "type": "object"
   },
   "CopyOut": {
    "properties": {
     "message_id": {
      "title": "Message Id",
      "type": "integer"
     },
     "posted_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Posted At"
     }
    },
    "required": [
     "message_id",
     "posted_at"
    ],
    "title": "CopyOut",
    "type": "object"
   },
   "CutoverStatus": {
    "description": "Per person, after the cutover pass: in sync, or what is left.",
    "properties": {
     "finished": {
      "title": "Finished",
      "type": "boolean"
     },
     "members": {
      "items": {
       "$ref": "#/components/schemas/MemberSync"
      },
      "title": "Members",
      "type": "array"
     }
    },
    "required": [
     "finished",
     "members"
    ],
    "title": "CutoverStatus",
    "type": "object"
   },
   "DatabaseOut": {
    "properties": {
     "database": {
      "title": "Database",
      "type": "string"
     },
     "encrypted": {
      "title": "Encrypted",
      "type": "boolean"
     },
     "engine": {
      "title": "Engine",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_backup": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/RunOut"
       },
       {
        "type": "null"
       }
      ]
     },
     "last_restore": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/RunOut"
       },
       {
        "type": "null"
       }
      ]
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "provider": {
      "title": "Provider",
      "type": "string"
     },
     "provider_label": {
      "title": "Provider Label",
      "type": "string"
     },
     "restorable": {
      "title": "Restorable",
      "type": "boolean"
     },
     "schedules": {
      "items": {
       "$ref": "#/components/schemas/DatabaseScheduleOut"
      },
      "title": "Schedules",
      "type": "array"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "provider",
     "provider_label",
     "engine",
     "database",
     "status",
     "encrypted",
     "restorable",
     "last_backup",
     "last_restore",
     "schedules"
    ],
    "title": "DatabaseOut",
    "type": "object"
   },
   "DatabaseRestoreSpec": {
    "additionalProperties": false,
    "description": "Load one backup file from a cloud into a connected database.",
    "properties": {
     "confirm": {
      "maxLength": 200,
      "title": "Confirm",
      "type": "string"
     },
     "drop": {
      "default": false,
      "title": "Drop",
      "type": "boolean"
     },
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "passphrase": {
      "anyOf": [
       {
        "maxLength": 1024,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Passphrase"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "src_path": {
      "maxLength": 4096,
      "minLength": 1,
      "title": "Src Path",
      "type": "string"
     }
    },
    "required": [
     "src_account_id",
     "src_path",
     "dst_account_id",
     "confirm"
    ],
    "title": "DatabaseRestoreSpec",
    "type": "object"
   },
   "DatabaseScheduleOut": {
    "properties": {
     "cron": {
      "title": "Cron",
      "type": "string"
     },
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "title": "Dst Path",
      "type": "string"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "events": {
      "title": "Events",
      "type": "boolean"
     },
     "exclude": {
      "items": {
       "type": "string"
      },
      "title": "Exclude",
      "type": "array"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "include": {
      "items": {
       "type": "string"
      },
      "title": "Include",
      "type": "array"
     },
     "keep_last": {
      "title": "Keep Last",
      "type": "integer"
     },
     "last_error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Error"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "next_run_at": {
      "format": "date-time",
      "title": "Next Run At",
      "type": "string"
     },
     "routines": {
      "title": "Routines",
      "type": "boolean"
     },
     "timezone": {
      "title": "Timezone",
      "type": "string"
     },
     "triggers": {
      "title": "Triggers",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "name",
     "cron",
     "enabled",
     "next_run_at",
     "keep_last",
     "include",
     "exclude",
     "routines",
     "triggers",
     "events",
     "timezone",
     "last_error",
     "dst_account_id",
     "dst_path"
    ],
    "title": "DatabaseScheduleOut",
    "type": "object"
   },
   "DbObjectOut": {
    "properties": {
     "key": {
      "title": "Key",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "schema_name": {
      "title": "Schema Name",
      "type": "string"
     },
     "selectable": {
      "title": "Selectable",
      "type": "boolean"
     },
     "size": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Size"
     }
    },
    "required": [
     "kind",
     "name",
     "schema_name",
     "key",
     "size",
     "selectable"
    ],
    "title": "DbObjectOut",
    "type": "object"
   },
   "DelegateTokenOut": {
    "description": "One of their API tokens, as the owner sees it: the Security page's row, without the\ntoken, which was shown once to them and is kept only as a fingerprint.",
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "expired": {
      "title": "Expired",
      "type": "boolean"
     },
     "expires_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expires At"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_used_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Used At"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "prefix": {
      "title": "Prefix",
      "type": "string"
     },
     "scope": {
      "title": "Scope",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "prefix",
     "scope",
     "created_at",
     "last_used_at",
     "expires_at",
     "expired"
    ],
    "title": "DelegateTokenOut",
    "type": "object"
   },
   "DelegationOut": {
    "description": "What a member of an organisation needs picked, rather than typed.",
    "properties": {
     "member_label": {
      "title": "Member Label",
      "type": "string"
     },
     "tenant": {
      "title": "Tenant",
      "type": "string"
     },
     "tenant_label": {
      "title": "Tenant Label",
      "type": "string"
     }
    },
    "required": [
     "tenant",
     "tenant_label",
     "member_label"
    ],
    "title": "DelegationOut",
    "type": "object"
   },
   "DeleteAccount": {
    "additionalProperties": false,
    "description": "One of the two, depending on whether the account has a password.\n\nA passwordless account -- Google only -- confirms by typing its own address instead. That\nis not a secret, and is not meant to be one: it is the deliberate act that stops a\nmisclick, while the browser session requirement is what stops somebody else.",
    "properties": {
     "confirm_email": {
      "anyOf": [
       {
        "maxLength": 320,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Confirm Email"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 1024,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     }
    },
    "title": "DeleteAccount",
    "type": "object"
   },
   "DeleteConfirm": {
    "properties": {
     "skip_groups": {
      "items": {
       "type": "integer"
      },
      "maxItems": 100000,
      "title": "Skip Groups",
      "type": "array"
     }
    },
    "title": "DeleteConfirm",
    "type": "object"
   },
   "DeleteIn": {
    "additionalProperties": false,
    "properties": {
     "items": {
      "items": {
       "$ref": "#/components/schemas/DeleteItem"
      },
      "maxItems": 200,
      "minItems": 1,
      "title": "Items",
      "type": "array"
     }
    },
    "required": [
     "items"
    ],
    "title": "DeleteIn",
    "type": "object"
   },
   "DeleteItem": {
    "properties": {
     "folder": {
      "default": false,
      "title": "Folder",
      "type": "boolean"
     },
     "path": {
      "maxLength": 4096,
      "minLength": 1,
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "path"
    ],
    "title": "DeleteItem",
    "type": "object"
   },
   "DeleteResult": {
    "properties": {
     "error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Error"
     },
     "ok": {
      "title": "Ok",
      "type": "boolean"
     },
     "path": {
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "path",
     "ok"
    ],
    "title": "DeleteResult",
    "type": "object"
   },
   "DeliveryOut": {
    "properties": {
     "attempts": {
      "title": "Attempts",
      "type": "integer"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Error"
     },
     "event": {
      "title": "Event",
      "type": "string"
     },
     "finished_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Finished At"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "replay_of": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Replay Of"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "event",
     "status",
     "attempts",
     "error",
     "replay_of",
     "created_at",
     "finished_at"
    ],
    "title": "DeliveryOut",
    "type": "object"
   },
   "DeltaRequest": {
    "properties": {
     "cutover": {
      "default": false,
      "title": "Cutover",
      "type": "boolean"
     }
    },
    "title": "DeltaRequest",
    "type": "object"
   },
   "DirectoryOut": {
    "properties": {
     "people": {
      "items": {
       "$ref": "#/components/schemas/PersonOut"
      },
      "title": "People",
      "type": "array"
     },
     "truncated": {
      "title": "Truncated",
      "type": "boolean"
     }
    },
    "required": [
     "people",
     "truncated"
    ],
    "title": "DirectoryOut",
    "type": "object"
   },
   "Done": {
    "properties": {
     "done": {
      "title": "Done",
      "type": "boolean"
     },
     "path": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Path"
     },
     "transfer_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Transfer Id"
     }
    },
    "required": [
     "path",
     "done"
    ],
    "title": "Done",
    "type": "object"
   },
   "Drive": {
    "description": "The network drive, for an app's \"Use on your computer\" screen (network drive plan, 2.1).\n\nMaking an app password needs the step-up proof (the password or a code), which belongs to\nthe website, so the app sends people to ``app_passwords_url`` for that.",
    "properties": {
     "app_passwords_url": {
      "title": "App Passwords Url",
      "type": "string"
     },
     "drive_address": {
      "title": "Drive Address",
      "type": "string"
     },
     "drive_enabled": {
      "title": "Drive Enabled",
      "type": "boolean"
     },
     "sftp_address": {
      "title": "Sftp Address",
      "type": "string"
     },
     "sftp_enabled": {
      "title": "Sftp Enabled",
      "type": "boolean"
     },
     "username": {
      "title": "Username",
      "type": "string"
     }
    },
    "required": [
     "drive_enabled",
     "drive_address",
     "sftp_enabled",
     "sftp_address",
     "username",
     "app_passwords_url"
    ],
    "title": "Drive",
    "type": "object"
   },
   "DumpSpec": {
    "additionalProperties": false,
    "description": "Back one database up into a folder of a cloud.",
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "maxLength": 4096,
      "title": "Dst Path",
      "type": "string"
     },
     "events": {
      "default": false,
      "title": "Events",
      "type": "boolean"
     },
     "exclude": {
      "items": {
       "type": "string"
      },
      "maxItems": 200,
      "title": "Exclude",
      "type": "array"
     },
     "include": {
      "items": {
       "type": "string"
      },
      "maxItems": 200,
      "title": "Include",
      "type": "array"
     },
     "keep_last": {
      "default": 14,
      "maximum": 365,
      "minimum": 1,
      "title": "Keep Last",
      "type": "integer"
     },
     "routines": {
      "default": true,
      "title": "Routines",
      "type": "boolean"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "triggers": {
      "default": true,
      "title": "Triggers",
      "type": "boolean"
     }
    },
    "required": [
     "src_account_id",
     "dst_account_id"
    ],
    "title": "DumpSpec",
    "type": "object"
   },
   "DuplicateScanOut": {
    "properties": {
     "account_id": {
      "title": "Account Id",
      "type": "string"
     },
     "account_name": {
      "title": "Account Name",
      "type": "string"
     },
     "chat": {
      "$ref": "#/components/schemas/ChatOut"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "deleted": {
      "title": "Deleted",
      "type": "integer"
     },
     "duplicates": {
      "title": "Duplicates",
      "type": "integer"
     },
     "error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Error"
     },
     "groups": {
      "title": "Groups",
      "type": "integer"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "match": {
      "title": "Match",
      "type": "string"
     },
     "newest_id": {
      "title": "Newest Id",
      "type": "integer"
     },
     "scanned": {
      "title": "Scanned",
      "type": "integer"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "to_delete": {
      "title": "To Delete",
      "type": "integer"
     },
     "updated_at": {
      "format": "date-time",
      "title": "Updated At",
      "type": "string"
     }
    },
    "required": [
     "id",
     "account_id",
     "account_name",
     "chat",
     "match",
     "status",
     "scanned",
     "newest_id",
     "groups",
     "duplicates",
     "deleted",
     "to_delete",
     "error",
     "created_at",
     "updated_at"
    ],
    "title": "DuplicateScanOut",
    "type": "object"
   },
   "EditIn": {
    "additionalProperties": false,
    "properties": {
     "text": {
      "maxLength": 10000,
      "minLength": 1,
      "title": "Text",
      "type": "string"
     }
    },
    "required": [
     "text"
    ],
    "title": "EditIn",
    "type": "object"
   },
   "EmailSpec": {
    "additionalProperties": false,
    "description": "A request to migrate a mailbox into a cloud folder, or into another mailbox (2.6).\n\nInto a mailbox, ``dst_path`` is a folder there to put everything under (empty: alongside\nwhat is already there, with Sent, Trash and the rest matched to the destination's own), and\n``attachments`` and ``keep_original`` mean nothing -- the message is copied whole.",
    "properties": {
     "attachments": {
      "default": true,
      "title": "Attachments",
      "type": "boolean"
     },
     "attachments_only": {
      "default": false,
      "title": "Attachments Only",
      "type": "boolean"
     },
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "title": "Dst Path",
      "type": "string"
     },
     "filter": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/MailFilter"
       },
       {
        "type": "null"
       }
      ]
     },
     "folders": {
      "default": [],
      "items": {
       "type": "string"
      },
      "maxItems": 500,
      "title": "Folders",
      "type": "array"
     },
     "format": {
      "default": "archive",
      "enum": [
       "archive",
       "mbox"
      ],
      "title": "Format",
      "type": "string"
     },
     "keep_original": {
      "default": true,
      "title": "Keep Original",
      "type": "boolean"
     },
     "since": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Since"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     }
    },
    "required": [
     "src_account_id",
     "dst_account_id"
    ],
    "title": "EmailSpec",
    "type": "object"
   },
   "EndOut": {
    "properties": {
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "slug": {
      "title": "Slug",
      "type": "string"
     },
     "title": {
      "title": "Title",
      "type": "string"
     }
    },
    "required": [
     "slug",
     "title",
     "kind"
    ],
    "title": "EndOut",
    "type": "object"
   },
   "EnrolmentOut": {
    "description": "Shown once, while the person has their phone in hand. Never read back afterwards.",
    "properties": {
     "otpauth_uri": {
      "title": "Otpauth Uri",
      "type": "string"
     },
     "qr_svg": {
      "title": "Qr Svg",
      "type": "string"
     },
     "secret": {
      "title": "Secret",
      "type": "string"
     }
    },
    "required": [
     "secret",
     "otpauth_uri",
     "qr_svg"
    ],
    "title": "EnrolmentOut",
    "type": "object"
   },
   "EventOut": {
    "properties": {
     "at": {
      "format": "date-time",
      "title": "At",
      "type": "string"
     },
     "level": {
      "title": "Level",
      "type": "string"
     },
     "message": {
      "title": "Message",
      "type": "string"
     }
    },
    "required": [
     "at",
     "level",
     "message"
    ],
    "title": "EventOut",
    "type": "object"
   },
   "ExportOut": {
    "properties": {
     "name": {
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "name"
    ],
    "title": "ExportOut",
    "type": "object"
   },
   "FieldOut": {
    "properties": {
     "choice_labels": {
      "additionalProperties": {
       "type": "string"
      },
      "default": {},
      "title": "Choice Labels",
      "type": "object"
     },
     "choices": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Choices",
      "type": "array"
     },
     "help": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Help"
     },
     "key": {
      "title": "Key",
      "type": "string"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "placeholder": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Placeholder"
     },
     "required": {
      "title": "Required",
      "type": "boolean"
     },
     "required_unless": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Required Unless"
     },
     "secret": {
      "title": "Secret",
      "type": "boolean"
     }
    },
    "required": [
     "key",
     "label",
     "secret",
     "required",
     "placeholder",
     "help"
    ],
    "title": "FieldOut",
    "type": "object"
   },
   "FieldsIn": {
    "additionalProperties": false,
    "properties": {
     "display_name": {
      "default": "",
      "maxLength": 200,
      "title": "Display Name",
      "type": "string"
     },
     "fields": {
      "additionalProperties": {
       "type": "string"
      },
      "default": {},
      "title": "Fields",
      "type": "object"
     },
     "members": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/app__api__routes__accounts___shared__MemberIn"
      },
      "title": "Members",
      "type": "array"
     },
     "provider": {
      "maxLength": 64,
      "minLength": 1,
      "title": "Provider",
      "type": "string"
     }
    },
    "required": [
     "provider"
    ],
    "title": "FieldsIn",
    "type": "object"
   },
   "File": {
    "properties": {
     "folder": {
      "title": "Folder",
      "type": "boolean"
     },
     "mime_type": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Mime Type"
     },
     "modified": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Modified"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "path": {
      "title": "Path",
      "type": "string"
     },
     "size": {
      "title": "Size",
      "type": "integer"
     }
    },
    "required": [
     "name",
     "path",
     "folder",
     "size",
     "modified",
     "mime_type"
    ],
    "title": "File",
    "type": "object"
   },
   "FileOut": {
    "properties": {
     "message_id": {
      "title": "Message Id",
      "type": "integer"
     },
     "mime": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Mime"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "posted_at": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Posted At"
     },
     "size": {
      "title": "Size",
      "type": "integer"
     }
    },
    "required": [
     "message_id",
     "name",
     "size"
    ],
    "title": "FileOut",
    "type": "object"
   },
   "Folder": {
    "properties": {
     "can_write": {
      "title": "Can Write",
      "type": "boolean"
     },
     "path": {
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "path",
     "can_write"
    ],
    "title": "Folder",
    "type": "object"
   },
   "FolderOut": {
    "description": "One folder of a mailbox, as the picker shows it.",
    "properties": {
     "depth": {
      "title": "Depth",
      "type": "integer"
     },
     "duplicates": {
      "title": "Duplicates",
      "type": "boolean"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "selectable": {
      "title": "Selectable",
      "type": "boolean"
     }
    },
    "required": [
     "name",
     "depth",
     "selectable",
     "duplicates"
    ],
    "title": "FolderOut",
    "type": "object"
   },
   "FoldersOut": {
    "properties": {
     "folders": {
      "items": {
       "$ref": "#/components/schemas/FolderOut"
      },
      "title": "Folders",
      "type": "array"
     },
     "suggested": {
      "items": {
       "type": "string"
      },
      "title": "Suggested",
      "type": "array"
     }
    },
    "required": [
     "folders",
     "suggested"
    ],
    "title": "FoldersOut",
    "type": "object"
   },
   "GrantCreate": {
    "additionalProperties": false,
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "can_write": {
      "default": false,
      "title": "Can Write",
      "type": "boolean"
     },
     "path": {
      "default": "",
      "maxLength": 1024,
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "account_id"
    ],
    "title": "GrantCreate",
    "type": "object"
   },
   "GrantCreated": {
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "account_name": {
      "title": "Account Name",
      "type": "string"
     },
     "can_write": {
      "title": "Can Write",
      "type": "boolean"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "path": {
      "title": "Path",
      "type": "string"
     },
     "replaced": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Replaced",
      "type": "array"
     }
    },
    "required": [
     "id",
     "account_id",
     "account_name",
     "path",
     "can_write",
     "created_at"
    ],
    "title": "GrantCreated",
    "type": "object"
   },
   "GrantOut": {
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "account_name": {
      "title": "Account Name",
      "type": "string"
     },
     "can_write": {
      "title": "Can Write",
      "type": "boolean"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "path": {
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "id",
     "account_id",
     "account_name",
     "path",
     "can_write",
     "created_at"
    ],
    "title": "GrantOut",
    "type": "object"
   },
   "GrantUpdate": {
    "additionalProperties": false,
    "properties": {
     "can_write": {
      "title": "Can Write",
      "type": "boolean"
     }
    },
    "required": [
     "can_write"
    ],
    "title": "GrantUpdate",
    "type": "object"
   },
   "GroupOut": {
    "properties": {
     "index": {
      "title": "Index",
      "type": "integer"
     },
     "keep": {
      "$ref": "#/components/schemas/CopyOut"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "remove": {
      "items": {
       "$ref": "#/components/schemas/CopyOut"
      },
      "title": "Remove",
      "type": "array"
     },
     "size": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Size"
     }
    },
    "required": [
     "index",
     "kind",
     "name",
     "size",
     "keep",
     "remove"
    ],
    "title": "GroupOut",
    "type": "object"
   },
   "GroupUpdate": {
    "properties": {
     "interval_seconds": {
      "anyOf": [
       {
        "maximum": 3600,
        "minimum": 5,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Interval Seconds"
     },
     "status": {
      "anyOf": [
       {
        "enum": [
         "active",
         "paused"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Status"
     }
    },
    "title": "GroupUpdate",
    "type": "object"
   },
   "GroupsOut": {
    "properties": {
     "groups": {
      "items": {
       "$ref": "#/components/schemas/GroupOut"
      },
      "title": "Groups",
      "type": "array"
     },
     "total": {
      "title": "Total",
      "type": "integer"
     }
    },
    "required": [
     "total",
     "groups"
    ],
    "title": "GroupsOut",
    "type": "object"
   },
   "HTTPValidationError": {
    "properties": {
     "detail": {
      "items": {
       "$ref": "#/components/schemas/ValidationError"
      },
      "title": "Detail",
      "type": "array"
     }
    },
    "title": "HTTPValidationError",
    "type": "object"
   },
   "HeldJobOut": {
    "description": "One held job, as the People page lists it: enough to recognise it and decide.",
    "properties": {
     "bytes_done": {
      "title": "Bytes Done",
      "type": "integer"
     },
     "bytes_total": {
      "title": "Bytes Total",
      "type": "integer"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "dst_path": {
      "title": "Dst Path",
      "type": "string"
     },
     "held_at": {
      "format": "date-time",
      "title": "Held At",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "src_path": {
      "title": "Src Path",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "kind",
     "status",
     "src_path",
     "dst_path",
     "bytes_done",
     "bytes_total",
     "held_at",
     "created_at"
    ],
    "title": "HeldJobOut",
    "type": "object"
   },
   "HistoryLine": {
    "properties": {
     "at": {
      "format": "date-time",
      "title": "At",
      "type": "string"
     },
     "level": {
      "title": "Level",
      "type": "string"
     },
     "message": {
      "title": "Message",
      "type": "string"
     }
    },
    "required": [
     "at",
     "level",
     "message"
    ],
    "title": "HistoryLine",
    "type": "object"
   },
   "JobStatus": {
    "enum": [
     "queued",
     "running",
     "succeeded",
     "failed",
     "cancelled",
     "paused"
    ],
    "title": "JobStatus",
    "type": "string"
   },
   "KindsOut": {
    "properties": {
     "kinds": {
      "items": {
       "type": "string"
      },
      "title": "Kinds",
      "type": "array"
     }
    },
    "required": [
     "kinds"
    ],
    "title": "KindsOut",
    "type": "object"
   },
   "LendableAccount": {
    "description": "One of the owner's accounts a folder can be lent from, for the grant form.",
    "properties": {
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "provider": {
      "title": "Provider",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "provider"
    ],
    "title": "LendableAccount",
    "type": "object"
   },
   "Listing": {
    "properties": {
     "can_write": {
      "title": "Can Write",
      "type": "boolean"
     },
     "items": {
      "items": {
       "$ref": "#/components/schemas/File"
      },
      "title": "Items",
      "type": "array"
     },
     "next_cursor": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Next Cursor"
     }
    },
    "required": [
     "items",
     "can_write"
    ],
    "title": "Listing",
    "type": "object"
   },
   "ListingOut": {
    "description": "A Telegram listing: chats at the root, files inside one.\n\nBoth shapes come back from one endpoint because the explorer asks one question -- \"what\nis at this path\" -- and Telegram's answer happens to be two different things depending on\nhow deep you are.",
    "properties": {
     "chats": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/ChatOut"
      },
      "title": "Chats",
      "type": "array"
     },
     "files": {
      "default": [],
      "items": {
       "$ref": "#/components/schemas/FileOut"
      },
      "title": "Files",
      "type": "array"
     },
     "max_file_size": {
      "default": 0,
      "title": "Max File Size",
      "type": "integer"
     },
     "next_before": {
      "default": 0,
      "title": "Next Before",
      "type": "integer"
     },
     "path": {
      "title": "Path",
      "type": "string"
     },
     "premium": {
      "default": false,
      "title": "Premium",
      "type": "boolean"
     }
    },
    "required": [
     "path"
    ],
    "title": "ListingOut",
    "type": "object"
   },
   "LiveOut": {
    "description": "Changes copied as they happen (competitor-parity-2, 3.4).",
    "properties": {
     "last_copied_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Copied At"
     },
     "problem": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Problem"
     },
     "waiting_since": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Waiting Since"
     },
     "watchable": {
      "title": "Watchable",
      "type": "integer"
     },
     "watching": {
      "title": "Watching",
      "type": "integer"
     }
    },
    "required": [
     "watching",
     "watchable",
     "last_copied_at",
     "waiting_since",
     "problem"
    ],
    "title": "LiveOut",
    "type": "object"
   },
   "MailFilter": {
    "additionalProperties": false,
    "description": "What a message must be to be taken. Every field left empty matches every message.",
    "properties": {
     "before": {
      "anyOf": [
       {
        "format": "date",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Before"
     },
     "has_attachment": {
      "default": false,
      "title": "Has Attachment",
      "type": "boolean"
     },
     "max_bytes": {
      "anyOf": [
       {
        "minimum": 1,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Bytes"
     },
     "min_bytes": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Min Bytes"
     },
     "recipient": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Recipient"
     },
     "sender": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Sender"
     },
     "subject": {
      "anyOf": [
       {
        "maxLength": 200,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Subject"
     }
    },
    "title": "MailFilter",
    "type": "object"
   },
   "MailboxOut": {
    "description": "What a mail account needs, for a dialog that is an address and a password.\n\nThe server details travel with the descriptor because finding them is the step that\nloses people -- and because \"app password\" being stated up front is the difference\nbetween one attempt and three.",
    "properties": {
     "app_password": {
      "title": "App Password",
      "type": "boolean"
     },
     "app_password_steps": {
      "items": {
       "type": "string"
      },
      "title": "App Password Steps",
      "type": "array"
     },
     "app_password_url": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "App Password Url"
     },
     "host": {
      "title": "Host",
      "type": "string"
     },
     "port": {
      "title": "Port",
      "type": "integer"
     },
     "security": {
      "title": "Security",
      "type": "string"
     }
    },
    "required": [
     "host",
     "port",
     "security",
     "app_password",
     "app_password_url",
     "app_password_steps"
    ],
    "title": "MailboxOut",
    "type": "object"
   },
   "Me": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "email": {
      "title": "Email",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "scope": {
      "title": "Scope",
      "type": "string"
     },
     "sub_account": {
      "title": "Sub Account",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "email",
     "sub_account",
     "created_at",
     "scope"
    ],
    "title": "Me",
    "type": "object"
   },
   "MemberChange": {
    "additionalProperties": false,
    "properties": {
     "can_write": {
      "title": "Can Write",
      "type": "boolean"
     }
    },
    "required": [
     "can_write"
    ],
    "title": "MemberChange",
    "type": "object"
   },
   "MemberPlan": {
    "description": "What one member of the batch will do, and anything the operator should know first.",
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "title": "Dst Path",
      "type": "string"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "server_side": {
      "title": "Server Side",
      "type": "boolean"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "src_path": {
      "title": "Src Path",
      "type": "string"
     },
     "verification": {
      "title": "Verification",
      "type": "string"
     },
     "warnings": {
      "items": {
       "type": "string"
      },
      "title": "Warnings",
      "type": "array"
     }
    },
    "required": [
     "label",
     "src_account_id",
     "src_path",
     "dst_account_id",
     "dst_path",
     "server_side",
     "verification",
     "warnings"
    ],
    "title": "MemberPlan",
    "type": "object"
   },
   "MemberSync": {
    "properties": {
     "different": {
      "title": "Different",
      "type": "integer"
     },
     "in_sync": {
      "title": "In Sync",
      "type": "boolean"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "missing": {
      "title": "Missing",
      "type": "integer"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "label",
     "status",
     "missing",
     "different",
     "in_sync"
    ],
    "title": "MemberSync",
    "type": "object"
   },
   "MessageIn": {
    "additionalProperties": false,
    "properties": {
     "mentions": {
      "items": {
       "format": "uuid",
       "type": "string"
      },
      "maxItems": 50,
      "title": "Mentions",
      "type": "array"
     },
     "parent_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Parent Id"
     },
     "path": {
      "anyOf": [
       {
        "maxLength": 2048,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Path"
     },
     "text": {
      "maxLength": 10000,
      "minLength": 1,
      "title": "Text",
      "type": "string"
     }
    },
    "required": [
     "text"
    ],
    "title": "MessageIn",
    "type": "object"
   },
   "MessageOut": {
    "properties": {
     "attachments": {
      "items": {
       "$ref": "#/components/schemas/AttachmentOut"
      },
      "title": "Attachments",
      "type": "array"
     },
     "author": {
      "title": "Author",
      "type": "string"
     },
     "body": {
      "title": "Body",
      "type": "string"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "mine": {
      "title": "Mine",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "kind",
     "body",
     "created_at",
     "author",
     "mine",
     "attachments"
    ],
    "title": "MessageOut",
    "type": "object"
   },
   "MirrorOut": {
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_name": {
      "title": "Dst Name",
      "type": "string"
     },
     "dst_path": {
      "title": "Dst Path",
      "type": "string"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "every_minutes": {
      "title": "Every Minutes",
      "type": "integer"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Error"
     },
     "last_reconciled_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Reconciled At"
     },
     "last_run_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Run At"
     },
     "last_status": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/JobStatus"
       },
       {
        "type": "null"
       }
      ]
     },
     "live": {
      "$ref": "#/components/schemas/LiveOut"
     },
     "mode": {
      "title": "Mode",
      "type": "string"
     },
     "people": {
      "title": "People",
      "type": "integer"
     },
     "shared_drives": {
      "title": "Shared Drives",
      "type": "boolean"
     },
     "spaces": {
      "title": "Spaces",
      "type": "integer"
     },
     "tenant_account_id": {
      "format": "uuid",
      "title": "Tenant Account Id",
      "type": "string"
     },
     "tenant_name": {
      "title": "Tenant Name",
      "type": "string"
     }
    },
    "required": [
     "id",
     "tenant_account_id",
     "tenant_name",
     "dst_account_id",
     "dst_name",
     "dst_path",
     "mode",
     "shared_drives",
     "people",
     "spaces",
     "every_minutes",
     "enabled",
     "last_run_at",
     "last_status",
     "last_reconciled_at",
     "last_error",
     "live"
    ],
    "title": "MirrorOut",
    "type": "object"
   },
   "MirrorPatch": {
    "additionalProperties": false,
    "properties": {
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     }
    },
    "required": [
     "enabled"
    ],
    "title": "MirrorPatch",
    "type": "object"
   },
   "MirrorSpec": {
    "additionalProperties": false,
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "maxLength": 1024,
      "title": "Dst Path",
      "type": "string"
     },
     "every_minutes": {
      "default": 15,
      "enum": [
       15,
       30,
       60
      ],
      "title": "Every Minutes",
      "type": "integer"
     },
     "mode": {
      "default": "mirror",
      "enum": [
       "mirror",
       "two_way",
       "copy"
      ],
      "title": "Mode",
      "type": "string"
     },
     "shared_drives": {
      "default": true,
      "title": "Shared Drives",
      "type": "boolean"
     },
     "tenant_account_id": {
      "format": "uuid",
      "title": "Tenant Account Id",
      "type": "string"
     }
    },
    "required": [
     "tenant_account_id",
     "dst_account_id"
    ],
    "title": "MirrorSpec",
    "type": "object"
   },
   "NewChat": {
    "properties": {
     "body": {
      "maxLength": 20000,
      "title": "Body",
      "type": "string"
     },
     "category": {
      "default": "other",
      "maxLength": 32,
      "title": "Category",
      "type": "string"
     },
     "context": {
      "additionalProperties": true,
      "title": "Context",
      "type": "object"
     }
    },
    "required": [
     "body"
    ],
    "title": "NewChat",
    "type": "object"
   },
   "NewFolder": {
    "properties": {
     "name": {
      "maxLength": 255,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "name"
    ],
    "title": "NewFolder",
    "type": "object"
   },
   "NewMessage": {
    "properties": {
     "body": {
      "maxLength": 20000,
      "title": "Body",
      "type": "string"
     }
    },
    "required": [
     "body"
    ],
    "title": "NewMessage",
    "type": "object"
   },
   "NewTicket": {
    "properties": {
     "body": {
      "maxLength": 20000,
      "title": "Body",
      "type": "string"
     },
     "category": {
      "maxLength": 32,
      "title": "Category",
      "type": "string"
     },
     "context": {
      "additionalProperties": true,
      "title": "Context",
      "type": "object"
     },
     "priority": {
      "default": "normal",
      "maxLength": 16,
      "title": "Priority",
      "type": "string"
     },
     "subject": {
      "maxLength": 400,
      "title": "Subject",
      "type": "string"
     }
    },
    "required": [
     "subject",
     "category",
     "body"
    ],
    "title": "NewTicket",
    "type": "object"
   },
   "Page_Transfer_": {
    "properties": {
     "items": {
      "items": {
       "$ref": "#/components/schemas/Transfer"
      },
      "title": "Items",
      "type": "array"
     },
     "next_cursor": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Next Cursor"
     }
    },
    "required": [
     "items"
    ],
    "title": "Page[Transfer]",
    "type": "object"
   },
   "PairCloneOut": {
    "properties": {
     "id": {
      "title": "Id",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "status"
    ],
    "title": "PairCloneOut",
    "type": "object"
   },
   "PairOut": {
    "properties": {
     "destination": {
      "title": "Destination",
      "type": "string"
     },
     "existing": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/PairCloneOut"
       },
       {
        "type": "null"
       }
      ]
     },
     "saved": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/SavedOut"
       },
       {
        "type": "null"
       }
      ]
     },
     "source": {
      "title": "Source",
      "type": "string"
     }
    },
    "required": [
     "source",
     "destination",
     "existing",
     "saved"
    ],
    "title": "PairOut",
    "type": "object"
   },
   "PairsIn": {
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "destinations": {
      "items": {
       "maxLength": 512,
       "minLength": 1,
       "type": "string"
      },
      "maxItems": 10,
      "minItems": 1,
      "title": "Destinations",
      "type": "array"
     },
     "sources": {
      "items": {
       "maxLength": 512,
       "minLength": 1,
       "type": "string"
      },
      "maxItems": 10,
      "minItems": 1,
      "title": "Sources",
      "type": "array"
     }
    },
    "required": [
     "account_id",
     "sources",
     "destinations"
    ],
    "title": "PairsIn",
    "type": "object"
   },
   "PasskeyOut": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_used_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Used At"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "synced": {
      "title": "Synced",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "name",
     "created_at",
     "last_used_at",
     "synced"
    ],
    "title": "PasskeyOut",
    "type": "object"
   },
   "PasskeyRenameIn": {
    "additionalProperties": false,
    "properties": {
     "name": {
      "maxLength": 80,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "name"
    ],
    "title": "PasskeyRenameIn",
    "type": "object"
   },
   "PasskeysOut": {
    "properties": {
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "fresh": {
      "title": "Fresh",
      "type": "boolean"
     },
     "passkeys": {
      "items": {
       "$ref": "#/components/schemas/PasskeyOut"
      },
      "title": "Passkeys",
      "type": "array"
     }
    },
    "required": [
     "enabled",
     "passkeys",
     "fresh"
    ],
    "title": "PasskeysOut",
    "type": "object"
   },
   "PasswordSaveIn": {
    "properties": {
     "password": {
      "maxLength": 512,
      "minLength": 1,
      "title": "Password",
      "type": "string"
     }
    },
    "required": [
     "password"
    ],
    "title": "PasswordSaveIn",
    "type": "object"
   },
   "Person": {
    "description": "One of the owner's people, who can be added to a workspace.",
    "properties": {
     "email": {
      "title": "Email",
      "type": "string"
     },
     "is_active": {
      "title": "Is Active",
      "type": "boolean"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "role": {
      "title": "Role",
      "type": "string"
     },
     "user_id": {
      "format": "uuid",
      "title": "User Id",
      "type": "string"
     }
    },
    "required": [
     "user_id",
     "email",
     "label",
     "role",
     "is_active"
    ],
    "title": "Person",
    "type": "object"
   },
   "PersonOut": {
    "description": "One member of an organisation, as its own directory describes them.",
    "properties": {
     "active": {
      "title": "Active",
      "type": "boolean"
     },
     "connected": {
      "title": "Connected",
      "type": "boolean"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "id",
     "label",
     "name",
     "active",
     "connected"
    ],
    "title": "PersonOut",
    "type": "object"
   },
   "PimOut": {
    "description": "What a calendars-and-contacts account holds, and how to make its app password.",
    "properties": {
     "app_password_steps": {
      "items": {
       "type": "string"
      },
      "title": "App Password Steps",
      "type": "array"
     },
     "app_password_url": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "App Password Url"
     },
     "calendars": {
      "title": "Calendars",
      "type": "boolean"
     },
     "contacts": {
      "title": "Contacts",
      "type": "boolean"
     }
    },
    "required": [
     "calendars",
     "contacts",
     "app_password_url",
     "app_password_steps"
    ],
    "title": "PimOut",
    "type": "object"
   },
   "PimTransferSpec": {
    "additionalProperties": false,
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_collection": {
      "default": "",
      "maxLength": 2048,
      "title": "Dst Collection",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "title": "Dst Path",
      "type": "string"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "src_collections": {
      "items": {
       "type": "string"
      },
      "maxItems": 200,
      "title": "Src Collections",
      "type": "array"
     },
     "src_path": {
      "default": "",
      "title": "Src Path",
      "type": "string"
     },
     "what": {
      "enum": [
       "calendars",
       "contacts"
      ],
      "title": "What",
      "type": "string"
     }
    },
    "required": [
     "what",
     "src_account_id",
     "dst_account_id"
    ],
    "title": "PimTransferSpec",
    "type": "object"
   },
   "Place": {
    "additionalProperties": false,
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "path": {
      "default": "",
      "maxLength": 4096,
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "account_id"
    ],
    "title": "Place",
    "type": "object"
   },
   "Plan": {
    "properties": {
     "brake": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Brake"
     },
     "can_choose_google_docs": {
      "default": false,
      "title": "Can Choose Google Docs",
      "type": "boolean"
     },
     "can_keep_sharing": {
      "default": false,
      "title": "Can Keep Sharing",
      "type": "boolean"
     },
     "notes": {
      "items": {
       "type": "string"
      },
      "title": "Notes",
      "type": "array"
     },
     "server_side": {
      "title": "Server Side",
      "type": "boolean"
     },
     "verification": {
      "title": "Verification",
      "type": "string"
     },
     "warnings": {
      "items": {
       "type": "string"
      },
      "title": "Warnings",
      "type": "array"
     }
    },
    "required": [
     "server_side",
     "verification",
     "warnings",
     "notes"
    ],
    "title": "Plan",
    "type": "object"
   },
   "PositionOut": {
    "properties": {
     "clone": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/PairCloneOut"
       },
       {
        "type": "null"
       }
      ]
     },
     "saved": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/SavedOut"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "clone",
     "saved"
    ],
    "title": "PositionOut",
    "type": "object"
   },
   "PreviewOut": {
    "properties": {
     "pairs": {
      "items": {
       "$ref": "#/components/schemas/PairOut"
      },
      "title": "Pairs",
      "type": "array"
     }
    },
    "required": [
     "pairs"
    ],
    "title": "PreviewOut",
    "type": "object"
   },
   "PricingOut": {
    "properties": {
     "bytes_per_file": {
      "title": "Bytes Per File",
      "type": "integer"
     },
     "files_left": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Files Left"
     },
     "files_per_gb": {
      "title": "Files Per Gb",
      "type": "integer"
     },
     "remaining_bytes": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Remaining Bytes"
     }
    },
    "required": [
     "bytes_per_file",
     "files_per_gb",
     "remaining_bytes",
     "files_left"
    ],
    "title": "PricingOut",
    "type": "object"
   },
   "Profile": {
    "properties": {
     "account_url": {
      "title": "Account Url",
      "type": "string"
     },
     "email": {
      "title": "Email",
      "type": "string"
     },
     "email_verified": {
      "title": "Email Verified",
      "type": "boolean"
     },
     "google_linked": {
      "title": "Google Linked",
      "type": "boolean"
     },
     "has_password": {
      "title": "Has Password",
      "type": "boolean"
     },
     "mail_configured": {
      "title": "Mail Configured",
      "type": "boolean"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "passkeys_enabled": {
      "title": "Passkeys Enabled",
      "type": "boolean"
     },
     "role": {
      "enum": [
       "owner",
       "admin",
       "member",
       "viewer"
      ],
      "title": "Role",
      "type": "string"
     },
     "security_url": {
      "title": "Security Url",
      "type": "string"
     },
     "sub_account": {
      "title": "Sub Account",
      "type": "boolean"
     }
    },
    "required": [
     "email",
     "name",
     "email_verified",
     "has_password",
     "google_linked",
     "sub_account",
     "role",
     "mail_configured",
     "passkeys_enabled",
     "account_url",
     "security_url"
    ],
    "title": "Profile",
    "type": "object"
   },
   "ProofIn": {
    "additionalProperties": false,
    "description": "The password or a code (an authenticator code or a recovery code). One of the two.",
    "properties": {
     "code": {
      "anyOf": [
       {
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Code"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 1024,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     }
    },
    "title": "ProofIn",
    "type": "object"
   },
   "ProviderOut": {
    "properties": {
     "auth": {
      "$ref": "#/components/schemas/AuthFamily"
     },
     "best_effort": {
      "title": "Best Effort",
      "type": "boolean"
     },
     "category": {
      "$ref": "#/components/schemas/Category"
     },
     "chats": {
      "default": false,
      "title": "Chats",
      "type": "boolean"
     },
     "code_sign_in": {
      "default": false,
      "title": "Code Sign In",
      "type": "boolean"
     },
     "configured": {
      "default": true,
      "title": "Configured",
      "type": "boolean"
     },
     "database": {
      "default": false,
      "title": "Database",
      "type": "boolean"
     },
     "delegation": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/DelegationOut"
       },
       {
        "type": "null"
       }
      ]
     },
     "fields": {
      "items": {
       "$ref": "#/components/schemas/FieldOut"
      },
      "title": "Fields",
      "type": "array"
     },
     "hashes": {
      "items": {
       "type": "string"
      },
      "title": "Hashes",
      "type": "array"
     },
     "key": {
      "title": "Key",
      "type": "string"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "limits": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Limits",
      "type": "array"
     },
     "mailbox": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/MailboxOut"
       },
       {
        "type": "null"
       }
      ]
     },
     "managed": {
      "default": false,
      "title": "Managed",
      "type": "boolean"
     },
     "notes": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Notes"
     },
     "pim": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/PimOut"
       },
       {
        "type": "null"
       }
      ]
     },
     "read_only": {
      "title": "Read Only",
      "type": "boolean"
     },
     "redirect": {
      "default": false,
      "title": "Redirect",
      "type": "boolean"
     },
     "source": {
      "default": false,
      "title": "Source",
      "type": "boolean"
     },
     "storage": {
      "default": true,
      "title": "Storage",
      "type": "boolean"
     },
     "supports_public_link": {
      "title": "Supports Public Link",
      "type": "boolean"
     },
     "supports_server_side_copy": {
      "title": "Supports Server Side Copy",
      "type": "boolean"
     },
     "tier": {
      "title": "Tier",
      "type": "integer"
     },
     "unconfigured_reason": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Unconfigured Reason"
     },
     "view_of": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "View Of"
     },
     "watch_changes": {
      "default": false,
      "title": "Watch Changes",
      "type": "boolean"
     },
     "wrapper": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/WrapperOut"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "key",
     "label",
     "category",
     "tier",
     "auth",
     "fields",
     "notes",
     "best_effort",
     "supports_public_link",
     "supports_server_side_copy",
     "read_only",
     "hashes"
    ],
    "title": "ProviderOut",
    "type": "object"
   },
   "PstSpec": {
    "additionalProperties": false,
    "description": "Convert ``src_path`` (a .pst) into .mbox files under ``dst_path``; then, if\n``restore_into`` names a mailbox, restore them there under ``restore_path``.",
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "title": "Dst Path",
      "type": "string"
     },
     "restore_into": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Restore Into"
     },
     "restore_path": {
      "default": "",
      "title": "Restore Path",
      "type": "string"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "src_path": {
      "title": "Src Path",
      "type": "string"
     }
    },
    "required": [
     "src_account_id",
     "src_path",
     "dst_account_id"
    ],
    "title": "PstSpec",
    "type": "object"
   },
   "PushKeys": {
    "properties": {
     "auth": {
      "maxLength": 512,
      "minLength": 1,
      "title": "Auth",
      "type": "string"
     },
     "p256dh": {
      "maxLength": 512,
      "minLength": 1,
      "title": "P256Dh",
      "type": "string"
     }
    },
    "required": [
     "p256dh",
     "auth"
    ],
    "title": "PushKeys",
    "type": "object"
   },
   "PushSubscriptionIn": {
    "description": "``PushSubscription.toJSON()`` as the browser gives it. ``expirationTime`` is ignored.",
    "properties": {
     "endpoint": {
      "maxLength": 2048,
      "minLength": 8,
      "title": "Endpoint",
      "type": "string"
     },
     "expirationTime": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expirationtime"
     },
     "keys": {
      "$ref": "#/components/schemas/PushKeys"
     }
    },
    "required": [
     "endpoint",
     "keys"
    ],
    "title": "PushSubscriptionIn",
    "type": "object"
   },
   "Rating": {
    "properties": {
     "comment": {
      "anyOf": [
       {
        "maxLength": 2000,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Comment"
     },
     "rating": {
      "maximum": 5,
      "minimum": 1,
      "title": "Rating",
      "type": "integer"
     }
    },
    "required": [
     "rating"
    ],
    "title": "Rating",
    "type": "object"
   },
   "ReactionIn": {
    "additionalProperties": false,
    "properties": {
     "emoji": {
      "maxLength": 16,
      "minLength": 1,
      "title": "Emoji",
      "type": "string"
     }
    },
    "required": [
     "emoji"
    ],
    "title": "ReactionIn",
    "type": "object"
   },
   "ReceiptOut": {
    "properties": {
     "amount": {
      "title": "Amount",
      "type": "string"
     },
     "amount_paise": {
      "title": "Amount Paise",
      "type": "integer"
     },
     "bytes_bought": {
      "title": "Bytes Bought",
      "type": "integer"
     },
     "currency": {
      "title": "Currency",
      "type": "string"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "method": {
      "title": "Method",
      "type": "string"
     },
     "number": {
      "title": "Number",
      "type": "string"
     },
     "paid_at": {
      "title": "Paid At",
      "type": "string"
     },
     "refunded_paise": {
      "title": "Refunded Paise",
      "type": "integer"
     },
     "what": {
      "title": "What",
      "type": "string"
     }
    },
    "required": [
     "id",
     "number",
     "what",
     "bytes_bought",
     "amount_paise",
     "currency",
     "amount",
     "paid_at",
     "method",
     "refunded_paise"
    ],
    "title": "ReceiptOut",
    "type": "object"
   },
   "ReceiptsOut": {
    "properties": {
     "billed_to": {
      "title": "Billed To",
      "type": "string"
     },
     "gstin": {
      "title": "Gstin",
      "type": "string"
     },
     "receipts": {
      "items": {
       "$ref": "#/components/schemas/ReceiptOut"
      },
      "title": "Receipts",
      "type": "array"
     },
     "seller_address": {
      "title": "Seller Address",
      "type": "string"
     },
     "seller_name": {
      "title": "Seller Name",
      "type": "string"
     },
     "tax_invoice": {
      "title": "Tax Invoice",
      "type": "boolean"
     }
    },
    "required": [
     "receipts",
     "seller_name",
     "seller_address",
     "gstin",
     "tax_invoice",
     "billed_to"
    ],
    "title": "ReceiptsOut",
    "type": "object"
   },
   "RecoveryCodesOut": {
    "description": "The only response that ever carries recovery codes in readable form.",
    "properties": {
     "recovery_codes": {
      "items": {
       "type": "string"
      },
      "title": "Recovery Codes",
      "type": "array"
     }
    },
    "required": [
     "recovery_codes"
    ],
    "title": "RecoveryCodesOut",
    "type": "object"
   },
   "RedeemIn": {
    "properties": {
     "code": {
      "maxLength": 64,
      "minLength": 1,
      "title": "Code",
      "type": "string"
     }
    },
    "required": [
     "code"
    ],
    "title": "RedeemIn",
    "type": "object"
   },
   "RedeemedOut": {
    "properties": {
     "bytes_granted": {
      "title": "Bytes Granted",
      "type": "integer"
     },
     "total_granted": {
      "title": "Total Granted",
      "type": "integer"
     }
    },
    "required": [
     "bytes_granted",
     "total_granted"
    ],
    "title": "RedeemedOut",
    "type": "object"
   },
   "ReferralsOut": {
    "properties": {
     "bytes_earned": {
      "title": "Bytes Earned",
      "type": "integer"
     },
     "code": {
      "title": "Code",
      "type": "string"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "hold_days": {
      "title": "Hold Days",
      "type": "integer"
     },
     "invited": {
      "title": "Invited",
      "type": "integer"
     },
     "link": {
      "title": "Link",
      "type": "string"
     },
     "pending": {
      "title": "Pending",
      "type": "integer"
     },
     "rewarded": {
      "title": "Rewarded",
      "type": "integer"
     }
    },
    "required": [
     "enabled",
     "code",
     "link",
     "invited",
     "rewarded",
     "bytes_earned",
     "pending",
     "hold_days"
    ],
    "title": "ReferralsOut",
    "type": "object"
   },
   "RegisteredApp": {
    "properties": {
     "auth_method": {
      "title": "Auth Method",
      "type": "string"
     },
     "client_id": {
      "title": "Client Id",
      "type": "string"
     },
     "confidential": {
      "title": "Confidential",
      "type": "boolean"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "disabled": {
      "title": "Disabled",
      "type": "boolean"
     },
     "dpop_bound": {
      "title": "Dpop Bound",
      "type": "boolean"
     },
     "grant_types": {
      "items": {
       "type": "string"
      },
      "title": "Grant Types",
      "type": "array"
     },
     "has_keys": {
      "title": "Has Keys",
      "type": "boolean"
     },
     "homepage": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Homepage"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "jwks_uri": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Jwks Uri"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "redirect_uris": {
      "items": {
       "type": "string"
      },
      "title": "Redirect Uris",
      "type": "array"
     },
     "reviewed": {
      "title": "Reviewed",
      "type": "boolean"
     },
     "scope": {
      "title": "Scope",
      "type": "string"
     }
    },
    "required": [
     "id",
     "client_id",
     "name",
     "homepage",
     "confidential",
     "auth_method",
     "redirect_uris",
     "grant_types",
     "scope",
     "dpop_bound",
     "jwks_uri",
     "has_keys",
     "reviewed",
     "disabled",
     "created_at"
    ],
    "title": "RegisteredApp",
    "type": "object"
   },
   "RemoveEmptyIn": {
    "additionalProperties": false,
    "properties": {
     "paths": {
      "items": {
       "type": "string"
      },
      "maxItems": 500,
      "minItems": 1,
      "title": "Paths",
      "type": "array"
     }
    },
    "required": [
     "paths"
    ],
    "title": "RemoveEmptyIn",
    "type": "object"
   },
   "Rename": {
    "properties": {
     "name": {
      "maxLength": 1024,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "name"
    ],
    "title": "Rename",
    "type": "object"
   },
   "RestoreSpec": {
    "additionalProperties": false,
    "description": "A request to put the mail in .mbox files back into a mailbox.\n\n``src_path`` is one ``.mbox`` file, or a folder whose ``.mbox`` files -- at any depth --\nare all restored: a backup made here, a Google Takeout export, anything Thunderbird or\nApple Mail exported. ``dst_path`` is a folder in the mailbox to put everything under;\nempty is matched, as a mailbox-to-mailbox copy is: Inbox to Inbox, Sent to Sent.",
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "title": "Dst Path",
      "type": "string"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "src_path": {
      "default": "",
      "title": "Src Path",
      "type": "string"
     }
    },
    "required": [
     "src_account_id",
     "dst_account_id"
    ],
    "title": "RestoreSpec",
    "type": "object"
   },
   "Revoked": {
    "description": "What withdrawing access actually did, beyond removing a row.",
    "properties": {
     "jobs_cancelled": {
      "title": "Jobs Cancelled",
      "type": "integer"
     },
     "shares_revoked": {
      "title": "Shares Revoked",
      "type": "integer"
     }
    },
    "required": [
     "jobs_cancelled",
     "shares_revoked"
    ],
    "title": "Revoked",
    "type": "object"
   },
   "RunOut": {
    "properties": {
     "at": {
      "format": "date-time",
      "title": "At",
      "type": "string"
     },
     "bytes": {
      "title": "Bytes",
      "type": "integer"
     },
     "error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Error"
     },
     "job_id": {
      "format": "uuid",
      "title": "Job Id",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "job_id",
     "status",
     "at",
     "bytes",
     "error"
    ],
    "title": "RunOut",
    "type": "object"
   },
   "SaveIn": {
    "additionalProperties": false,
    "description": "Something on the web, saved into a cloud folder (competitor-parity-2, 9.4): what the\nbrowser extension, the CLI and integrations send.",
    "properties": {
     "destination_cloud_id": {
      "format": "uuid",
      "title": "Destination Cloud Id",
      "type": "string"
     },
     "destination_path": {
      "default": "",
      "maxLength": 1024,
      "title": "Destination Path",
      "type": "string"
     },
     "kind": {
      "default": "file",
      "enum": [
       "file",
       "video",
       "page",
       "image"
      ],
      "title": "Kind",
      "type": "string"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 255,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "url": {
      "maxLength": 4096,
      "minLength": 1,
      "title": "Url",
      "type": "string"
     }
    },
    "required": [
     "url",
     "destination_cloud_id"
    ],
    "title": "SaveIn",
    "type": "object"
   },
   "SavedOut": {
    "properties": {
     "cursor": {
      "title": "Cursor",
      "type": "integer"
     },
     "failed": {
      "title": "Failed",
      "type": "integer"
     },
     "forwarded": {
      "title": "Forwarded",
      "type": "integer"
     },
     "saved_at": {
      "format": "date-time",
      "title": "Saved At",
      "type": "string"
     },
     "skipped": {
      "title": "Skipped",
      "type": "integer"
     }
    },
    "required": [
     "cursor",
     "forwarded",
     "skipped",
     "failed",
     "saved_at"
    ],
    "title": "SavedOut",
    "type": "object"
   },
   "ScanCreate": {
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "chat": {
      "maxLength": 512,
      "minLength": 1,
      "title": "Chat",
      "type": "string"
     },
     "match": {
      "default": "file",
      "enum": [
       "file",
       "file_or_name"
      ],
      "title": "Match",
      "type": "string"
     }
    },
    "required": [
     "account_id",
     "chat"
    ],
    "title": "ScanCreate",
    "type": "object"
   },
   "ScanSpec": {
    "additionalProperties": false,
    "description": "Where to look for copies of one file.",
    "properties": {
     "min_kb": {
      "default": 0,
      "maximum": 10000000,
      "minimum": 0,
      "title": "Min Kb",
      "type": "integer"
     },
     "places": {
      "items": {
       "$ref": "#/components/schemas/Place"
      },
      "maxItems": 10,
      "minItems": 1,
      "title": "Places",
      "type": "array"
     }
    },
    "required": [
     "places"
    ],
    "title": "ScanSpec",
    "type": "object"
   },
   "Schedule": {
    "properties": {
     "cron": {
      "title": "Cron",
      "type": "string"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "last_error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Error"
     },
     "last_run_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Run At"
     },
     "last_status": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Status"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "next_run_at": {
      "format": "date-time",
      "title": "Next Run At",
      "type": "string"
     },
     "timezone": {
      "title": "Timezone",
      "type": "string"
     },
     "transfer": {
      "$ref": "#/components/schemas/ScheduleTransfer"
     },
     "trigger": {
      "title": "Trigger",
      "type": "string"
     },
     "upcoming": {
      "items": {
       "format": "date-time",
       "type": "string"
      },
      "title": "Upcoming",
      "type": "array"
     }
    },
    "required": [
     "id",
     "name",
     "enabled",
     "trigger",
     "cron",
     "timezone",
     "transfer",
     "kind",
     "next_run_at",
     "last_run_at",
     "last_status",
     "last_error",
     "upcoming"
    ],
    "title": "Schedule",
    "type": "object"
   },
   "ScheduleEdit": {
    "additionalProperties": false,
    "properties": {
     "cron": {
      "anyOf": [
       {
        "maxLength": 120,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Cron"
     },
     "enabled": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Enabled"
     },
     "name": {
      "anyOf": [
       {
        "maxLength": 120,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "timezone": {
      "anyOf": [
       {
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Timezone"
     }
    },
    "title": "ScheduleEdit",
    "type": "object"
   },
   "ScheduleIn": {
    "additionalProperties": false,
    "properties": {
     "chat_archive": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/ArchiveSpec"
       },
       {
        "type": "null"
       }
      ]
     },
     "cron": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Cron",
      "type": "string"
     },
     "database_backup": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/DumpSpec"
       },
       {
        "type": "null"
       }
      ]
     },
     "email": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/EmailSpec"
       },
       {
        "type": "null"
       }
      ]
     },
     "enabled": {
      "default": true,
      "title": "Enabled",
      "type": "boolean"
     },
     "name": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "team_delta": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Team Delta"
     },
     "timezone": {
      "default": "UTC",
      "maxLength": 64,
      "minLength": 1,
      "title": "Timezone",
      "type": "string"
     },
     "transfer": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/TransferIn"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "required": [
     "name",
     "cron"
    ],
    "title": "ScheduleIn",
    "type": "object"
   },
   "ScheduleTransfer": {
    "properties": {
     "destination_cloud_id": {
      "format": "uuid",
      "title": "Destination Cloud Id",
      "type": "string"
     },
     "destination_path": {
      "title": "Destination Path",
      "type": "string"
     },
     "mode": {
      "title": "Mode",
      "type": "string"
     },
     "source_cloud_id": {
      "format": "uuid",
      "title": "Source Cloud Id",
      "type": "string"
     },
     "source_path": {
      "title": "Source Path",
      "type": "string"
     }
    },
    "required": [
     "source_cloud_id",
     "source_path",
     "destination_cloud_id",
     "destination_path",
     "mode"
    ],
    "title": "ScheduleTransfer",
    "type": "object"
   },
   "SearchResults": {
    "properties": {
     "depth": {
      "title": "Depth",
      "type": "integer"
     },
     "items": {
      "items": {
       "$ref": "#/components/schemas/File"
      },
      "title": "Items",
      "type": "array"
     },
     "path": {
      "title": "Path",
      "type": "string"
     },
     "query": {
      "title": "Query",
      "type": "string"
     },
     "truncated": {
      "title": "Truncated",
      "type": "boolean"
     },
     "whole": {
      "title": "Whole",
      "type": "boolean"
     }
    },
    "required": [
     "query",
     "path",
     "items",
     "truncated",
     "depth",
     "whole"
    ],
    "title": "SearchResults",
    "type": "object"
   },
   "SecretRotated": {
    "properties": {
     "previous_valid_until": {
      "format": "date-time",
      "title": "Previous Valid Until",
      "type": "string"
     },
     "secret": {
      "title": "Secret",
      "type": "string"
     }
    },
    "required": [
     "secret",
     "previous_valid_until"
    ],
    "title": "SecretRotated",
    "type": "object"
   },
   "Share": {
    "properties": {
     "cloud_id": {
      "format": "uuid",
      "title": "Cloud Id",
      "type": "string"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "downloads": {
      "title": "Downloads",
      "type": "integer"
     },
     "expires_at": {
      "format": "date-time",
      "title": "Expires At",
      "type": "string"
     },
     "folder": {
      "title": "Folder",
      "type": "boolean"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "max_downloads": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Downloads"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "path": {
      "title": "Path",
      "type": "string"
     },
     "protected": {
      "title": "Protected",
      "type": "boolean"
     },
     "revoked_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Revoked At"
     }
    },
    "required": [
     "id",
     "cloud_id",
     "path",
     "name",
     "folder",
     "expires_at",
     "max_downloads",
     "downloads",
     "protected",
     "revoked_at",
     "created_at"
    ],
    "title": "Share",
    "type": "object"
   },
   "ShareIn": {
    "additionalProperties": false,
    "properties": {
     "cloud_id": {
      "format": "uuid",
      "title": "Cloud Id",
      "type": "string"
     },
     "expires_in_hours": {
      "default": 168,
      "maximum": 2160,
      "minimum": 1,
      "title": "Expires In Hours",
      "type": "integer"
     },
     "max_downloads": {
      "anyOf": [
       {
        "maximum": 10000,
        "minimum": 1,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Downloads"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 128,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     },
     "path": {
      "maxLength": 4096,
      "minLength": 1,
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "cloud_id",
     "path"
    ],
    "title": "ShareIn",
    "type": "object"
   },
   "SharedSpaceOut": {
    "description": "A Shared Drive, a SharePoint site or a Dropbox team folder of an organisation.",
    "properties": {
     "connected": {
      "title": "Connected",
      "type": "boolean"
     },
     "id": {
      "title": "Id",
      "type": "string"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "problem": {
      "title": "Problem",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "problem",
     "connected"
    ],
    "title": "SharedSpaceOut",
    "type": "object"
   },
   "Skipped": {
    "properties": {
     "label": {
      "title": "Label",
      "type": "string"
     },
     "reason": {
      "title": "Reason",
      "type": "string"
     }
    },
    "required": [
     "label",
     "reason"
    ],
    "title": "Skipped",
    "type": "object"
   },
   "StreamOut": {
    "properties": {
     "members": {
      "items": {
       "$ref": "#/components/schemas/WorkspaceMemberOut"
      },
      "title": "Members",
      "type": "array"
     },
     "messages": {
      "items": {
       "$ref": "#/components/schemas/WorkspaceMessageOut"
      },
      "title": "Messages",
      "type": "array"
     },
     "workspace": {
      "$ref": "#/components/schemas/WorkspaceSummary"
     }
    },
    "required": [
     "workspace",
     "members",
     "messages"
    ],
    "title": "StreamOut",
    "type": "object"
   },
   "SubAccountCreate": {
    "additionalProperties": false,
    "properties": {
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     },
     "label": {
      "default": "",
      "maxLength": 120,
      "title": "Label",
      "type": "string"
     },
     "password": {
      "maxLength": 1024,
      "minLength": 12,
      "title": "Password",
      "type": "string"
     },
     "role": {
      "default": "member",
      "enum": [
       "member",
       "viewer",
       "admin"
      ],
      "title": "Role",
      "type": "string"
     }
    },
    "required": [
     "email",
     "password"
    ],
    "title": "SubAccountCreate",
    "type": "object"
   },
   "SubAccountOut": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "email": {
      "format": "email",
      "title": "Email",
      "type": "string"
     },
     "grants": {
      "title": "Grants",
      "type": "integer"
     },
     "held_jobs": {
      "default": 0,
      "title": "Held Jobs",
      "type": "integer"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "is_active": {
      "title": "Is Active",
      "type": "boolean"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "last_login_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Login At"
     },
     "role": {
      "default": "member",
      "enum": [
       "member",
       "viewer",
       "admin"
      ],
      "title": "Role",
      "type": "string"
     },
     "tokens": {
      "default": 0,
      "title": "Tokens",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "email",
     "label",
     "is_active",
     "created_at",
     "last_login_at",
     "grants"
    ],
    "title": "SubAccountOut",
    "type": "object"
   },
   "SubAccountUpdate": {
    "additionalProperties": false,
    "properties": {
     "is_active": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "title": "Is Active"
     },
     "label": {
      "anyOf": [
       {
        "maxLength": 120,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Label"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 1024,
        "minLength": 12,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     },
     "role": {
      "anyOf": [
       {
        "enum": [
         "member",
         "viewer",
         "admin"
        ],
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Role"
     }
    },
    "title": "SubAccountUpdate",
    "type": "object"
   },
   "Summary": {
    "description": "What an app's home screen shows, in one call.",
    "properties": {
     "allowance_consumed_bytes": {
      "default": 0,
      "title": "Allowance Consumed Bytes",
      "type": "integer"
     },
     "allowance_expires_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Allowance Expires At"
     },
     "allowance_granted_bytes": {
      "title": "Allowance Granted Bytes",
      "type": "integer"
     },
     "allowance_in_use_bytes": {
      "default": 0,
      "title": "Allowance In Use Bytes",
      "type": "integer"
     },
     "allowance_remaining_bytes": {
      "title": "Allowance Remaining Bytes",
      "type": "integer"
     },
     "clouds": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Clouds"
     },
     "plan": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Plan"
     },
     "transfers_running": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Transfers Running"
     },
     "unlimited": {
      "title": "Unlimited",
      "type": "boolean"
     },
     "used_bytes_this_month": {
      "default": 0,
      "title": "Used Bytes This Month",
      "type": "integer"
     }
    },
    "required": [
     "allowance_granted_bytes",
     "allowance_remaining_bytes",
     "allowance_expires_at",
     "plan",
     "unlimited"
    ],
    "title": "Summary",
    "type": "object"
   },
   "SupportInfo": {
    "properties": {
     "attachment_types": {
      "items": {
       "type": "string"
      },
      "title": "Attachment Types",
      "type": "array"
     },
     "categories": {
      "additionalProperties": {
       "type": "string"
      },
      "title": "Categories",
      "type": "object"
     },
     "chat_enabled": {
      "title": "Chat Enabled",
      "type": "boolean"
     },
     "chat_online": {
      "title": "Chat Online",
      "type": "boolean"
     },
     "email": {
      "title": "Email",
      "type": "string"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "max_attachment_bytes": {
      "title": "Max Attachment Bytes",
      "type": "integer"
     },
     "max_attachments_per_message": {
      "title": "Max Attachments Per Message",
      "type": "integer"
     },
     "priorities": {
      "items": {
       "type": "string"
      },
      "title": "Priorities",
      "type": "array"
     }
    },
    "required": [
     "enabled",
     "chat_enabled",
     "chat_online",
     "email",
     "categories",
     "priorities",
     "max_attachment_bytes",
     "max_attachments_per_message",
     "attachment_types"
    ],
    "title": "SupportInfo",
    "type": "object"
   },
   "TeamMember": {
    "additionalProperties": false,
    "description": "One person's folder, and where it is going.",
    "properties": {
     "dst_account_id": {
      "format": "uuid",
      "title": "Dst Account Id",
      "type": "string"
     },
     "dst_path": {
      "default": "",
      "title": "Dst Path",
      "type": "string"
     },
     "kind": {
      "default": "files",
      "enum": [
       "files",
       "mail",
       "calendars",
       "contacts"
      ],
      "title": "Kind",
      "type": "string"
     },
     "label": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Label",
      "type": "string"
     },
     "src_account_id": {
      "format": "uuid",
      "title": "Src Account Id",
      "type": "string"
     },
     "src_path": {
      "default": "",
      "title": "Src Path",
      "type": "string"
     }
    },
    "required": [
     "label",
     "src_account_id",
     "dst_account_id"
    ],
    "title": "TeamMember",
    "type": "object"
   },
   "TeamPlan": {
    "description": "The whole batch, before it exists.\n\nWarnings are collected per member and also rolled up, because fifty copies of \"OneDrive\ndoes not preserve modification times\" is not a report anybody reads -- but one line saying\nit applies to forty-nine of them is.",
    "properties": {
     "concurrency": {
      "title": "Concurrency",
      "type": "integer"
     },
     "members": {
      "items": {
       "$ref": "#/components/schemas/MemberPlan"
      },
      "title": "Members",
      "type": "array"
     },
     "mode": {
      "$ref": "#/components/schemas/TransferMode"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "warnings": {
      "items": {
       "type": "string"
      },
      "title": "Warnings",
      "type": "array"
     }
    },
    "required": [
     "name",
     "mode",
     "members",
     "concurrency",
     "warnings"
    ],
    "title": "TeamPlan",
    "type": "object"
   },
   "TeamReport": {
    "description": "A migration, member by member in roster order, and the arithmetic people read.",
    "properties": {
     "bytes_done": {
      "title": "Bytes Done",
      "type": "integer"
     },
     "cancelled": {
      "title": "Cancelled",
      "type": "integer"
     },
     "failed": {
      "title": "Failed",
      "type": "integer"
     },
     "files_done": {
      "title": "Files Done",
      "type": "integer"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "members": {
      "items": {
       "$ref": "#/components/schemas/app__api__v1__teams__Member"
      },
      "title": "Members",
      "type": "array"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "running": {
      "title": "Running",
      "type": "integer"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "succeeded": {
      "title": "Succeeded",
      "type": "integer"
     },
     "total": {
      "title": "Total",
      "type": "integer"
     },
     "waiting": {
      "title": "Waiting",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "name",
     "status",
     "total",
     "succeeded",
     "failed",
     "cancelled",
     "running",
     "waiting",
     "bytes_done",
     "files_done",
     "members"
    ],
    "title": "TeamReport",
    "type": "object"
   },
   "TeamSpec": {
    "additionalProperties": false,
    "description": "A whole migration: the roster, and the one set of rules it all runs under.",
    "properties": {
     "certificate": {
      "default": false,
      "title": "Certificate",
      "type": "boolean"
     },
     "certificate_download": {
      "default": false,
      "title": "Certificate Download",
      "type": "boolean"
     },
     "concurrency": {
      "default": 3,
      "maximum": 6,
      "minimum": 1,
      "title": "Concurrency",
      "type": "integer"
     },
     "exclude": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Exclude",
      "type": "array"
     },
     "fix_names": {
      "default": false,
      "title": "Fix Names",
      "type": "boolean"
     },
     "include": {
      "default": [],
      "items": {
       "type": "string"
      },
      "title": "Include",
      "type": "array"
     },
     "max_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Size"
     },
     "members": {
      "items": {
       "$ref": "#/components/schemas/TeamMember"
      },
      "maxItems": 500,
      "minItems": 1,
      "title": "Members",
      "type": "array"
     },
     "min_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Min Size"
     },
     "mode": {
      "$ref": "#/components/schemas/TransferMode",
      "default": "copy"
     },
     "name": {
      "default": "Team transfer",
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "report": {
      "default": true,
      "title": "Report",
      "type": "boolean"
     },
     "verify_checksum": {
      "default": false,
      "title": "Verify Checksum",
      "type": "boolean"
     }
    },
    "required": [
     "members"
    ],
    "title": "TeamSpec",
    "type": "object"
   },
   "TelegramLinkIn": {
    "additionalProperties": false,
    "properties": {
     "events": {
      "items": {
       "type": "string"
      },
      "minItems": 1,
      "title": "Events",
      "type": "array"
     },
     "name": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "name",
     "events"
    ],
    "title": "TelegramLinkIn",
    "type": "object"
   },
   "TelegramLinkOut": {
    "properties": {
     "code": {
      "title": "Code",
      "type": "string"
     },
     "expires_in": {
      "title": "Expires In",
      "type": "integer"
     },
     "url": {
      "title": "Url",
      "type": "string"
     }
    },
    "required": [
     "code",
     "url",
     "expires_in"
    ],
    "title": "TelegramLinkOut",
    "type": "object"
   },
   "TelegramLinkStatus": {
    "properties": {
     "status": {
      "enum": [
       "waiting",
       "linked",
       "expired"
      ],
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "status"
    ],
    "title": "TelegramLinkStatus",
    "type": "object"
   },
   "TicketDetail": {
    "properties": {
     "category": {
      "title": "Category",
      "type": "string"
     },
     "channel": {
      "title": "Channel",
      "type": "string"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_activity_at": {
      "format": "date-time",
      "title": "Last Activity At",
      "type": "string"
     },
     "messages": {
      "items": {
       "$ref": "#/components/schemas/MessageOut"
      },
      "title": "Messages",
      "type": "array"
     },
     "number": {
      "title": "Number",
      "type": "integer"
     },
     "priority": {
      "title": "Priority",
      "type": "string"
     },
     "rating": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Rating"
     },
     "rating_comment": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Rating Comment"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "subject": {
      "title": "Subject",
      "type": "string"
     },
     "typing": {
      "default": false,
      "title": "Typing",
      "type": "boolean"
     },
     "unread": {
      "title": "Unread",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "number",
     "subject",
     "category",
     "priority",
     "status",
     "channel",
     "unread",
     "created_at",
     "last_activity_at",
     "messages",
     "rating",
     "rating_comment"
    ],
    "title": "TicketDetail",
    "type": "object"
   },
   "TicketSummary": {
    "properties": {
     "category": {
      "title": "Category",
      "type": "string"
     },
     "channel": {
      "title": "Channel",
      "type": "string"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_activity_at": {
      "format": "date-time",
      "title": "Last Activity At",
      "type": "string"
     },
     "number": {
      "title": "Number",
      "type": "integer"
     },
     "priority": {
      "title": "Priority",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "subject": {
      "title": "Subject",
      "type": "string"
     },
     "unread": {
      "title": "Unread",
      "type": "boolean"
     }
    },
    "required": [
     "id",
     "number",
     "subject",
     "category",
     "priority",
     "status",
     "channel",
     "unread",
     "created_at",
     "last_activity_at"
    ],
    "title": "TicketSummary",
    "type": "object"
   },
   "TokenCreated": {
    "description": "The creation response, and the only time the token itself is ever available.",
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "expired": {
      "title": "Expired",
      "type": "boolean"
     },
     "expires_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expires At"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_used_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Used At"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "prefix": {
      "title": "Prefix",
      "type": "string"
     },
     "scope": {
      "title": "Scope",
      "type": "string"
     },
     "token": {
      "title": "Token",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "prefix",
     "created_at",
     "last_used_at",
     "expires_at",
     "expired",
     "scope",
     "token"
    ],
    "title": "TokenCreated",
    "type": "object"
   },
   "TokenIn": {
    "additionalProperties": false,
    "properties": {
     "code": {
      "anyOf": [
       {
        "maxLength": 64,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Code"
     },
     "expires_in_days": {
      "default": 90,
      "enum": [
       30,
       90,
       365
      ],
      "title": "Expires In Days",
      "type": "integer"
     },
     "name": {
      "maxLength": 80,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "password": {
      "anyOf": [
       {
        "maxLength": 1024,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Password"
     },
     "scope": {
      "$ref": "#/components/schemas/TokenScope",
      "default": "read"
     }
    },
    "required": [
     "name"
    ],
    "title": "TokenIn",
    "type": "object"
   },
   "TokenOut": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "expired": {
      "title": "Expired",
      "type": "boolean"
     },
     "expires_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Expires At"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_used_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Used At"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "prefix": {
      "title": "Prefix",
      "type": "string"
     },
     "scope": {
      "title": "Scope",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "prefix",
     "created_at",
     "last_used_at",
     "expires_at",
     "expired",
     "scope"
    ],
    "title": "TokenOut",
    "type": "object"
   },
   "TokenScope": {
    "description": "How far a token reaches, chosen when it is made.\n\n``read`` lists and downloads; ``transfer`` also starts, steers and schedules transfers and\nchanges files in the clouds; ``manage`` is everything a token may do at all, which is still\nshort of what needs a person in a browser (:data:`app.api.deps.SessionOnly`). Tokens made\nbefore scopes existed are ``manage``, which is what they could already do.",
    "enum": [
     "read",
     "transfer",
     "manage"
    ],
    "title": "TokenScope",
    "type": "string"
   },
   "TorrentIn": {
    "additionalProperties": false,
    "description": "A torrent downloaded into a folder (mobile parity P2.4): a magnet link, or the\n``.torrent`` file itself as base64 -- exactly one.",
    "properties": {
     "destination_cloud_id": {
      "format": "uuid",
      "title": "Destination Cloud Id",
      "type": "string"
     },
     "destination_path": {
      "default": "",
      "maxLength": 1024,
      "title": "Destination Path",
      "type": "string"
     },
     "magnet": {
      "anyOf": [
       {
        "maxLength": 4096,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Magnet"
     },
     "torrent": {
      "anyOf": [
       {
        "maxLength": 2796218,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Torrent"
     }
    },
    "required": [
     "destination_cloud_id"
    ],
    "title": "TorrentIn",
    "type": "object"
   },
   "Transfer": {
    "properties": {
     "bytes_done": {
      "title": "Bytes Done",
      "type": "integer"
     },
     "bytes_total": {
      "title": "Bytes Total",
      "type": "integer"
     },
     "certificate": {
      "default": false,
      "title": "Certificate",
      "type": "boolean"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "cutover": {
      "default": false,
      "title": "Cutover",
      "type": "boolean"
     },
     "destination_cloud_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Destination Cloud Id"
     },
     "destination_path": {
      "title": "Destination Path",
      "type": "string"
     },
     "error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Error"
     },
     "files_done": {
      "title": "Files Done",
      "type": "integer"
     },
     "files_total": {
      "title": "Files Total",
      "type": "integer"
     },
     "finished_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Finished At"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "mode": {
      "title": "Mode",
      "type": "string"
     },
     "name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "report": {
      "default": false,
      "title": "Report",
      "type": "boolean"
     },
     "source_cloud_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Source Cloud Id"
     },
     "source_path": {
      "title": "Source Path",
      "type": "string"
     },
     "started_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Started At"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "status",
     "kind",
     "mode",
     "source_cloud_id",
     "source_path",
     "destination_cloud_id",
     "destination_path",
     "bytes_total",
     "bytes_done",
     "files_total",
     "files_done",
     "error",
     "created_at",
     "started_at",
     "finished_at"
    ],
    "title": "Transfer",
    "type": "object"
   },
   "TransferIn": {
    "additionalProperties": false,
    "description": "A transfer between two folders, with every option the web app's transfer bar has\n(mobile parity P1.6). Each is optional and its default means \"as a plain transfer does\";\nthe server checks them all exactly as for the web app (:class:`JobSpec`).",
    "properties": {
     "certificate": {
      "default": false,
      "title": "Certificate",
      "type": "boolean"
     },
     "certificate_download": {
      "default": false,
      "title": "Certificate Download",
      "type": "boolean"
     },
     "conflict": {
      "anyOf": [
       {
        "$ref": "#/components/schemas/ConflictRule"
       },
       {
        "type": "null"
       }
      ]
     },
     "destination_cloud_id": {
      "format": "uuid",
      "title": "Destination Cloud Id",
      "type": "string"
     },
     "destination_path": {
      "default": "",
      "maxLength": 4096,
      "title": "Destination Path",
      "type": "string"
     },
     "exclude": {
      "items": {
       "type": "string"
      },
      "maxItems": 50,
      "title": "Exclude",
      "type": "array"
     },
     "exclude_types": {
      "items": {
       "type": "string"
      },
      "maxItems": 50,
      "title": "Exclude Types",
      "type": "array"
     },
     "fix_names": {
      "default": false,
      "title": "Fix Names",
      "type": "boolean"
     },
     "google_docs": {
      "default": "office",
      "enum": [
       "office",
       "pdf",
       "opendocument",
       "skip"
      ],
      "title": "Google Docs",
      "type": "string"
     },
     "include": {
      "items": {
       "type": "string"
      },
      "maxItems": 50,
      "title": "Include",
      "type": "array"
     },
     "include_types": {
      "items": {
       "type": "string"
      },
      "maxItems": 50,
      "title": "Include Types",
      "type": "array"
     },
     "keep_sharing": {
      "default": false,
      "title": "Keep Sharing",
      "type": "boolean"
     },
     "max_delete": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Delete"
     },
     "max_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Size"
     },
     "min_size": {
      "anyOf": [
       {
        "minimum": 0,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Min Size"
     },
     "mode": {
      "default": "copy",
      "enum": [
       "copy",
       "mirror",
       "move",
       "cumulative",
       "update",
       "incremental_backup",
       "full_backup",
       "two_way",
       "real_time"
      ],
      "title": "Mode",
      "type": "string"
     },
     "modified_after": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Modified After"
     },
     "modified_before": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Modified Before"
     },
     "report": {
      "default": false,
      "title": "Report",
      "type": "boolean"
     },
     "source_cloud_id": {
      "format": "uuid",
      "title": "Source Cloud Id",
      "type": "string"
     },
     "source_path": {
      "default": "",
      "maxLength": 4096,
      "title": "Source Path",
      "type": "string"
     },
     "verify_checksum": {
      "default": false,
      "title": "Verify Checksum",
      "type": "boolean"
     }
    },
    "required": [
     "source_cloud_id",
     "destination_cloud_id"
    ],
    "title": "TransferIn",
    "type": "object"
   },
   "TransferMode": {
    "description": "The nine sync modes, each a thin wrapper over rclone flags.",
    "enum": [
     "copy",
     "mirror",
     "move",
     "cumulative",
     "update",
     "incremental_backup",
     "full_backup",
     "two_way",
     "real_time"
    ],
    "title": "TransferMode",
    "type": "string"
   },
   "TrashEmptied": {
    "properties": {
     "done": {
      "title": "Done",
      "type": "boolean"
     }
    },
    "required": [
     "done"
    ],
    "title": "TrashEmptied",
    "type": "object"
   },
   "TriggerIn": {
    "properties": {
     "signed": {
      "default": false,
      "title": "Signed",
      "type": "boolean"
     }
    },
    "title": "TriggerIn",
    "type": "object"
   },
   "TriggerMade": {
    "properties": {
     "exists": {
      "title": "Exists",
      "type": "boolean"
     },
     "last_fired_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Fired At"
     },
     "prefix": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Prefix"
     },
     "signed": {
      "default": false,
      "title": "Signed",
      "type": "boolean"
     },
     "signing_secret": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Signing Secret"
     },
     "url": {
      "title": "Url",
      "type": "string"
     }
    },
    "required": [
     "exists",
     "url"
    ],
    "title": "TriggerMade",
    "type": "object"
   },
   "TwoFactorStatus": {
    "properties": {
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "enabled_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Enabled At"
     },
     "factors": {
      "default": [],
      "items": {
       "enum": [
        "totp",
        "passkey"
       ],
       "type": "string"
      },
      "title": "Factors",
      "type": "array"
     },
     "recovery_codes_left": {
      "title": "Recovery Codes Left",
      "type": "integer"
     }
    },
    "required": [
     "enabled",
     "enabled_at",
     "recovery_codes_left"
    ],
    "title": "TwoFactorStatus",
    "type": "object"
   },
   "UploadRequestOut": {
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "allowed_extensions": {
      "items": {
       "type": "string"
      },
      "title": "Allowed Extensions",
      "type": "array"
     },
     "bytes_received": {
      "title": "Bytes Received",
      "type": "integer"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "expires_at": {
      "format": "date-time",
      "title": "Expires At",
      "type": "string"
     },
     "files_received": {
      "title": "Files Received",
      "type": "integer"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "made_by": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Made By"
     },
     "max_bytes_per_file": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Bytes Per File"
     },
     "max_files": {
      "title": "Max Files",
      "type": "integer"
     },
     "path": {
      "title": "Path",
      "type": "string"
     },
     "protected": {
      "title": "Protected",
      "type": "boolean"
     },
     "revoked_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Revoked At"
     }
    },
    "required": [
     "id",
     "account_id",
     "path",
     "label",
     "expires_at",
     "max_files",
     "max_bytes_per_file",
     "allowed_extensions",
     "files_received",
     "bytes_received",
     "revoked_at",
     "created_at",
     "protected"
    ],
    "title": "UploadRequestOut",
    "type": "object"
   },
   "UploadRequestSpec": {
    "additionalProperties": false,
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "allowed_extensions": {
      "items": {
       "type": "string"
      },
      "maxItems": 50,
      "title": "Allowed Extensions",
      "type": "array"
     },
     "expires_in_days": {
      "default": 7,
      "maximum": 30,
      "minimum": 1,
      "title": "Expires In Days",
      "type": "integer"
     },
     "label": {
      "default": "",
      "maxLength": 200,
      "title": "Label",
      "type": "string"
     },
     "max_bytes_per_file": {
      "anyOf": [
       {
        "minimum": 1,
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "title": "Max Bytes Per File"
     },
     "max_files": {
      "default": 20,
      "maximum": 500,
      "minimum": 1,
      "title": "Max Files",
      "type": "integer"
     },
     "passphrase": {
      "anyOf": [
       {
        "maxLength": 128,
        "minLength": 12,
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Passphrase"
     },
     "path": {
      "default": "",
      "maxLength": 4096,
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "account_id"
    ],
    "title": "UploadRequestSpec",
    "type": "object"
   },
   "UploadSession": {
    "properties": {
     "id": {
      "title": "Id",
      "type": "string"
     },
     "piece_bytes": {
      "title": "Piece Bytes",
      "type": "integer"
     },
     "received": {
      "title": "Received",
      "type": "integer"
     },
     "size": {
      "title": "Size",
      "type": "integer"
     }
    },
    "required": [
     "id",
     "size",
     "received",
     "piece_bytes"
    ],
    "title": "UploadSession",
    "type": "object"
   },
   "Uploaded": {
    "properties": {
     "path": {
      "title": "Path",
      "type": "string"
     },
     "size": {
      "title": "Size",
      "type": "integer"
     }
    },
    "required": [
     "path",
     "size"
    ],
    "title": "Uploaded",
    "type": "object"
   },
   "ValidationError": {
    "properties": {
     "ctx": {
      "title": "Context",
      "type": "object"
     },
     "input": {
      "title": "Input"
     },
     "loc": {
      "items": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "integer"
        }
       ]
      },
      "title": "Location",
      "type": "array"
     },
     "msg": {
      "title": "Message",
      "type": "string"
     },
     "type": {
      "title": "Error Type",
      "type": "string"
     }
    },
    "required": [
     "loc",
     "msg",
     "type"
    ],
    "title": "ValidationError",
    "type": "object"
   },
   "Webhook": {
    "properties": {
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "enabled": {
      "title": "Enabled",
      "type": "boolean"
     },
     "events": {
      "items": {
       "type": "string"
      },
      "title": "Events",
      "type": "array"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "last_delivery_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Delivery At"
     },
     "last_error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Last Error"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "target": {
      "title": "Target",
      "type": "string"
     }
    },
    "required": [
     "id",
     "name",
     "target",
     "events",
     "enabled",
     "created_at",
     "last_delivery_at",
     "last_error"
    ],
    "title": "Webhook",
    "type": "object"
   },
   "WebhookSaved": {
    "properties": {
     "secret": {
      "title": "Secret",
      "type": "string"
     },
     "settings": {
      "$ref": "#/components/schemas/AuditSettingsOut"
     }
    },
    "required": [
     "settings",
     "secret"
    ],
    "title": "WebhookSaved",
    "type": "object"
   },
   "WorkerSessionOut": {
    "properties": {
     "error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Error"
     },
     "made_at": {
      "format": "date-time",
      "title": "Made At",
      "type": "string"
     },
     "status": {
      "title": "Status",
      "type": "string"
     },
     "used_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Used At"
     },
     "worker": {
      "title": "Worker",
      "type": "string"
     }
    },
    "required": [
     "worker",
     "status",
     "made_at"
    ],
    "title": "WorkerSessionOut",
    "type": "object"
   },
   "Workspace": {
    "properties": {
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "members": {
      "items": {
       "$ref": "#/components/schemas/app__api__v1__workspaces__Member"
      },
      "title": "Members",
      "type": "array"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "names_encrypted": {
      "title": "Names Encrypted",
      "type": "boolean"
     },
     "stored_in": {
      "items": {
       "type": "string"
      },
      "title": "Stored In",
      "type": "array"
     }
    },
    "required": [
     "id",
     "name",
     "stored_in",
     "names_encrypted",
     "members"
    ],
    "title": "Workspace",
    "type": "object"
   },
   "WorkspaceIn": {
    "additionalProperties": false,
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "name": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "names": {
      "default": "standard",
      "enum": [
       "standard",
       "off"
      ],
      "title": "Names",
      "type": "string"
     },
     "path": {
      "default": "",
      "maxLength": 1024,
      "title": "Path",
      "type": "string"
     },
     "people": {
      "items": {
       "$ref": "#/components/schemas/app__api__routes__workspaces__PersonIn"
      },
      "maxItems": 200,
      "title": "People",
      "type": "array"
     }
    },
    "required": [
     "name",
     "account_id"
    ],
    "title": "WorkspaceIn",
    "type": "object"
   },
   "WorkspaceMemberOut": {
    "properties": {
     "email": {
      "title": "Email",
      "type": "string"
     },
     "owner": {
      "title": "Owner",
      "type": "boolean"
     },
     "user_id": {
      "format": "uuid",
      "title": "User Id",
      "type": "string"
     }
    },
    "required": [
     "user_id",
     "email",
     "owner"
    ],
    "title": "WorkspaceMemberOut",
    "type": "object"
   },
   "WorkspaceMessageOut": {
    "properties": {
     "author": {
      "title": "Author",
      "type": "string"
     },
     "author_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Author Id"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "deleted": {
      "title": "Deleted",
      "type": "boolean"
     },
     "edited_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Edited At"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "mentions": {
      "items": {
       "format": "uuid",
       "type": "string"
      },
      "title": "Mentions",
      "type": "array"
     },
     "parent_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Parent Id"
     },
     "path": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Path"
     },
     "reactions": {
      "additionalProperties": {
       "items": {
        "format": "uuid",
        "type": "string"
       },
       "type": "array"
      },
      "title": "Reactions",
      "type": "object"
     },
     "text": {
      "title": "Text",
      "type": "string"
     }
    },
    "required": [
     "id",
     "author_id",
     "author",
     "parent_id",
     "text",
     "path",
     "mentions",
     "reactions",
     "created_at",
     "edited_at",
     "deleted"
    ],
    "title": "WorkspaceMessageOut",
    "type": "object"
   },
   "WorkspaceSummary": {
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "can_write": {
      "title": "Can Write",
      "type": "boolean"
     },
     "name": {
      "title": "Name",
      "type": "string"
     },
     "owner": {
      "title": "Owner",
      "type": "boolean"
     },
     "unread": {
      "title": "Unread",
      "type": "integer"
     }
    },
    "required": [
     "account_id",
     "name",
     "owner",
     "can_write",
     "unread"
    ],
    "title": "WorkspaceSummary",
    "type": "object"
   },
   "WrapperOut": {
    "description": "What a virtual backend needs picked, rather than typed.",
    "properties": {
     "max_members": {
      "title": "Max Members",
      "type": "integer"
     },
     "member_flags": {
      "items": {
       "type": "string"
      },
      "title": "Member Flags",
      "type": "array"
     },
     "member_label": {
      "title": "Member Label",
      "type": "string"
     },
     "min_members": {
      "title": "Min Members",
      "type": "integer"
     }
    },
    "required": [
     "min_members",
     "max_members",
     "member_label",
     "member_flags"
    ],
    "title": "WrapperOut",
    "type": "object"
   },
   "app__api__routes__accounts___shared__MemberIn": {
    "additionalProperties": false,
    "description": "One account a virtual backend should wrap.",
    "properties": {
     "account_id": {
      "format": "uuid",
      "title": "Account Id",
      "type": "string"
     },
     "flags": {
      "default": "",
      "title": "Flags",
      "type": "string"
     },
     "path": {
      "default": "",
      "title": "Path",
      "type": "string"
     }
    },
    "required": [
     "account_id"
    ],
    "title": "MemberIn",
    "type": "object"
   },
   "app__api__routes__accounts__organisation__PersonIn": {
    "additionalProperties": false,
    "description": "One person to connect, as the directory listing named them.",
    "properties": {
     "id": {
      "maxLength": 255,
      "minLength": 1,
      "title": "Id",
      "type": "string"
     },
     "label": {
      "maxLength": 320,
      "minLength": 1,
      "title": "Label",
      "type": "string"
     },
     "name": {
      "default": "",
      "maxLength": 255,
      "title": "Name",
      "type": "string"
     }
    },
    "required": [
     "id",
     "label"
    ],
    "title": "PersonIn",
    "type": "object"
   },
   "app__api__routes__auth__Accepted": {
    "description": "What a request answers when saying more would say whether an address exists.",
    "properties": {
     "status": {
      "const": "accepted",
      "default": "accepted",
      "title": "Status",
      "type": "string"
     }
    },
    "title": "Accepted",
    "type": "object"
   },
   "app__api__routes__org_audit__WebhookIn": {
    "additionalProperties": false,
    "properties": {
     "url": {
      "maxLength": 2048,
      "title": "Url",
      "type": "string"
     }
    },
    "required": [
     "url"
    ],
    "title": "WebhookIn",
    "type": "object"
   },
   "app__api__routes__sub_accounts__Accepted": {
    "description": "Adding a person answers this whether or not the address was free: see the route.",
    "properties": {
     "status": {
      "const": "accepted",
      "default": "accepted",
      "title": "Status",
      "type": "string"
     }
    },
    "title": "Accepted",
    "type": "object"
   },
   "app__api__routes__workspaces__PersonIn": {
    "properties": {
     "can_write": {
      "default": true,
      "title": "Can Write",
      "type": "boolean"
     },
     "user_id": {
      "format": "uuid",
      "title": "User Id",
      "type": "string"
     }
    },
    "required": [
     "user_id"
    ],
    "title": "PersonIn",
    "type": "object"
   },
   "app__api__v1__teams__Member": {
    "description": "One person of a migration: their transfer, and who it is for.",
    "properties": {
     "bytes_done": {
      "title": "Bytes Done",
      "type": "integer"
     },
     "bytes_total": {
      "title": "Bytes Total",
      "type": "integer"
     },
     "certificate": {
      "default": false,
      "title": "Certificate",
      "type": "boolean"
     },
     "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
     },
     "cutover": {
      "default": false,
      "title": "Cutover",
      "type": "boolean"
     },
     "destination_cloud_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Destination Cloud Id"
     },
     "destination_path": {
      "title": "Destination Path",
      "type": "string"
     },
     "error": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Error"
     },
     "files_done": {
      "title": "Files Done",
      "type": "integer"
     },
     "files_total": {
      "title": "Files Total",
      "type": "integer"
     },
     "finished_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Finished At"
     },
     "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
     },
     "kind": {
      "title": "Kind",
      "type": "string"
     },
     "label": {
      "title": "Label",
      "type": "string"
     },
     "mode": {
      "title": "Mode",
      "type": "string"
     },
     "name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Name"
     },
     "report": {
      "default": false,
      "title": "Report",
      "type": "boolean"
     },
     "source_cloud_id": {
      "anyOf": [
       {
        "format": "uuid",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Source Cloud Id"
     },
     "source_path": {
      "title": "Source Path",
      "type": "string"
     },
     "started_at": {
      "anyOf": [
       {
        "format": "date-time",
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Started At"
     },
     "status": {
      "title": "Status",
      "type": "string"
     }
    },
    "required": [
     "id",
     "status",
     "kind",
     "mode",
     "source_cloud_id",
     "source_path",
     "destination_cloud_id",
     "destination_path",
     "bytes_total",
     "bytes_done",
     "files_total",
     "files_done",
     "error",
     "created_at",
     "started_at",
     "finished_at",
     "label"
    ],
    "title": "Member",
    "type": "object"
   },
   "app__api__v1__webhooks__WebhookIn": {
    "additionalProperties": false,
    "properties": {
     "events": {
      "items": {
       "type": "string"
      },
      "maxItems": 9,
      "minItems": 1,
      "title": "Events",
      "type": "array"
     },
     "name": {
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "type": "string"
     },
     "url": {
      "maxLength": 2048,
      "minLength": 8,
      "title": "Url",
      "type": "string"
     }
    },
    "required": [
     "name",
     "url",
     "events"
    ],
    "title": "WebhookIn",
    "type": "object"
   },
   "app__api__v1__workspaces__Member": {
    "properties": {
     "can_write": {
      "title": "Can Write",
      "type": "boolean"
     },
     "email": {
      "title": "Email",
      "type": "string"
     },
     "user_id": {
      "format": "uuid",
      "title": "User Id",
      "type": "string"
     }
    },
    "required": [
     "user_id",
     "email",
     "can_write"
    ],
    "title": "Member",
    "type": "object"
   },
   "app__api__v1__workspaces__MemberIn": {
    "additionalProperties": false,
    "properties": {
     "can_write": {
      "default": true,
      "title": "Can Write",
      "type": "boolean"
     },
     "user_id": {
      "format": "uuid",
      "title": "User Id",
      "type": "string"
     }
    },
    "required": [
     "user_id"
    ],
    "title": "MemberIn",
    "type": "object"
   }
  },
  "securitySchemes": {
   "oauth2": {
    "flows": {
     "authorizationCode": {
      "authorizationUrl": "https://shiftmydata.com/oauth/authorize",
      "refreshUrl": "https://shiftmydata.com/api/oauth/token",
      "scopes": {
       "clouds:read": "See which clouds you have connected",
       "files:read": "List, search and download your files",
       "files:write": "Upload, copy, move, rename and delete your files",
       "offline_access": "Stay signed in when you are not using it",
       "profile": "See your name, email address and plan",
       "schedules:read": "See your schedules",
       "schedules:write": "Create, change, run and delete schedules",
       "transfers:read": "See your transfers and their progress",
       "transfers:write": "Start, pause and cancel transfers",
       "webhooks": "Send your transfer and schedule events to an address you choose",
       "workspaces:read": "Read your encrypted workspaces and their discussion",
       "workspaces:write": "Post in your encrypted workspaces"
      },
      "tokenUrl": "https://shiftmydata.com/api/oauth/token"
     },
     "clientCredentials": {
      "scopes": {
       "clouds:read": "See which clouds you have connected",
       "files:read": "List, search and download your files",
       "files:write": "Upload, copy, move, rename and delete your files",
       "offline_access": "Stay signed in when you are not using it",
       "profile": "See your name, email address and plan",
       "schedules:read": "See your schedules",
       "schedules:write": "Create, change, run and delete schedules",
       "transfers:read": "See your transfers and their progress",
       "transfers:write": "Start, pause and cancel transfers",
       "webhooks": "Send your transfer and schedule events to an address you choose",
       "workspaces:read": "Read your encrypted workspaces and their discussion",
       "workspaces:write": "Post in your encrypted workspaces"
      },
      "tokenUrl": "https://shiftmydata.com/api/oauth/token"
     }
    },
    "type": "oauth2"
   },
   "personalToken": {
    "description": "A personal API token (mc_pat_...) made on the Security page.",
    "scheme": "bearer",
    "type": "http"
   }
  }
 },
 "info": {
  "description": "Move, copy and sync files between clouds, and run it on a schedule. Sign in with OAuth 2.1 (authorization code with PKCE, the device flow for command-line tools, or client credentials for servers) or a personal API token. Public clients must bind their tokens with DPoP. Every list is paged with an opaque cursor; every creating POST takes an Idempotency-Key; every answer carries RateLimit headers.",
  "title": "ShiftMyData API",
  "version": "1"
 },
 "openapi": "3.1.0",
 "paths": {
  "/api/v1/account": {
   "get": {
    "operationId": "profile_api_v1_account_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Profile"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Profile",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/account/delete": {
   "post": {
    "description": "Delete the account and everything ShiftMyData holds for it, straight away. Files in the\nperson's clouds are not touched. The password confirms it, or for an account without one,\nthe address typed exactly. The app's own sign-in ends with the account.",
    "operationId": "delete_account_api_v1_account_delete_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DeleteAccount"
       }
      }
     },
     "required": true
    },
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Account",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/account/password": {
   "post": {
    "description": "Change the password, given the current one. Every browser is signed out, and every API\ntoken and drive app password stops working, as on the website. This app stays signed in.",
    "operationId": "change_password_api_v1_account_password_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ChangePassword"
       }
      }
     },
     "required": true
    },
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Change Password",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/account/verification": {
   "post": {
    "description": "Send the confirmation link again. Nothing happens for an address already confirmed.",
    "operationId": "resend_verification_api_v1_account_verification_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/app__api__routes__auth__Accepted"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Resend Verification",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/audit": {
   "get": {
    "description": "Everything done in the organisation, newest first. Pass the last ``id`` as ``before``.",
    "operationId": "events_api_v1_audit_get",
    "parameters": [
     {
      "in": "query",
      "name": "before",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "minimum": 1,
         "type": "integer"
        },
        {
         "type": "null"
        }
       ],
       "title": "Before"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/AuditEventOut"
         },
         "title": "Response Events Api V1 Audit Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Events",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/audit/settings": {
   "get": {
    "operationId": "settings__api_v1_audit_settings_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AuditSettingsOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Settings ",
    "tags": [
     "v1: people"
    ]
   },
   "put": {
    "description": "How long events are kept: 30 days to ten years, or null to keep them.",
    "operationId": "change_settings_api_v1_audit_settings_put",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AuditSettingsIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AuditSettingsOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Change Settings",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/audit/webhook": {
   "delete": {
    "operationId": "remove_webhook_api_v1_audit_webhook_delete",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AuditSettingsOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Remove Webhook",
    "tags": [
     "v1: people"
    ]
   },
   "put": {
    "description": "Send each new event to a SIEM. The signing secret is in this answer only.",
    "operationId": "set_webhook_api_v1_audit_webhook_put",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/app__api__routes__org_audit__WebhookIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/WebhookSaved"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Set Webhook",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/calendars/transfers": {
   "post": {
    "description": "Back up, copy or restore calendars or contacts (``what``). From a cloud of this kind,\n``src_collections`` picks which (empty: every one); from storage, ``src_path`` is one file\nor a folder of them. Into one, ``dst_collection`` picks where (empty: matched by name).\nA transfer to follow.",
    "operationId": "start_api_v1_calendars_transfers_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PimTransferSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Start",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/calendars/{account_id}/collections": {
   "get": {
    "description": "The calendars or address books in one cloud, asked of the service now: id, name, and\nwhether it can be written to.",
    "operationId": "collections_api_v1_calendars__account_id__collections_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "kind",
      "required": false,
      "schema": {
       "default": "calendars",
       "enum": [
        "calendars",
        "contacts"
       ],
       "title": "Kind",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/CollectionOut"
         },
         "title": "Response Collections Api V1 Calendars  Account Id  Collections Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Collections",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/clouds": {
   "get": {
    "description": "Every cloud the caller can see, oldest first. Short enough never to need a page.",
    "operationId": "list_clouds_api_v1_clouds_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/Cloud"
         },
         "title": "Response List Clouds Api V1 Clouds Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Clouds",
    "tags": [
     "v1: clouds"
    ]
   },
   "post": {
    "description": "Connect a cloud by its details (a key pair, a server and password), proved first.\n\nSign-in clouds use ``POST /clouds/connect``. Typed in ShiftMyData's own app only, by the\naccount owner: the details go to the server, which tries them before keeping them.",
    "operationId": "connect_with_fields_api_v1_clouds_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/FieldsIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Cloud"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Connect With Fields",
    "tags": [
     "v1: clouds"
    ]
   }
  },
  "/api/v1/clouds/connect": {
   "post": {
    "description": "Start connecting a cloud by its sign-in. Credential clouds use ``POST /clouds``.",
    "operationId": "start_connect_api_v1_clouds_connect_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ConnectIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ConnectOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Start Connect",
    "tags": [
     "v1: clouds"
    ]
   }
  },
  "/api/v1/clouds/connect/complete": {
   "post": {
    "description": "Finish it with the id the browser brought back and the app's verifier.",
    "operationId": "complete_connect_api_v1_clouds_connect_complete_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CompleteIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Cloud"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Complete Connect",
    "tags": [
     "v1: clouds"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/files": {
   "get": {
    "description": "Folders first, then files, each by name.\n\nThe provider is asked for the whole folder on every page -- most cannot list from the\nmiddle -- so a client reading a large folder should use a large ``limit``.",
    "operationId": "list_folder_api_v1_clouds__account_id__files_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Cursor"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 100,
       "title": "Limit",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Listing"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Folder",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/files/content": {
   "get": {
    "description": "The file at ``?path=``, streamed. Supports ``Range`` for resuming.",
    "operationId": "download_api_v1_clouds__account_id__files_content_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Download",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/files/copy": {
   "post": {
    "description": "Copy or move items. Small ones happen at once; large ones become a transfer.",
    "operationId": "copy_api_v1_clouds__account_id__files_copy_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CopyIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Copy",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/files/delete": {
   "post": {
    "description": "Delete items; a folder goes with everything in it. Each item answers for itself.",
    "operationId": "delete_api_v1_clouds__account_id__files_delete_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DeleteIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DeleteResult"
         },
         "title": "Response Delete Api V1 Clouds  Account Id  Files Delete Post",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/files/remove-empty": {
   "post": {
    "description": "Remove folders that are empty (mobile parity P2.6). Only what is still empty goes: a\nfolder that has had a file put in it since the scan is left, and says so.",
    "operationId": "remove_empty_api_v1_clouds__account_id__files_remove_empty_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RemoveEmptyIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DeleteResult"
         },
         "title": "Response Remove Empty Api V1 Clouds  Account Id  Files Remove Empty Post",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Remove Empty",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/files/rename": {
   "post": {
    "description": "Rename the item at ``?path=`` in place.",
    "operationId": "rename_api_v1_clouds__account_id__files_rename_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/Rename"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Done"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Rename",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/files/search": {
   "get": {
    "description": "Files and folders under ``path`` whose name contains ``q``, ignoring case (mobile parity\nP1.11). One cloud per request, as the website asks: an app searching every cloud sends one\neach, so a slow cloud does not hold back the others. The website's own search answers it.",
    "operationId": "search_folder_api_v1_clouds__account_id__files_search_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "q",
      "required": true,
      "schema": {
       "maxLength": 100,
       "minLength": 2,
       "title": "Q",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SearchResults"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Search Folder",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/folders": {
   "post": {
    "description": "A folder named ``name`` inside ``?path=``.",
    "operationId": "create_folder_api_v1_clouds__account_id__folders_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NewFolder"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Done"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Folder",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/trash/empty": {
   "post": {
    "description": "Empty this cloud's trash for good (mobile parity P2.6). The account owner only, and\nonly where the provider's trash can be emptied from here; the website's own handler.",
    "operationId": "empty_trash_api_v1_clouds__account_id__trash_empty_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TrashEmptied"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Empty Trash",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/uploads": {
   "post": {
    "description": "Start uploading a file named ``name`` of ``size`` bytes into ``?path=``.",
    "operationId": "start_upload_api_v1_clouds__account_id__uploads_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "name",
      "required": true,
      "schema": {
       "maxLength": 1024,
       "title": "Name",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "size",
      "required": true,
      "schema": {
       "minimum": 1,
       "title": "Size",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "overwrite",
      "required": false,
      "schema": {
       "default": false,
       "title": "Overwrite",
       "type": "boolean"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/UploadSession"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Start Upload",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/uploads/{session_id}": {
   "delete": {
    "operationId": "cancel_upload_api_v1_clouds__account_id__uploads__session_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "session_id",
      "required": true,
      "schema": {
       "title": "Session Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Cancel Upload",
    "tags": [
     "v1: files"
    ]
   },
   "put": {
    "description": "One piece of the file, as the body, starting at ``offset``.",
    "operationId": "send_piece_api_v1_clouds__account_id__uploads__session_id__put",
    "parameters": [
     {
      "in": "path",
      "name": "session_id",
      "required": true,
      "schema": {
       "title": "Session Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "offset",
      "required": true,
      "schema": {
       "minimum": 0,
       "title": "Offset",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/UploadSession"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Send Piece",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/clouds/{account_id}/uploads/{session_id}/complete": {
   "post": {
    "operationId": "complete_upload_api_v1_clouds__account_id__uploads__session_id__complete_post",
    "parameters": [
     {
      "in": "path",
      "name": "session_id",
      "required": true,
      "schema": {
       "title": "Session Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "maxLength": 4096,
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Uploaded"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Complete Upload",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/databases": {
   "get": {
    "description": "Every connected database: engine, its name (empty for a whole MongoDB server or a\nRedis), whether backups are encrypted, whether it can be restored from here, the last\nbackup and restore, and the backup schedules that read it. Never a password or a\npassphrase.",
    "operationId": "list_databases_api_v1_databases_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DatabaseOut"
         },
         "title": "Response List Databases Api V1 Databases Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Databases",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/databases/backups": {
   "post": {
    "description": "Back a database up into a cloud folder now. ``include`` or ``exclude`` picks tables or\ncollections (``key`` from ``/objects``); ``keep_last`` is how many of its own backups the\nfolder keeps. A transfer to follow.",
    "operationId": "backup_api_v1_databases_backups_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DumpSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Backup",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/databases/restores": {
   "post": {
    "description": "Load a backup file from a cloud into a database. It changes the database, so\n``confirm`` must be the database's name, typed by the person; never retried on its own.\n``passphrase`` is for a backup encrypted with another passphrase than the account's.",
    "operationId": "restore_api_v1_databases_restores_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DatabaseRestoreSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Restore",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/databases/{account_id}/objects": {
   "get": {
    "description": "What the database holds -- tables, views, collections and the rest -- for choosing\nwhat a backup takes. Asked of the database now, so under the write limit.",
    "operationId": "list_objects_api_v1_databases__account_id__objects_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CatalogOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Objects",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/developers/apps": {
   "get": {
    "operationId": "apps_api_v1_developers_apps_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/RegisteredApp"
         },
         "title": "Response Apps Api V1 Developers Apps Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Apps",
    "tags": [
     "v1: developers"
    ]
   },
   "post": {
    "description": "Register an app. A client-secret app's secret is in this answer and never again.",
    "operationId": "make_app_api_v1_developers_apps_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AppIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AppMade"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Make App",
    "tags": [
     "v1: developers"
    ]
   }
  },
  "/api/v1/developers/apps/{app_id}": {
   "delete": {
    "description": "Switch the app off: every sign-in made through it ends.",
    "operationId": "switch_off_app_api_v1_developers_apps__app_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "app_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "App Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Switch Off App",
    "tags": [
     "v1: developers"
    ]
   },
   "patch": {
    "operationId": "change_app_api_v1_developers_apps__app_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "app_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "App Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AppEdit"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RegisteredApp"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Change App",
    "tags": [
     "v1: developers"
    ]
   }
  },
  "/api/v1/developers/apps/{app_id}/secret": {
   "post": {
    "description": "A new client secret, shown once; the old one keeps working for a day.",
    "operationId": "new_secret_api_v1_developers_apps__app_id__secret_post",
    "parameters": [
     {
      "in": "path",
      "name": "app_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "App Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AppMade"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "New Secret",
    "tags": [
     "v1: developers"
    ]
   }
  },
  "/api/v1/developers/connected": {
   "get": {
    "description": "Every app that can use this account: what it may do, from where, and when last.",
    "operationId": "connected_api_v1_developers_connected_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ConnectedApp"
         },
         "title": "Response Connected Api V1 Developers Connected Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Connected",
    "tags": [
     "v1: developers"
    ]
   }
  },
  "/api/v1/developers/connected/{grant_id}": {
   "delete": {
    "description": "Stop an app reaching the account, from its next request.",
    "operationId": "disconnect_api_v1_developers_connected__grant_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "grant_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Grant Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Disconnect",
    "tags": [
     "v1: developers"
    ]
   }
  },
  "/api/v1/mail/migrations": {
   "post": {
    "description": "Move a mailbox into a cloud folder (``format``: ``archive``, a PDF per message with\nthe original and its attachments, or ``mbox``, a backup any mail program imports) or into\nanother mailbox. ``filter`` picks messages; ``attachments_only`` saves only the files they\ncarry. Each run takes only what the last one did not. A transfer to follow.",
    "operationId": "migrate_api_v1_mail_migrations_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/EmailSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Migrate",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/mail/pst": {
   "post": {
    "description": "Turn an Outlook .pst in a cloud into .mbox files beside it, and, with\n``restore_into``, put them into a mailbox too. 403 when this server does not import PST\nfiles. A transfer to follow.",
    "operationId": "import_pst_api_v1_mail_pst_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PstSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Import Pst",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/mail/restores": {
   "post": {
    "description": "Put the mail in .mbox files (one file, or a folder of them at any depth) back into a\nmailbox; Sent goes to Sent, Trash to Trash. A transfer to follow.",
    "operationId": "restore_api_v1_mail_restores_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RestoreSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Restore",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/mail/{account_id}/folders": {
   "get": {
    "description": "The mailbox's folders, asked of the server now, with how deep each sits, whether it\nholds messages, and the ones a migration takes if nothing is changed.",
    "operationId": "mail_folders_api_v1_mail__account_id__folders_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FoldersOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Mail Folders",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/me": {
   "get": {
    "operationId": "me_api_v1_me_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Me"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Me",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/me/coupons": {
   "post": {
    "description": "Redeem a coupon code; the allowance goes to the account's owner. A wrong code counts like\na wrong password, as on the website.",
    "operationId": "redeem_coupon_api_v1_me_coupons_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/RedeemIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RedeemedOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Redeem Coupon",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/me/drive": {
   "get": {
    "operationId": "drive_api_v1_me_drive_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Drive"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Drive",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/me/receipts": {
   "get": {
    "description": "Every pack the account owner paid for, as receipts, with the seller's details to print\non them (mobile parity P1.13). The owner's alone: a sub-account is refused, as on the\nwebsite. Packs are bought through sales on WhatsApp until checkout opens.",
    "operationId": "receipts_api_v1_me_receipts_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ReceiptsOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Receipts",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/me/referrals": {
   "get": {
    "description": "The owner's invite link and what it has earned. A sub-account is refused, as on the\nwebsite.",
    "operationId": "referrals_api_v1_me_referrals_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ReferralsOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Referrals",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/me/summary": {
   "get": {
    "operationId": "summary_api_v1_me_summary_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Summary"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Summary",
    "tags": [
     "v1: account"
    ]
   }
  },
  "/api/v1/mirrors": {
   "get": {
    "description": "Every mirror: the organisation, where its copies go and how (``mirror``, ``two_way``,\n``copy``), how often, people and Shared Drives in it, on or paused, the last pass and its\nproblem, and the live watch (drives watched, the last change copied, the oldest waiting).",
    "operationId": "list_mirrors_api_v1_mirrors_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/MirrorOut"
         },
         "title": "Response List Mirrors Api V1 Mirrors Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Mirrors",
    "tags": [
     "v1: schedules"
    ]
   },
   "post": {
    "description": "Read the organisation's directory, connect its people, and start mirroring into\n``dst_account_id`` / ``dst_path``. The first pass is due at once. The organisation is a\ncloud of ``kind`` ``organisation`` in ``GET /clouds``.",
    "operationId": "create_mirror_api_v1_mirrors_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MirrorSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Mirror",
    "tags": [
     "v1: schedules"
    ]
   }
  },
  "/api/v1/mirrors/{mirror_id}": {
   "delete": {
    "description": "Stop mirroring. The copies already made stay where they are, and so do the people's\naccounts, which other transfers may use.",
    "operationId": "delete_mirror_api_v1_mirrors__mirror_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "mirror_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Mirror Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Mirror",
    "tags": [
     "v1: schedules"
    ]
   },
   "patch": {
    "description": "``enabled`` false pauses it; true resumes it with a pass due at once.",
    "operationId": "pause_or_resume_api_v1_mirrors__mirror_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "mirror_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Mirror Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MirrorPatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/MirrorOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Pause Or Resume",
    "tags": [
     "v1: schedules"
    ]
   }
  },
  "/api/v1/mirrors/{mirror_id}/directory": {
   "post": {
    "description": "Read the directory now rather than tomorrow: somebody just joined.",
    "operationId": "read_directory_now_api_v1_mirrors__mirror_id__directory_post",
    "parameters": [
     {
      "in": "path",
      "name": "mirror_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Mirror Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/MirrorOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Read Directory Now",
    "tags": [
     "v1: schedules"
    ]
   }
  },
  "/api/v1/notifications": {
   "get": {
    "operationId": "channels_api_v1_notifications_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ChannelOut"
         },
         "title": "Response Channels Api V1 Notifications Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Channels",
    "tags": [
     "v1: notifications"
    ]
   },
   "post": {
    "description": "Email (to the account's own address), a webhook, Slack or Discord. A webhook's signing\nsecret is in this answer and never again.",
    "operationId": "add_channel_api_v1_notifications_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ChannelCreate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ChannelCreated"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Add Channel",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/events": {
   "get": {
    "description": "What a channel can subscribe to.",
    "operationId": "events_api_v1_notifications_events_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "items": {
           "type": "string"
          },
          "type": "array"
         },
         "title": "Response Events Api V1 Notifications Events Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Events",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/kinds": {
   "get": {
    "description": "The kinds this server can deliver and an app can set up.",
    "operationId": "kinds_api_v1_notifications_kinds_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/KindsOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Kinds",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/telegram/link": {
   "post": {
    "description": "A link that opens the bot in Telegram; pressing Start there makes the channel.",
    "operationId": "telegram_link_api_v1_notifications_telegram_link_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TelegramLinkIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TelegramLinkOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Telegram Link",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/telegram/link/{code}": {
   "get": {
    "operationId": "telegram_link_status_api_v1_notifications_telegram_link__code__get",
    "parameters": [
     {
      "in": "path",
      "name": "code",
      "required": true,
      "schema": {
       "maxLength": 64,
       "minLength": 16,
       "pattern": "^[A-Za-z0-9_-]+$",
       "title": "Code",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TelegramLinkStatus"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Telegram Link Status",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/{channel_id}": {
   "delete": {
    "operationId": "remove_channel_api_v1_notifications__channel_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Remove Channel",
    "tags": [
     "v1: notifications"
    ]
   },
   "patch": {
    "description": "Rename, change the events, or switch it on or off.",
    "operationId": "change_channel_api_v1_notifications__channel_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ChannelUpdate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ChannelOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Change Channel",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/{channel_id}/deliveries": {
   "get": {
    "operationId": "deliveries_api_v1_notifications__channel_id__deliveries_get",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DeliveryOut"
         },
         "title": "Response Deliveries Api V1 Notifications  Channel Id  Deliveries Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Deliveries",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/{channel_id}/deliveries/{delivery_id}/replay": {
   "post": {
    "operationId": "replay_api_v1_notifications__channel_id__deliveries__delivery_id__replay_post",
    "parameters": [
     {
      "in": "path",
      "name": "delivery_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Delivery Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Replay Api V1 Notifications  Channel Id  Deliveries  Delivery Id  Replay Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Replay",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/{channel_id}/secret": {
   "post": {
    "description": "A webhook's new signing secret, shown once; the old one keeps working for a while.",
    "operationId": "new_secret_api_v1_notifications__channel_id__secret_post",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SecretRotated"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "New Secret",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/notifications/{channel_id}/test": {
   "post": {
    "description": "Send a test event now, through the real delivery path.",
    "operationId": "test_channel_api_v1_notifications__channel_id__test_post",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "type": "string"
         },
         "title": "Response Test Channel Api V1 Notifications  Channel Id  Test Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Test Channel",
    "tags": [
     "v1: notifications"
    ]
   }
  },
  "/api/v1/organisations/{account_id}/directory": {
   "get": {
    "description": "Who belongs to this organisation, asked of it now: address, name, active, and whether\nthey are already connected here. The first real test of the organisation's credential, so\na failure names the grant that is missing.",
    "operationId": "read_directory_api_v1_organisations__account_id__directory_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DirectoryOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Read Directory",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/organisations/{account_id}/members": {
   "post": {
    "description": "Connect up to 200 of the organisation's people as accounts, to put in a roster. Somebody\nwho cannot be addressed (never opened their drive) is skipped and named.",
    "operationId": "add_members_api_v1_organisations__account_id__members_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AddMembers"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Added"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Add Members",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/organisations/{account_id}/spaces": {
   "get": {
    "description": "The organisation's Shared Drives, SharePoint sites or team folders, asked of it now.",
    "operationId": "read_spaces_api_v1_organisations__account_id__spaces_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/SharedSpaceOut"
         },
         "title": "Response Read Spaces Api V1 Organisations  Account Id  Spaces Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Read Spaces",
    "tags": [
     "v1: transfers"
    ]
   },
   "post": {
    "description": "Connect some of the organisation's shared spaces as accounts, by the ids the listing\ngave them.",
    "operationId": "add_spaces_api_v1_organisations__account_id__spaces_post",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AddSpaces"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Added"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Add Spaces",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/people": {
   "get": {
    "operationId": "people_api_v1_people_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/SubAccountOut"
         },
         "title": "Response People Api V1 People Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "People",
    "tags": [
     "v1: people"
    ]
   },
   "post": {
    "description": "Add somebody who signs in for themselves and reaches nothing until a folder is lent.\nAccepted either way: whether the address already has an account is not said.",
    "operationId": "add_person_api_v1_people_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SubAccountCreate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/app__api__routes__sub_accounts__Accepted"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Add Person",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/people/lendable": {
   "get": {
    "description": "The owner's clouds a folder can be lent from.",
    "operationId": "lendable_api_v1_people_lendable_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/LendableAccount"
         },
         "title": "Response Lendable Api V1 People Lendable Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Lendable",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/people/{person_id}": {
   "delete": {
    "operationId": "remove_person_api_v1_people__person_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Remove Person",
    "tags": [
     "v1: people"
    ]
   },
   "patch": {
    "description": "Rename, change the role, suspend or reinstate, or set a new password.",
    "operationId": "change_person_api_v1_people__person_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SubAccountUpdate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SubAccountOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Change Person",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/people/{person_id}/folders": {
   "get": {
    "description": "The folders lent to this person.",
    "operationId": "folders_api_v1_people__person_id__folders_get",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/GrantOut"
         },
         "title": "Response Folders Api V1 People  Person Id  Folders Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Folders",
    "tags": [
     "v1: people"
    ]
   },
   "post": {
    "description": "Lend one folder of one cloud, to read or to read and change.",
    "operationId": "lend_folder_api_v1_people__person_id__folders_post",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/GrantCreate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GrantCreated"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Lend Folder",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/people/{person_id}/folders/{grant_id}": {
   "delete": {
    "description": "Stop lending a folder. Their transfers from it are cancelled, their links to it end.",
    "operationId": "take_folder_back_api_v1_people__person_id__folders__grant_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "grant_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Grant Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Revoked"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Take Folder Back",
    "tags": [
     "v1: people"
    ]
   },
   "patch": {
    "operationId": "change_folder_api_v1_people__person_id__folders__grant_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "grant_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Grant Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/GrantUpdate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GrantOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Change Folder",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/people/{person_id}/held-jobs": {
   "get": {
    "description": "Their transfers held when they were suspended.",
    "operationId": "held_jobs_api_v1_people__person_id__held_jobs_get",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/HeldJobOut"
         },
         "title": "Response Held Jobs Api V1 People  Person Id  Held Jobs Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Held Jobs",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/people/{person_id}/tokens": {
   "get": {
    "operationId": "person_tokens_api_v1_people__person_id__tokens_get",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DelegateTokenOut"
         },
         "title": "Response Person Tokens Api V1 People  Person Id  Tokens Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Person Tokens",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/people/{person_id}/tokens/{token_id}": {
   "delete": {
    "operationId": "revoke_person_token_api_v1_people__person_id__tokens__token_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "person_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Person Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "token_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Token Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Revoke Person Token",
    "tags": [
     "v1: people"
    ]
   }
  },
  "/api/v1/providers": {
   "get": {
    "description": "Every service this server can connect, and which are not set up yet.",
    "operationId": "providers_api_v1_providers_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CatalogueOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Providers",
    "tags": [
     "v1: clouds"
    ]
   }
  },
  "/api/v1/saves": {
   "post": {
    "description": "Fetch a link, a page's video, or a rendering of the page into a folder, as a\ntransfer to follow at ``/transfers/{id}``. The server fetches it, never the client: the\nsame address checks as the web app's own (no private addresses, redirects re-checked).",
    "operationId": "save_from_web_api_v1_saves_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/SaveIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Save From Web",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/saves/torrent": {
   "post": {
    "description": "Download a torrent or magnet link into a folder, as a transfer to follow at\n``/transfers/{id}``. The website's own handler: a ``.torrent`` is read before this\nanswers, so its size and file names are checked now; a magnet's size once the swarm says.\n503 when this server does not take torrents (``features`` in ``/providers`` says so).",
    "operationId": "save_torrent_api_v1_saves_torrent_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TorrentIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Save Torrent",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/scans/assessment": {
   "post": {
    "description": "Check a folder against a destination before moving it (mobile parity P3.5). Free, and\nnothing moves: what would fail (a path too long, a name refused, a file over a limit, two\nnames differing only in case), what would change, and an estimate of the time and the\nallowance. A transfer to follow; once finished, ``/transfers/{id}/assessment``. Takes the\ntransfer filters too. 403 when this server does not assess (``assessment`` in\n``/providers`` ``features``).",
    "operationId": "scan_assessment_api_v1_scans_assessment_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AssessSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Scan Assessment",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/scans/cleanup": {
   "post": {
    "description": "Look for large old files, empty folders and trash to empty. A transfer to follow;\nonce finished, ``/transfers/{id}/cleanup`` has the suggestions.",
    "operationId": "scan_cleanup_api_v1_scans_cleanup_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CleanupSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Scan Cleanup",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/scans/duplicates": {
   "post": {
    "description": "Look for copies of the same file across up to ten places (clouds or folders). A\ntransfer to follow; once it has finished, ``/transfers/{id}/duplicates`` has the groups.\nReads whole clouds, so it shares an hourly limit with the clean-up scan.",
    "operationId": "scan_duplicates_api_v1_scans_duplicates_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ScanSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Scan Duplicates",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/schedules": {
   "get": {
    "description": "Every schedule the caller can see. Capped per person, so never paged.",
    "operationId": "list_schedules_api_v1_schedules_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/Schedule"
         },
         "title": "Response List Schedules Api V1 Schedules Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Schedules",
    "tags": [
     "v1: schedules"
    ]
   },
   "post": {
    "description": "A transfer on a timetable. Send ``Idempotency-Key`` so a retry makes one, not two.",
    "operationId": "create_schedule_api_v1_schedules_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ScheduleIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Schedule",
    "tags": [
     "v1: schedules"
    ]
   }
  },
  "/api/v1/schedules/{schedule_id}": {
   "delete": {
    "operationId": "delete_schedule_api_v1_schedules__schedule_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "schedule_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Schedule Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Schedule",
    "tags": [
     "v1: schedules"
    ]
   },
   "get": {
    "operationId": "get_schedule_api_v1_schedules__schedule_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "schedule_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Schedule Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Schedule"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Get Schedule",
    "tags": [
     "v1: schedules"
    ]
   },
   "patch": {
    "description": "Rename it, retime it, or switch it on or off. What it runs is changed in the web app.",
    "operationId": "edit_schedule_api_v1_schedules__schedule_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "schedule_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Schedule Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ScheduleEdit"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Schedule"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Edit Schedule",
    "tags": [
     "v1: schedules"
    ]
   }
  },
  "/api/v1/schedules/{schedule_id}/run": {
   "post": {
    "description": "Run it now, as its timetable would. Answers with the transfer it started.",
    "operationId": "run_schedule_api_v1_schedules__schedule_id__run_post",
    "parameters": [
     {
      "in": "path",
      "name": "schedule_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Schedule Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Transfer"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Run Schedule",
    "tags": [
     "v1: schedules"
    ]
   }
  },
  "/api/v1/schedules/{schedule_id}/trigger": {
   "delete": {
    "operationId": "delete_trigger_api_v1_schedules__schedule_id__trigger_delete",
    "parameters": [
     {
      "in": "path",
      "name": "schedule_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Schedule Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Trigger",
    "tags": [
     "v1: schedules"
    ]
   },
   "post": {
    "description": "A URL that runs this schedule when POSTed to; replaces any earlier one. Shown once.",
    "operationId": "create_trigger_api_v1_schedules__schedule_id__trigger_post",
    "parameters": [
     {
      "in": "path",
      "name": "schedule_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Schedule Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TriggerIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TriggerMade"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Trigger",
    "tags": [
     "v1: schedules"
    ]
   }
  },
  "/api/v1/security/activity": {
   "get": {
    "description": "Sign-ins and changes to the account, newest first. Pass ``next_before`` as ``before``.",
    "operationId": "activity_api_v1_security_activity_get",
    "parameters": [
     {
      "in": "query",
      "name": "before",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "minimum": 1,
         "type": "integer"
        },
        {
         "type": "null"
        }
       ],
       "title": "Before"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 25,
       "maximum": 100,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ActivityPage"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Activity",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/app-passwords": {
   "get": {
    "operationId": "app_passwords_api_v1_security_app_passwords_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/AppPasswordOut"
         },
         "title": "Response App Passwords Api V1 Security App Passwords Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "App Passwords",
    "tags": [
     "v1: security"
    ]
   },
   "post": {
    "description": "A password for the network drive or SFTP, given the password or a code. Shown once.",
    "operationId": "create_app_password_api_v1_security_app_passwords_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/AppPasswordIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AppPasswordCreated"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create App Password",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/app-passwords/{password_id}": {
   "delete": {
    "operationId": "revoke_app_password_api_v1_security_app_passwords__password_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "password_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Password Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Revoke App Password",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/passkeys": {
   "get": {
    "operationId": "passkeys_api_v1_security_passkeys_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PasskeysOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Passkeys",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/passkeys/{passkey_id}": {
   "patch": {
    "operationId": "rename_passkey_api_v1_security_passkeys__passkey_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "passkey_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Passkey Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PasskeyRenameIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PasskeyOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Rename Passkey",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/passkeys/{passkey_id}/remove": {
   "post": {
    "operationId": "remove_passkey_api_v1_security_passkeys__passkey_id__remove_post",
    "parameters": [
     {
      "in": "path",
      "name": "passkey_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Passkey Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProofIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Remove Passkey",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/tokens": {
   "get": {
    "operationId": "tokens_api_v1_security_tokens_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/TokenOut"
         },
         "title": "Response Tokens Api V1 Security Tokens Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Tokens",
    "tags": [
     "v1: security"
    ]
   },
   "post": {
    "description": "A new personal token, given the password or a code. The token itself is in this answer\nand never again; no ``Idempotency-Key`` replay keeps a copy of it.",
    "operationId": "create_token_api_v1_security_tokens_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TokenIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TokenCreated"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Token",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/tokens/{token_id}": {
   "delete": {
    "operationId": "revoke_token_api_v1_security_tokens__token_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "token_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Token Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Revoke Token",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/two-factor": {
   "get": {
    "operationId": "two_factor_api_v1_security_two_factor_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TwoFactorStatus"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Two Factor",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/two-factor/disable": {
   "post": {
    "operationId": "two_factor_disable_api_v1_security_two_factor_disable_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ProofIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Two Factor Disable",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/two-factor/enable": {
   "post": {
    "description": "Confirm with a code from the authenticator. Answers the recovery codes, shown once, and\nsigns every browser out.",
    "operationId": "two_factor_enable_api_v1_security_two_factor_enable_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CodeIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RecoveryCodesOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Two Factor Enable",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/two-factor/recovery-codes": {
   "post": {
    "description": "Replace every recovery code, given a code (a recovery code will do). Shown once.",
    "operationId": "two_factor_recovery_codes_api_v1_security_two_factor_recovery_codes_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CodeIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RecoveryCodesOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Two Factor Recovery Codes",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/security/two-factor/setup": {
   "post": {
    "description": "A secret to put in the authenticator, shown once. ``otpauth_uri`` opens an authenticator\napp on the same phone. Nothing changes at sign-in until a code confirms it.",
    "operationId": "two_factor_setup_api_v1_security_two_factor_setup_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/EnrolmentOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Two Factor Setup",
    "tags": [
     "v1: security"
    ]
   }
  },
  "/api/v1/shares": {
   "get": {
    "operationId": "list_shares_api_v1_shares_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/Share"
         },
         "title": "Response List Shares Api V1 Shares Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Shares",
    "tags": [
     "v1: shares"
    ]
   },
   "post": {
    "description": "A link anybody holding it can download from, until it expires or is revoked.",
    "operationId": "create_share_api_v1_shares_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ShareIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Share",
    "tags": [
     "v1: shares"
    ]
   }
  },
  "/api/v1/shares/{share_id}": {
   "delete": {
    "operationId": "revoke_share_api_v1_shares__share_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "share_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Share Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Revoke Share",
    "tags": [
     "v1: shares"
    ]
   }
  },
  "/api/v1/support/attachments/{attachment_id}": {
   "get": {
    "description": "A file from one of the person's tickets.",
    "operationId": "attachment_api_v1_support_attachments__attachment_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "attachment_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Attachment Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Attachment",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/chat": {
   "post": {
    "description": "Start a live chat: a ticket on the chat channel. Asked when nobody is available too;\nreplies then come by email. Send ``Idempotency-Key``.",
    "operationId": "chat_api_v1_support_chat_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NewChat"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Chat",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/info": {
   "get": {
    "description": "What Help offers: tickets, chat and whether anybody is there, the email address, the\ncategories and what a file may be.",
    "operationId": "info_api_v1_support_info_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SupportInfo"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Info",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/messages/{message_id}/attachments": {
   "post": {
    "description": "One file for a message the person has just sent: the body is the file, ``?name=`` its\nname. The types and size ``/info`` lists.",
    "operationId": "attach_api_v1_support_messages__message_id__attachments_post",
    "parameters": [
     {
      "in": "path",
      "name": "message_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Message Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "name",
      "required": true,
      "schema": {
       "maxLength": 255,
       "title": "Name",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AttachmentOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Attach",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/tickets": {
   "get": {
    "description": "The person's tickets, the most recently active first.",
    "operationId": "tickets_api_v1_support_tickets_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/TicketSummary"
         },
         "title": "Response Tickets Api V1 Support Tickets Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Tickets",
    "tags": [
     "v1: support"
    ]
   },
   "post": {
    "description": "Open a ticket with its first message. Send ``Idempotency-Key`` so a retry opens one.",
    "operationId": "open_ticket_api_v1_support_tickets_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NewTicket"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Open Ticket",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/tickets/{ticket_id}": {
   "get": {
    "description": "The whole thread; reading it marks it read.",
    "operationId": "ticket_api_v1_support_tickets__ticket_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "ticket_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Ticket Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TicketDetail"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Ticket",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/tickets/{ticket_id}/close": {
   "post": {
    "operationId": "close_api_v1_support_tickets__ticket_id__close_post",
    "parameters": [
     {
      "in": "path",
      "name": "ticket_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Ticket Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TicketDetail"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Close",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/tickets/{ticket_id}/messages": {
   "post": {
    "description": "A reply. Files follow it at ``/messages/{id}/attachments``, one per request.",
    "operationId": "reply_api_v1_support_tickets__ticket_id__messages_post",
    "parameters": [
     {
      "in": "path",
      "name": "ticket_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Ticket Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/NewMessage"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/MessageOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Reply",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/tickets/{ticket_id}/rating": {
   "post": {
    "description": "How the help was, 1 to 5, once the ticket is solved or closed.",
    "operationId": "rate_api_v1_support_tickets__ticket_id__rating_post",
    "parameters": [
     {
      "in": "path",
      "name": "ticket_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Ticket Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/Rating"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TicketDetail"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Rate",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/tickets/{ticket_id}/reopen": {
   "post": {
    "operationId": "reopen_api_v1_support_tickets__ticket_id__reopen_post",
    "parameters": [
     {
      "in": "path",
      "name": "ticket_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Ticket Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TicketDetail"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Reopen",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/tickets/{ticket_id}/since": {
   "get": {
    "description": "What is new since ``after``, with the status and whether the desk is typing: the poll\nof an open ticket or chat.",
    "operationId": "since_api_v1_support_tickets__ticket_id__since_get",
    "parameters": [
     {
      "in": "path",
      "name": "ticket_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Ticket Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "after",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "format": "date-time",
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "After"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TicketDetail"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Since",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/support/tickets/{ticket_id}/typing": {
   "post": {
    "operationId": "typing_api_v1_support_tickets__ticket_id__typing_post",
    "parameters": [
     {
      "in": "path",
      "name": "ticket_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Ticket Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "type": "boolean"
         },
         "title": "Response Typing Api V1 Support Tickets  Ticket Id  Typing Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Typing",
    "tags": [
     "v1: support"
    ]
   }
  },
  "/api/v1/team-transfers": {
   "post": {
    "description": "Start a migration: one batch, many members, one report. The whole roster is checked\nfirst. A transfer to follow (``kind`` ``team_transfer``); its people are\n``/transfers/{id}/members``.",
    "operationId": "start_api_v1_team_transfers_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TeamSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Start",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/team-transfers/plan": {
   "post": {
    "description": "The whole migration before it exists: refused, naming the member, when any row cannot\nrun; otherwise each member's plan and the warnings rolled up.",
    "operationId": "plan_api_v1_team_transfers_plan_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TeamSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TeamPlan"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Plan",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/telegram/archives": {
   "post": {
    "description": "Save a chat as a readable archive in a cloud folder; each run carries on from where the\nlast stopped (on a schedule: ``POST /schedules`` with ``chat_archive``). A transfer to\nfollow.",
    "operationId": "archive_api_v1_telegram_archives_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ArchiveSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Archive",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/clones": {
   "get": {
    "description": "Every clone: source and destination chat, status, pace, filters, what it has copied, and\nits group if it was made in a batch.",
    "operationId": "list_clones_api_v1_telegram_clones_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/CloneOut"
         },
         "title": "Response List Clones Api V1 Telegram Clones Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Clones",
    "tags": [
     "v1: telegram"
    ]
   },
   "post": {
    "description": "Copy one chat's files into another, paced, from ``start`` (all, the last, only new, or\nwhere a deleted clone stopped), then keep following it if ``follow``.",
    "operationId": "create_clone_api_v1_telegram_clones_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CloneCreate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Clone",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/clones/batch": {
   "post": {
    "description": "Many clones at once, as one group sharing a pace.",
    "operationId": "create_clones_api_v1_telegram_clones_batch_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CloneBatch"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Clones",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/clones/groups/{group_id}": {
   "delete": {
    "operationId": "delete_group_api_v1_telegram_clones_groups__group_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "group_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Group Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Group",
    "tags": [
     "v1: telegram"
    ]
   },
   "patch": {
    "description": "Pause or resume a whole group, or change its shared pace.",
    "operationId": "update_group_api_v1_telegram_clones_groups__group_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "group_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Group Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/GroupUpdate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/CloneOut"
         },
         "title": "Response Update Group Api V1 Telegram Clones Groups  Group Id  Patch",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Update Group",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/clones/position": {
   "get": {
    "description": "Where an earlier clone of these two chats stopped, for ``start`` ``resume``.",
    "operationId": "clone_position_api_v1_telegram_clones_position_get",
    "parameters": [
     {
      "in": "query",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "source",
      "required": true,
      "schema": {
       "maxLength": 512,
       "minLength": 1,
       "title": "Source",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "destination",
      "required": true,
      "schema": {
       "maxLength": 512,
       "minLength": 1,
       "title": "Destination",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PositionOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Clone Position",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/clones/preview": {
   "post": {
    "description": "The pairs a batch of sources and destinations would make, and any already running.",
    "operationId": "preview_clones_api_v1_telegram_clones_preview_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PairsIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PreviewOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Preview Clones",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/clones/{clone_id}": {
   "delete": {
    "description": "Stop and forget it; what it copied stays, and its position is kept for a resume.",
    "operationId": "delete_clone_api_v1_telegram_clones__clone_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "clone_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Clone Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Clone",
    "tags": [
     "v1: telegram"
    ]
   },
   "patch": {
    "description": "Pause or resume it, change its pace, what it copies, or whether it follows on.",
    "operationId": "update_clone_api_v1_telegram_clones__clone_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "clone_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Clone Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/CloneUpdate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CloneOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Update Clone",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/clones/{clone_id}/events": {
   "get": {
    "description": "What the clone has done lately, newest first.",
    "operationId": "clone_events_api_v1_telegram_clones__clone_id__events_get",
    "parameters": [
     {
      "in": "path",
      "name": "clone_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Clone Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/EventOut"
         },
         "title": "Response Clone Events Api V1 Telegram Clones  Clone Id  Events Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Clone Events",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/duplicates": {
   "get": {
    "description": "Every duplicate scan of a chat: its progress, what it found, what was deleted.",
    "operationId": "list_scans_api_v1_telegram_duplicates_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DuplicateScanOut"
         },
         "title": "Response List Scans Api V1 Telegram Duplicates Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Scans",
    "tags": [
     "v1: telegram"
    ]
   },
   "post": {
    "description": "Read a chat for the same file posted more than once (by the file, or also by name).",
    "operationId": "start_scan_api_v1_telegram_duplicates_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ScanCreate"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Start Scan",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/duplicates/{scan_id}": {
   "delete": {
    "operationId": "forget_scan_api_v1_telegram_duplicates__scan_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "scan_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Scan Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Forget Scan",
    "tags": [
     "v1: telegram"
    ]
   },
   "get": {
    "operationId": "get_scan_api_v1_telegram_duplicates__scan_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "scan_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Scan Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DuplicateScanOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Get Scan",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/duplicates/{scan_id}/cancel": {
   "post": {
    "operationId": "cancel_scan_api_v1_telegram_duplicates__scan_id__cancel_post",
    "parameters": [
     {
      "in": "path",
      "name": "scan_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Scan Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DuplicateScanOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Cancel Scan",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/duplicates/{scan_id}/delete": {
   "post": {
    "description": "Delete every copy but the first in each group, except the groups in ``skip_groups``.\nThe messages are deleted in Telegram.",
    "operationId": "delete_duplicates_api_v1_telegram_duplicates__scan_id__delete_post",
    "parameters": [
     {
      "in": "path",
      "name": "scan_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Scan Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DeleteConfirm"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DuplicateScanOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Duplicates",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/duplicates/{scan_id}/groups": {
   "get": {
    "description": "A page of what the scan found, most copies first.",
    "operationId": "scan_groups_api_v1_telegram_duplicates__scan_id__groups_get",
    "parameters": [
     {
      "in": "path",
      "name": "scan_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Scan Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "offset",
      "required": false,
      "schema": {
       "default": 0,
       "minimum": 0,
       "title": "Offset",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GroupsOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Scan Groups",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/pricing": {
   "get": {
    "description": "What a cloned file counts against the allowance.",
    "operationId": "pricing_api_v1_telegram_pricing_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PricingOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Pricing",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/{account_id}/access": {
   "get": {
    "description": "Whether the workers can sign in as this account on their own, and whether a two-step\npassword is saved for them -- never the password.",
    "operationId": "access_api_v1_telegram__account_id__access_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AccessOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Access",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/{account_id}/chats": {
   "get": {
    "description": "Every chat at the root (``path`` empty); the files in one below it, newest first, a page\nat a time (``before`` the oldest message id seen).",
    "operationId": "chats_api_v1_telegram__account_id__chats_get",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "default": "",
       "title": "Path",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "before",
      "required": false,
      "schema": {
       "default": 0,
       "title": "Before",
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 200,
       "maximum": 500,
       "minimum": 1,
       "title": "Limit",
       "type": "integer"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ListingOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Chats",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/telegram/{account_id}/password": {
   "delete": {
    "operationId": "forget_password_api_v1_telegram__account_id__password_delete",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Forget Password",
    "tags": [
     "v1: telegram"
    ]
   },
   "put": {
    "description": "Save the account's two-step password, so the workers can sign in as it. Checked against\nTelegram first.",
    "operationId": "save_password_api_v1_telegram__account_id__password_put",
    "parameters": [
     {
      "in": "path",
      "name": "account_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Account Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/PasswordSaveIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Save Password",
    "tags": [
     "v1: telegram"
    ]
   }
  },
  "/api/v1/transfers": {
   "get": {
    "description": "Newest first. Members of a team transfer are read through the batch, not listed here.\n\nKeyset paging on (created, id), so a transfer started while a client pages through never\nshifts the pages it has not read yet.",
    "operationId": "list_transfers_api_v1_transfers_get",
    "parameters": [
     {
      "in": "query",
      "name": "cursor",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Cursor"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 100,
       "title": "Limit",
       "type": "integer"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Page_Transfer_"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Transfers",
    "tags": [
     "v1: transfers"
    ]
   },
   "post": {
    "description": "Start a transfer. Send ``Idempotency-Key`` so a retry cannot start a second one.",
    "operationId": "start_transfer_api_v1_transfers_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TransferIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Start Transfer",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/plan": {
   "post": {
    "description": "What a transfer would do, before it is started. Starts nothing.",
    "operationId": "plan_transfer_api_v1_transfers_plan_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/TransferIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Plan"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Plan Transfer",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}": {
   "get": {
    "operationId": "get_transfer_api_v1_transfers__job_id__get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Transfer"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Get Transfer",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/assessment": {
   "get": {
    "description": "A finished assessment: its summary, counts and first findings, the website's own\nanswer, kept two weeks.",
    "operationId": "assessment_result_api_v1_transfers__job_id__assessment_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Assessment Result Api V1 Transfers  Job Id  Assessment Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Assessment Result",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/assessment.csv": {
   "get": {
    "description": "Every finding, as a spreadsheet.",
    "operationId": "assessment_csv_api_v1_transfers__job_id__assessment_csv_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Assessment Csv",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/assessment.pdf": {
   "get": {
    "description": "The assessment as a report to hand to somebody.",
    "operationId": "assessment_pdf_api_v1_transfers__job_id__assessment_pdf_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Assessment Pdf",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/cancel": {
   "post": {
    "operationId": "cancel_transfer_api_v1_transfers__job_id__cancel_post",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Transfer"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Cancel Transfer",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/certificate.csv": {
   "get": {
    "description": "The certificate's manifest: the files it vouches for, kept here thirty days.",
    "operationId": "transfer_certificate_manifest_api_v1_transfers__job_id__certificate_csv_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Transfer Certificate Manifest",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/certificate.pdf": {
   "get": {
    "description": "The signed migration certificate, as a PDF. 404 with the reason when there is none.",
    "operationId": "transfer_certificate_api_v1_transfers__job_id__certificate_pdf_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Transfer Certificate",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/cleanup": {
   "get": {
    "description": "A finished clean-up scan's suggestions. The website's own answer, kept two days.",
    "operationId": "scan_cleanup_result_api_v1_transfers__job_id__cleanup_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Scan Cleanup Result Api V1 Transfers  Job Id  Cleanup Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Scan Cleanup Result",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/cutover": {
   "get": {
    "description": "Per person, after a pass with a per-file report: in sync, or what is left.",
    "operationId": "cutover_api_v1_transfers__job_id__cutover_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CutoverStatus"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Cutover",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/delta": {
   "post": {
    "description": "Run the roster again, bringing across what changed since. With ``cutover``, the last\npass: afterwards ``/transfers/{id}/cutover`` says, per person, in sync or what is left.\n409 while a pass is still running.",
    "operationId": "delta_api_v1_transfers__job_id__delta_post",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/DeltaRequest"
       }
      }
     },
     "required": true
    },
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Transfer"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delta",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/duplicates": {
   "get": {
    "description": "A finished duplicate scan's groups, the most space wasted first. The website's own\nanswer, kept two days.",
    "operationId": "scan_duplicates_result_api_v1_transfers__job_id__duplicates_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": true,
         "title": "Response Scan Duplicates Result Api V1 Transfers  Job Id  Duplicates Get",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Scan Duplicates Result",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/events": {
   "get": {
    "description": "Live progress as server-sent events, the same stream the web app watches.\n\nEach event is a JSON snapshot of the transfer's counters; the stream ends when it does.\nNative clients send their token in the ``Authorization`` header like any other request.",
    "operationId": "transfer_events_api_v1_transfers__job_id__events_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Transfer Events",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/history": {
   "get": {
    "description": "What happened during the transfer, oldest first: the website's log of a run (mobile\nparity P1.9). Where ``error`` says it failed, this says what led there.",
    "operationId": "transfer_history_api_v1_transfers__job_id__history_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
       "default": 200,
       "title": "Limit",
       "type": "integer"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/HistoryLine"
         },
         "title": "Response Transfer History Api V1 Transfers  Job Id  History Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Transfer History",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/members": {
   "get": {
    "description": "Who moved and who did not, in roster order. 404 for any other kind of transfer.",
    "operationId": "members_api_v1_transfers__job_id__members_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/TeamReport"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Members",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/members.csv": {
   "get": {
    "description": "The member report as a spreadsheet, in roster order: what a migration is signed off\nwith.",
    "operationId": "members_csv_api_v1_transfers__job_id__members_csv_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Members Csv",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/pause": {
   "post": {
    "operationId": "pause_transfer_api_v1_transfers__job_id__pause_post",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Transfer"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Pause Transfer",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/report.csv": {
   "get": {
    "description": "The per-file report: every source file and where it ended up. 404 with the reason when\nthere is none (not asked for, not finished, or older than thirty days).",
    "operationId": "transfer_report_api_v1_transfers__job_id__report_csv_get",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Transfer Report",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/transfers/{job_id}/resume": {
   "post": {
    "operationId": "resume_transfer_api_v1_transfers__job_id__resume_post",
    "parameters": [
     {
      "in": "path",
      "name": "job_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Job Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Transfer"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Resume Transfer",
    "tags": [
     "v1: transfers"
    ]
   }
  },
  "/api/v1/upload-requests": {
   "get": {
    "description": "Every link made, newest first, the dead ones included.",
    "operationId": "list_links_api_v1_upload_requests_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/UploadRequestOut"
         },
         "title": "Response List Links Api V1 Upload Requests Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Links",
    "tags": [
     "v1: files"
    ]
   },
   "post": {
    "description": "A link strangers can upload into this folder through. ``url`` is shown once, here:\nonly a fingerprint of it is kept. Send ``Idempotency-Key`` so a retry makes one.",
    "operationId": "make_link_api_v1_upload_requests_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/UploadRequestSpec"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Make Link",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/upload-requests/{request_id}": {
   "delete": {
    "description": "Stop a link taking files. What arrived through it stays explained.",
    "operationId": "turn_off_api_v1_upload_requests__request_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "request_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Request Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Turn Off",
    "tags": [
     "v1: files"
    ]
   }
  },
  "/api/v1/webhooks": {
   "get": {
    "operationId": "list_webhooks_api_v1_webhooks_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/Webhook"
         },
         "title": "Response List Webhooks Api V1 Webhooks Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Webhooks",
    "tags": [
     "v1: webhooks"
    ]
   },
   "post": {
    "operationId": "create_webhook_api_v1_webhooks_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/app__api__v1__webhooks__WebhookIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Create Webhook",
    "tags": [
     "v1: webhooks"
    ]
   }
  },
  "/api/v1/webhooks/events": {
   "get": {
    "description": "The events a webhook may subscribe to.",
    "operationId": "list_events_api_v1_webhooks_events_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "type": "string"
         },
         "title": "Response List Events Api V1 Webhooks Events Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Events",
    "tags": [
     "v1: webhooks"
    ]
   }
  },
  "/api/v1/webhooks/{channel_id}": {
   "delete": {
    "operationId": "delete_webhook_api_v1_webhooks__channel_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Webhook",
    "tags": [
     "v1: webhooks"
    ]
   }
  },
  "/api/v1/webhooks/{channel_id}/deliveries": {
   "get": {
    "operationId": "list_deliveries_api_v1_webhooks__channel_id__deliveries_get",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/DeliveryOut"
         },
         "title": "Response List Deliveries Api V1 Webhooks  Channel Id  Deliveries Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Deliveries",
    "tags": [
     "v1: webhooks"
    ]
   }
  },
  "/api/v1/webhooks/{channel_id}/deliveries/{delivery_id}/replay": {
   "post": {
    "operationId": "replay_delivery_api_v1_webhooks__channel_id__deliveries__delivery_id__replay_post",
    "parameters": [
     {
      "in": "path",
      "name": "delivery_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Delivery Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "type": "string"
         },
         "title": "Response Replay Delivery Api V1 Webhooks  Channel Id  Deliveries  Delivery Id  Replay Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Replay Delivery",
    "tags": [
     "v1: webhooks"
    ]
   }
  },
  "/api/v1/webhooks/{channel_id}/secret": {
   "post": {
    "operationId": "rotate_secret_api_v1_webhooks__channel_id__secret_post",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SecretRotated"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Rotate Secret",
    "tags": [
     "v1: webhooks"
    ]
   }
  },
  "/api/v1/webhooks/{channel_id}/test": {
   "post": {
    "description": "Send a ``notification.test`` event now, through the real delivery path.",
    "operationId": "test_webhook_api_v1_webhooks__channel_id__test_post",
    "parameters": [
     {
      "in": "path",
      "name": "channel_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Channel Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "202": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "type": "string"
         },
         "title": "Response Test Webhook Api V1 Webhooks  Channel Id  Test Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Test Webhook",
    "tags": [
     "v1: webhooks"
    ]
   }
  },
  "/api/v1/workspaces": {
   "get": {
    "description": "The owner's encrypted workspaces, where each is stored and who it is shared with. Their\nfiles are read as a cloud, under /clouds; the people in them reach them the same way.",
    "operationId": "list_workspaces_api_v1_workspaces_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/Workspace"
         },
         "title": "Response List Workspaces Api V1 Workspaces Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List Workspaces",
    "tags": [
     "v1: workspaces"
    ]
   },
   "post": {
    "description": "Encrypt a folder of one of the owner's clouds with a key made here, and share it.\nSend ``Idempotency-Key`` so a retry makes one.",
    "operationId": "make_workspace_api_v1_workspaces_post",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/WorkspaceIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Make Workspace",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/discussions": {
   "get": {
    "description": "Every workspace this person may talk in -- their own and those shared with them --\nwith how many messages they have not read.",
    "operationId": "my_discussions_api_v1_workspaces_discussions_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/WorkspaceSummary"
         },
         "title": "Response My Discussions Api V1 Workspaces Discussions Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "My Discussions",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/people": {
   "get": {
    "description": "The owner's people (sub-accounts), to choose who a workspace is shared with.",
    "operationId": "list_people_api_v1_workspaces_people_get",
    "parameters": [
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/Person"
         },
         "title": "Response List People Api V1 Workspaces People Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "List People",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/activity": {
   "get": {
    "description": "Files added or changed in the last fortnight, newest first (100 at most).",
    "operationId": "activity_api_v1_workspaces__workspace_id__activity_get",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "$ref": "#/components/schemas/ActivityOut"
         },
         "title": "Response Activity Api V1 Workspaces  Workspace Id  Activity Get",
         "type": "array"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Activity",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/discussion": {
   "get": {
    "description": "The newest messages, oldest first, with the members; ``path`` gives one file's\ncomments, ``before`` (a message's ``created_at``) pages back.",
    "operationId": "read_stream_api_v1_workspaces__workspace_id__discussion_get",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "query",
      "name": "path",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "maxLength": 2048,
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Path"
      }
     },
     {
      "in": "query",
      "name": "before",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "format": "date-time",
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Before"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/StreamOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Read Stream",
    "tags": [
     "v1: workspaces"
    ]
   },
   "post": {
    "description": "Say something: to everybody, in reply to a message (``parent_id``), or about a file of\nthe workspace (``path``). ``mentions`` are members' ids; they are told by email.",
    "operationId": "post_message_api_v1_workspaces__workspace_id__discussion_post",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MessageIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/WorkspaceMessageOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Post Message",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/discussion/events": {
   "get": {
    "description": "Server-sent events as the discussion changes: ``change`` with a type and a message id\n(never the words), ``gone`` when this person is removed, ``timeout`` after 30 minutes.",
    "operationId": "events_api_v1_workspaces__workspace_id__discussion_events_get",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Events",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/discussion/export": {
   "post": {
    "description": "Save the whole discussion as one HTML page into the workspace, encrypted there like\nevery other file. Members who can write only.",
    "operationId": "export_api_v1_workspaces__workspace_id__discussion_export_post",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ExportOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Export",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/discussion/read": {
   "post": {
    "description": "Everything said so far is read.",
    "operationId": "mark_read_api_v1_workspaces__workspace_id__discussion_read_post",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Mark Read",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/discussion/{message_id}": {
   "delete": {
    "description": "Take one's own message down; the owner may take anybody's (audited).",
    "operationId": "delete_message_api_v1_workspaces__workspace_id__discussion__message_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "message_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Message Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Delete Message",
    "tags": [
     "v1: workspaces"
    ]
   },
   "patch": {
    "description": "Change one's own words.",
    "operationId": "edit_message_api_v1_workspaces__workspace_id__discussion__message_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "message_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Message Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/EditIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/WorkspaceMessageOut"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Edit Message",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/discussion/{message_id}/reactions": {
   "post": {
    "description": "Add this person's reaction, or take it back when it is there. Answers every reaction\non the message, each with who gave it.",
    "operationId": "react_api_v1_workspaces__workspace_id__discussion__message_id__reactions_post",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "message_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Message Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/ReactionIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "additionalProperties": {
          "items": {
           "format": "uuid",
           "type": "string"
          },
          "type": "array"
         },
         "title": "Response React Api V1 Workspaces  Workspace Id  Discussion  Message Id  Reactions Post",
         "type": "object"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "React",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/members": {
   "post": {
    "description": "Share the workspace with one of the owner's people.",
    "operationId": "add_member_api_v1_workspaces__workspace_id__members_post",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/app__api__v1__workspaces__MemberIn"
       }
      }
     },
     "required": true
    },
    "responses": {
     "201": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/app__api__v1__workspaces__Member"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Add Member",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/members/{user_id}": {
   "delete": {
    "description": "Take the workspace back from somebody: their discussion stream ends, work they had\nrunning in it stops and links they made into it are turned off.",
    "operationId": "remove_member_api_v1_workspaces__workspace_id__members__user_id__delete",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "user_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "User Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Remove Member",
    "tags": [
     "v1: workspaces"
    ]
   },
   "patch": {
    "description": "Let a member write, or make them a reader. Taking write away stops the work that relied\non it, as on the website.",
    "operationId": "change_member_api_v1_workspaces__workspace_id__members__user_id__patch",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "path",
      "name": "user_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "User Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "$ref": "#/components/schemas/MemberChange"
       }
      }
     },
     "required": true
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/app__api__v1__workspaces__Member"
        }
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Change Member",
    "tags": [
     "v1: workspaces"
    ]
   }
  },
  "/api/v1/workspaces/{workspace_id}/recovery": {
   "get": {
    "description": "The rclone config that opens the workspace without ShiftMyData. It is the key: keep it\nsecret. Audited.",
    "operationId": "recovery_file_api_v1_workspaces__workspace_id__recovery_get",
    "parameters": [
     {
      "in": "path",
      "name": "workspace_id",
      "required": true,
      "schema": {
       "format": "uuid",
       "title": "Workspace Id",
       "type": "string"
      }
     },
     {
      "in": "cookie",
      "name": "mc_session",
      "required": false,
      "schema": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Mc Session"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {}
       }
      },
      "description": "Successful Response"
     },
     "422": {
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/HTTPValidationError"
        }
       }
      },
      "description": "Validation Error"
     }
    },
    "summary": "Recovery File",
    "tags": [
     "v1: workspaces"
    ]
   }
  }
 },
 "security": [
  {
   "oauth2": []
  },
  {
   "personalToken": []
  }
 ],
 "servers": [
  {
   "url": "https://shiftmydata.com"
  }
 ]
}
