Skip to main content
Generated from the same public contract that feeds the Monaco editor. Declaration-marked deprecated compatibility methods are intentionally excluded. Do not edit this page manually.
This page contains 22 methods. Search the docs for an exact method name, or use this index:

storage.explore()

Lists files and folders from the default explorer namespace.

Signature

Example

storage.resolveFolderPath()

Resolves an exact active folder path relative to the default explorer root. Notes:
  • Matching is case-insensitive and follows each parent/name segment; this is not a broad term search.
  • Leading and trailing slashes are optional.
  • Missing, archived, deleted, or inaccessible paths fail without creating folders.

Signature

Example

storage.ensureFolderPath()

Resolves a folder path and idempotently creates any missing segments. Notes:
  • No-op in debug mode.
  • Existing folders are never mutated.
  • ACL options apply to every newly created segment.

Signature

Example

storage.getFile()

Returns metadata for a file entry in the default explorer namespace.

Signature

Example

storage.getFileData()

Reads storage file content. Notes:
  • Text file batch reads reuse cached stats and auto-build them if missing.
  • Binary reads return a base64 string.
  • Direct reads are limited to 10 MB unless you request a ranged buffer.

Signature

Example

storage.getFileStats()

Detects encoding, newline separator, and line batches for a text file. Notes:
  • Derived stats are cached on the storage entry metadata for later batch reads.

Signature

Example

storage.getEntry()

Returns metadata for any storage entry in the default explorer namespace.

Signature

Example

storage.createFolder()

Creates a folder in the default explorer namespace. Notes:
  • No-op in debug mode.

Signature

Example

storage.putObject()

Uploads a small object in one request in the default explorer namespace. Notes:
  • No-op in debug mode.

Signature

Example

storage.createUploadSession()

Opens an upload session for a file in the default explorer namespace. Notes:
  • No-op in debug mode.
  • Use this instead of storage.appendFile(...); uploads are resumable and finalized explicitly.

Signature

Example

storage.extendUploadSession()

Extends the TTL for an active upload session. Notes:
  • No-op in debug mode.

Signature

Example

storage.getUploadSession()

Returns the current upload session state together with uploaded part manifests. Notes:
  • No-op in debug mode.
  • Multipart sessions expose uploaded parts with computed byte ranges.

Signature

Example

storage.uploadPart()

Uploads one part into an active multipart upload session. Notes:
  • No-op in debug mode.

Signature

Example

storage.finalizeUploadSession()

Finalizes an upload session and materializes the storage entry. Notes:
  • No-op in debug mode.

Signature

Example

storage.abortUploadSession()

Cancels an active upload session. Notes:
  • No-op in debug mode.

Signature

Example

storage.updateEntry()

Updates mutable storage entry fields such as name, metadata, or ACLs. Notes:
  • No-op in debug mode.

Signature

Example

storage.moveEntry()

Moves an entry to another folder or provider root. Notes:
  • No-op in debug mode.

Signature

Example

storage.archiveEntry()

Archives an entry without deleting its backing object. Notes:
  • No-op in debug mode.

Signature

Example

storage.restoreEntry()

Restores an archived or deleted storage entry. Notes:
  • No-op in debug mode.

Signature

Example

storage.deleteEntry()

Soft-deletes a storage entry. Notes:
  • No-op in debug mode.

Signature

Example

storage.getDownload()

Generates a signed download URL for a storage file.

Signature

Example

storage.getText()

Reads a text window from a storage file.

Signature

Example

Last modified on September 5, 2026