sberdisk-bridge
English Русский

SberDisk web API notes

Observed from the official web app (files.sberdisk.ru), November 2026. Undocumented; may change without notice.

Common

Endpoints

Method Path Body / query Notes
GET /files cnt, page, parent (folder path), sort, direction data[] of items; a numeric id in parent → 404 ParentDirectoryNotFound
GET /quote — all.bytes, used.bytes, categories.{image,video,audio,document,other,trash}.bytes
GET /search cnt, searchRequest, page  
POST /files/create {filePath, fileName, autoRename} creates a folder; 201; duplicate → 409 TargetFileExists
POST /files/delete {fileIds: [...]} moves to trash ("... перемещен в корзину")
POST /files/rename/{id} {fileName, autoRename} a file keeps its extension: a.partial → a.txt gives a.partial, d.txt → e gives e.txt; a file without an extension and a folder take the new name whole
POST /files/move, /files/copy {files: [{fromPath, toPath}], autoRename} toPath is the destination folder; the item keeps its name. Move keeps the ID, copy makes new IDs and copies folders with their contents. Errors: missing source → 400 InvalidFiles; missing folder → 422 MoveToFilePathNotFoundFailed / CopyDestinationNotFound; into itself → 422 MoveParentFileToChildrenFolder / CopyFilesError; a move onto an existing name (also into the same folder) → 422 MoveFilesTransactionFailed; a copy onto an existing name answers 200 and does nothing (checked live 28.11.2026; the format was read from the web app’s code)
POST /trash/files/delete, /trash/restore {fileIds} permanent delete / restore
POST /trash/delete — empty the trash
POST /archive/get-link {ids} zip download link
POST upload: /upload/session {autoRename, category: "Autoload", createsFolders, filePath, fileType, size} fileType must be a bare MIME type ("document" or "text/plain; charset=utf-8" → 400 InvalidFiles.0.mimeType); returns {sessionId, fileId, filePath, size}, fileId is the file’s id in listings; an existing file or a path whose upload was interrupted (kept for more than four minutes) → 409 UploadReserveError
POST upload: /upload/multisessions {files: [...]} batch sessions
POST upload: /upload/file/{sessionId} multipart: file, path (empty) single request, no resume
GET download: /download/file/{id}?purpose=download — the item’s downloadUrl

Item fields

uploadAt looks like Fri Nov 27 2026 03:43:11 GMT+0000.

id, name, ext, mimeType, size (human), bytes, type, systemType, filePath (parent folder), isFolder, createdAt, uploadAt, lastChangeAt, downloadUrl, preview{...}, isPasswordProtected.