Recursively iterates through the container to find all documents.
Converts an internal identifier to an external key.
Converts a key into an identifier for internal storage.
Returns the representation for the given identifier. Returns undefined if a 404 error is thrown. Re-throws the error in all other cases.
Sets the value for the given key.
Key to set/update.
Value to store.
A KeyValueStorage for JSON-like objects using a ResourceStore as backend.
Creates a base URL by joining the input base URL with the container string. The storage assumes it has ownership over all entries in the target container so no other classes should access resources there to prevent issues.
Assumes the input keys can be safely used to generate identifiers, which will be appended to the stored base URL.
All non-404 errors will be re-thrown.