Simulators
Dropbox simulator
dropbox-twin is a local, stateful simulator of the Dropbox API v2 for testing code that syncs, shares and backs up files. It serves api.dropboxapi.com, content.dropboxapi.com and notify.dropboxapi.com on one port, and its paths, revisions, conflicts and errors follow Dropbox’s. Each place the simulator departs from Dropbox has a Differs from Dropbox: line or an entry under Limitations. “(unconfirmed)” flags behavior still to be checked against Dropbox. The simulator never calls Dropbox, sends no email and changes no real account.
Quickstart
Install the CLI, sign in and boot the simulator with RYSTIC_URL pointing at it.
On Pro you sign in with an API key from your account .
curl -fsSL https://www.rystic.ai/install.sh | sh
rystic login rys_… # your API key
export RYSTIC_URL=$(rystic run dropbox-twin -d --port 0 --scenario dropbox_personal_archive --json | jq -r .data.url)
curl -s "$RYSTIC_URL/_rystic/version"
# -> {..."product":"dropbox-twin"...}
On Enterprise, the licensed edition signs in with a license file in place of the key: rystic login ./rystic-license.json (licensing ).
First calls
Read the account, upload a file and list the root folder to see it:
curl -s "$RYSTIC_URL/2/users/get_current_account" -H 'Authorization: Bearer sl.placeholder' -H 'Content-Type: application/json' -d null | jq -c '{email, type: .account_type[".tag"]}'
# -> {"email":"ada.sealy@example.test","type":"pro"}
curl -s "$RYSTIC_URL/2/files/upload" -H 'Authorization: Bearer sl.placeholder' -H 'Content-Type: application/octet-stream' -H 'Dropbox-API-Arg: {"path":"/hello.txt","mode":"add"}' --data-binary 'hello' | jq -c '{name, path_display, size}'
# -> {"name":"hello.txt","path_display":"/hello.txt","size":5}
curl -s "$RYSTIC_URL/2/files/list_folder" -H 'Authorization: Bearer sl.placeholder' -H 'Content-Type: application/json' -d '{"path":""}' | jq -c '[.entries[].name]'
# -> ["Apps","Documents","hello.txt","notes.md","Photos"]
Connect your client
To point the official JavaScript library (dropbox on npm) at $RYSTIC_URL, give it any access token and a fetch that rewrites Dropbox’s three hosts to the simulator’s origin. Every call, long polls included, then lands on the simulator:
import { Dropbox } from "dropbox";
const twin = process.env.RYSTIC_URL;
const dbx = new Dropbox({
accessToken: "sl.placeholder",
fetch: (url, init) => fetch(url.replace(/^https:\/\/(api|content|notify)\.dropboxapi\.com/, twin), init),
});
const me = await dbx.usersGetCurrentAccount();
console.log(me.result.email);
await dbx.filesUpload({ path: "/hello.txt", contents: "hello" });
GET /_rystic/version names the three hosts in service_hosts. A client in another language needs the same rewrite where it builds its requests. The Python library always builds https:// URLs, so run the simulator with --intercept and your code under rystic exec (Intercept). If GET /_rystic/calls lists none of your requests, your client is not reaching the simulator.
No client has been checked against this simulator yet.
Auth
The simulator reads the access token from Authorization: Bearer and accepts any non-empty value.
Differs from Dropbox: a token Dropbox refuses with 401 invalid_access_token works on the simulator.
A request with no Authorization header, an empty Bearer or another scheme returns 400 before the route runs. The body depends on the route:
| Route | Body of the 400 |
|---|---|
every api.dropboxapi.com route, files/get_preview and files/get_thumbnail_v2 | a text/plain line naming the route: Error in call to API function "files/get_metadata": Invalid authorization value in HTTP header/URL parameter |
| every other content route | that line in a JSON envelope: {"error":{".tag":"other"},"error_summary":"other/...","user_message":{"locale":"en","text":"…"}} |
files/list_folder/longpoll takes no Authorization header and refuses one with 400.
Which account a token reaches depends on the scenario:
| Scenario | Who the token is |
|---|---|
dropbox_team_shared | sl.rosa-desktop is Rosa and sl.toni-laptop is Toni. Any other value is Rosa, the scenario’s default caller (Shared folders and file members). |
dropbox_paired_identity | Every token reads as the personal account. No token reaches the work account, whose files appear as the shared folder /Northwind Labs. |
| every other scenario | the scenario’s one account |
API version
The simulator serves Dropbox API v2, and the version is the first path segment: every route sits under /2/. A caller pins it by calling /2/…, as every Dropbox library does, and the simulator sends no version header, because Dropbox sends none. A request under another version, such as /1/files/list_folder, returns the 404 of a route the simulator does not serve (Error format).
Differs from Dropbox: a path Dropbox doesn’t have returns the simulator’s own JSON 404, not Dropbox’s error.
Errors and limits
Error format
The simulator returns Dropbox’s error bodies, which differ by status:
| Status | Body |
|---|---|
| 400 | text/plain, Error in call to API function "<route>": <reason>, for an argument that does not parse or is out of range; some routes return it as a JSON string instead (Limitations) |
| 409 | JSON with error_summary, such as path/not_found/..., and error, the route’s tagged union naming the cause in .tag; some routes add user_message with locale and text |
| 404 | {"message":"No route in twin for …"}, for a path Dropbox doesn’t have (API version) |
| 413 | {"message":"request body exceeds blob_cap_bytes 157286400"}, for a request body over 150 MiB |
| 416 | an empty body with Content-Range: bytes */<size>, for a files/download byte Range the file cannot satisfy |
Rate limits
The simulator never throttles: a create_folder_v2, copy_v2 or move_v2 that overlaps another write to the same namespace runs after it, and no route returns 429 (Limitations). file_requests/create returns 409 rate_limit once the simulator has 4,000 file requests across all accounts (unconfirmed). Invites have no daily cap (Shared folders and file members). To test a client’s handling of 429s, add them with a network profile.
rate_limits: real has nothing to turn on here. Dropbox limits each user’s calls but publishes no number or window for the limit, so this simulator records none.
Pagination
A paged route returns has_more, and most return a cursor with it. While has_more is true, post {"cursor": "<cursor>"} to the route that continues the list:
| Route | Page size | Default | Accepted | Continue at |
|---|---|---|---|---|
files/list_folder | limit | the whole folder | 1 to 2000 | files/list_folder/continue |
files/search_v2 | options.max_results | 100 | any number, read as 1 to 1000 (unconfirmed) | files/search/continue_v2 |
files/list_revisions | limit | 10 | 1 to 100 | no cursor: has_more only |
sharing/list_folders, sharing/list_mountable_folders, sharing/list_folder_members | limit | 1000 | 1 to 1000 | the route plus /continue |
sharing/list_received_files | limit | 100 | 1 to 300 | sharing/list_received_files/continue |
sharing/list_file_members | limit | 100 | any positive number | sharing/list_file_members/continue |
sharing/list_file_members/batch | limit, members per file | 1000 | any number, read as 0 to 3000 | none |
file_requests/list_v2 | limit | 1000 | any number of 0 or more | file_requests/list/continue |
sharing/list_shared_links | none | sharing/list_shared_links itself, with cursor |
A limit outside its accepted range returns the 400 above. A files/list_folder cursor goes on to return the folder’s later changes (Change feed).
Idempotency
Not applicable: Dropbox has no idempotency key, so a retried write runs again under the rules of Paths and conflicts. In GET /_rystic/calls, a content route records an argument sent in the Dropbox-API-Arg header as "args":{}, and one sent as the arg query parameter in full.
Coverage
The simulator covers one account’s files and the sharing around them. The team, paper, file_properties, contacts, account, auth, check and openid families are out of scope, as are the deprecated routes whose successors are served and the Business-only permanently_delete.
94 routes, counted from the simulator’s route table.
Show all operations
| Resource | Operations |
|---|---|
| Asynchronous job (7) | POST /2/files/copy_batch/check_v2; POST /2/files/create_folder_batch/check; POST /2/files/delete_batch; POST /2/files/delete_batch/check; POST /2/files/move_batch/check_v2; POST /2/files/save_url; POST /2/files/save_url/check_job_status |
| File request (9) | POST /2/file_requests/count; POST /2/file_requests/create; POST /2/file_requests/delete; POST /2/file_requests/delete_all_closed; POST /2/file_requests/get; POST /2/file_requests/list; POST /2/file_requests/list/continue; POST /2/file_requests/list_v2; POST /2/file_requests/update |
| File revision (content) (1) | POST /2/files/restore |
| File/folder entry (20) | POST /2/files/copy_batch_v2; POST /2/files/copy_v2; POST /2/files/create_folder_batch; POST /2/files/create_folder_v2; POST /2/files/delete_v2; GET, POST /2/files/download; GET, POST /2/files/download_zip; POST /2/files/get_metadata; GET, POST /2/files/get_preview; POST /2/files/get_temporary_link; GET, POST /2/files/get_thumbnail_v2; POST /2/files/list_revisions; POST /2/files/move_batch_v2; POST /2/files/move_v2; POST /2/files/tags/add; POST /2/files/tags/get; POST /2/files/tags/remove; POST /2/files/upload; POST /2/sharing/list_file_members/batch; POST /2/sharing/list_shared_links |
| list_folder cursor (4) | POST /2/files/list_folder; POST /2/files/list_folder/continue; POST /2/files/list_folder/get_latest_cursor; POST /2/files/list_folder/longpoll |
| Per-file sharing record (5) | POST /2/sharing/get_file_metadata; POST /2/sharing/get_file_metadata/batch; POST /2/sharing/list_received_files; POST /2/sharing/list_received_files/continue; POST /2/sharing/update_file_policy |
| Search cursor (2) | POST /2/files/search/continue_v2; POST /2/files/search_v2 |
| Shared folder (3) | POST /2/sharing/get_folder_metadata; POST /2/sharing/share_folder; POST /2/sharing/update_folder_policy |
| Shared link (5) | POST /2/sharing/create_shared_link_with_settings; GET, POST /2/sharing/get_shared_link_file; POST /2/sharing/get_shared_link_metadata; POST /2/sharing/modify_shared_link_settings; POST /2/sharing/revoke_shared_link |
| Shared-file membership (5) | POST /2/sharing/add_file_member; POST /2/sharing/relinquish_file_membership; POST /2/sharing/remove_file_member_2; POST /2/sharing/unshare_file; POST /2/sharing/update_file_member |
| Shared-folder membership (5) | POST /2/sharing/add_folder_member; POST /2/sharing/mount_folder; POST /2/sharing/relinquish_folder_membership; POST /2/sharing/unmount_folder; POST /2/sharing/update_folder_member |
| Sharing asynchronous job (5) | POST /2/sharing/check_job_status; POST /2/sharing/check_remove_member_job_status; POST /2/sharing/check_share_job_status; POST /2/sharing/remove_folder_member; POST /2/sharing/unshare_folder |
| Sharing listing cursor (8) | POST /2/sharing/list_file_members; POST /2/sharing/list_file_members/continue; POST /2/sharing/list_folder_members; POST /2/sharing/list_folder_members/continue; POST /2/sharing/list_folders; POST /2/sharing/list_folders/continue; POST /2/sharing/list_mountable_folders; POST /2/sharing/list_mountable_folders/continue |
| Space usage (1) | POST /2/users/get_space_usage |
| Upload session (6) | POST /2/files/upload_session/append_batch; POST /2/files/upload_session/append_v2; POST /2/files/upload_session/finish; POST /2/files/upload_session/finish_batch_v2; POST /2/files/upload_session/start; POST /2/files/upload_session/start_batch |
| User account (3) | POST /2/users/get_account; POST /2/users/get_account_batch; POST /2/users/get_current_account |
Feed effects. No write emits a feed effect; watch requests instead. Each call appears on the event feed (/_rystic/events) as a request event, and reading the record back shows what it changed.
Scenarios
The simulator ships 5 scenarios; the quickstart boots dropbox_personal_archive.
| Scenario | What it is for | What it seeds | Clock |
|---|---|---|---|
dropbox_deleted_backlog | A trash full from boot, for delete-and-restore flows | account 1, entry 8, revision 5 | 2026-02-02T00:00:00Z |
dropbox_fresh_signup | A just-created basic account whose email is not yet verified | account 1, entry 1 | 2026-02-02T00:00:00Z |
dropbox_paired_identity | A personal account paired with a Northwind work account | account 2, entry 7, revision 4, shared_folder 2, shared_folder_member 4 | 2026-02-02T00:00:00Z |
dropbox_personal_archive (default) | A lived-in personal Dropbox | account 1, entry 9, revision 5 | 2026-02-02T00:00:00Z |
dropbox_team_shared | An Acme team space with two business members, each with its own token | account 2, entry 8, revision 4, shared_folder 3, shared_folder_member 6 | 2026-02-02T00:00:00Z |
What each scenario holds:
dropbox_deleted_backlog:- Four deleted files whose revisions list and restore.
- One deleted folder.
- One file that survived.
dropbox_fresh_signup: Only the auto-created /Apps folder, so the root lists one entry until the first upload.dropbox_paired_identity:- Both flagged is_paired, each with its own root_info namespace.
- Every token reads as the personal account, which sees the work files as the shared folder /Northwind Labs.
dropbox_personal_archive: One verified pro account and a nine-entry tree of nested folders and files with real revs, hashes and sizes, so list_folder, get_metadata and search all return pages before any upload.dropbox_team_shared:- A shared folder tree with parent_shared_folder_id and modified_by on its entries.
- One private file beside it, so shared and private reads differ from the first call.
Boot one by name, or load one into a running simulator:
rystic run dropbox-twin -d --port 0 --scenario dropbox_personal_archive
curl -s -X POST "$RYSTIC_URL/_rystic/scenario" -d '{"name":"dropbox_personal_archive"}'
What the scenarios do not hold
- Every account, team and file is synthetic, on a
.testaddress; no scenario comes from a real Dropbox account. - Without
--scenariothe simulator boots one Basic account with no files,member@example.invalid.
Seeding state
A seed takes one register per resource, named state_<resource>, holding records keyed by their identity:
| Register | Keyed by |
|---|---|
state_account | account_id |
state_entry | path_lower |
state_revision | rev |
state_shared_link | url |
state_file_request | id |
state_shared_folder | shared_folder_id |
state_shared_folder_member | shared_folder_id and account_id |
state_file_member | file_id and account_id |
Seed a /Reports folder and read it back:
curl -s -X POST "$RYSTIC_URL/_rystic/seed" -d '{"state_entry": {"/reports": {"id": "id:reports", "name": "Reports", "path_display": "/Reports", "path_lower": "/reports", "tag": "folder"}}}'
curl -s "$RYSTIC_URL/2/files/get_metadata" -H 'Authorization: Bearer sl.placeholder' -H 'Content-Type: application/json' -d '{"path":"/Reports"}' | jq -c '{name, path_display}'
# -> {"name":"Reports","path_display":"/Reports"}
Seeding covers the seed route’s empty 204, the 400s it returns for what it refuses, seed files with their sequences and the seed gate.
Webhooks
The simulator sends Dropbox’s webhook notification to one URL you set, once it boots with delivery on; until then it sends nothing.
Setting the URL. POST /_rystic/webhooks {"url": "<your endpoint>", "secret": "<your app secret>"} sets the URL, as Dropbox’s App Console does. The simulator first sends GET <url>?challenge=<random>. It sets the URL only when your endpoint echoes the challenge as text/plain with X-Content-Type-Options: nosniff within 10 seconds. Otherwise the POST returns 422, naming what your endpoint’s response lacked. /_rystic/webhooks lists the route’s other statuses and what GET and DELETE do.
What notifies. Every request that writes to a file or folder POSTs one notification, and a membership change notifies only the member it changes:
| Request | What the simulator sends |
|---|---|
an upload or session finish, create_folder_v2, a move, copy, delete or restore, adding or removing a tag, each batch | one notification per request, however many entries a batch holds |
mount_folder, unmount_folder and the owner’s update_folder_member that changes a mounted member’s access level | a notification to that member alone |
share_folder of a path that holds nothing | a notification to the owner, since it creates the folder |
an async job, such as copy_batch_v2 or unshare_folder | its notification when the job launches, not when it completes |
a read, share_folder of an existing folder, add_folder_member | nothing |
| removing a mounted member, a member relinquishing, unsharing a folder a member has mounted | a notification to the accounts its writes touch, and nothing for the member leaving (unconfirmed) |
Differs from Dropbox: Dropbox sends an async job’s notifications as the job completes, sometimes several for one batch; the simulator sends one when the job launches.
Payload and signature. The body is {"delta":{"users":[<uid>]},"list_folder":{"accounts":["<account_id>"]}}. It names the writer or, for a write inside a shared folder, every account that has the folder mounted. Each uid is the synthetic integer its scenario seeds. The request has Content-Type: application/json, User-Agent: DropboxWebhooks/1.0 and X-Dropbox-Signature, the hex HMAC-SHA256 of the body keyed with your secret.
Timing and retries. A notification goes out as the request that wrote ends, so each change is announced at least once. A non-2xx response or a timeout is retried after 10, 20, 40, 80, 160 and 320 seconds. A retry also goes out as soon as POST /_rystic/clock moves the clock past its due time.
Differs from Dropbox: Dropbox sometimes folds writes sent in separate requests less than 1.35 seconds apart into one notification; the simulator never does.
Differs from Dropbox: the simulator never disables a URL that keeps failing.
Reading the log. GET /_rystic/webhooks counts the notifications sent, and the delivery report on GET /_rystic/egress lists each one’s result, its retries included. The rest of the egress log stays empty.
Features
Each feature has its own page:
- Listings, search and the change feed: A list_folder cursor is a change feed: it pages a folder, then returns each later change once, and a long poll wakes on a write; search matches names and pages by cursor.
- Deleted files and revisions: A delete is soft: the entry reads back as a tombstone, its revisions stay listed, and any of them restores.
- Paths and conflicts: What a write returns at a path already taken, beneath a file or ending in a slash.
- Shared folders and file members: Shared folders that are one folder in every member’s Dropbox, shared files and their members, and two members with their own tokens in the team scenario.
- Shared links and file requests: Shared links to a file or folder, read, changed and revoked as Dropbox’s are, and file requests that open at a destination folder and close before they delete.
- Tags: Add, read and remove the tags on a file or folder.
- Upload sessions and batches: Large files in pieces through upload sessions, a folder as a zip, save_url, and the copy, move, delete and create-folder batches with their job checks.
Determinism and reset
Ids, revs, cursors, job ids and link URLs come from sequences, so treat them as opaque: they are the simulator’s own, not Dropbox’s.
Entry timestamps such as server_modified are whole seconds, so the clock’s millisecond steps don’t show in them. Moving the clock with POST /_rystic/clock drives:
- an async job’s check, which returns
completeonce the clock is two seconds past the launch (Upload sessions and batches); - the timeline
dropbox_team_sharedplays (Shared folders and file members); - a webhook retry’s backoff (Webhooks).
Reset and determinism covers reset, the RNG and which requests step the clock.
Limitations
Known issues.
- Where the simulator returns 500, such as for a malformed upload-session id, what Dropbox returns is unconfirmed.
- Some routes return a JSON string where Dropbox returns a text/plain error body for a malformed argument or a bad cursor. Examples are a missing field on
files/copy_v2, a badDropbox-API-Argonfiles/downloadand a bad cursor onfiles/list_folder/continue. files/tags/geton a folder named by theidthatcreate_folder_v2returns, rather than by its path, is unconfirmed.- A request with a wrong
Content-Typeis accepted where Dropbox returns 400: form-urlencoded or text/plain on a JSON route, or anything but octet-stream on an upload. A client that sends one works on the simulator and is refused by Dropbox. - A content
GETthat carries its token only in theauthorizationquery parameter returns 400, as if it had no credential. - Relinquishing a mounted shared folder completes, where Dropbox documents a
mountederror (unconfirmed). - A member reads a shared folder at the owner’s path. Dropbox mounts a share at the member’s root under its name, renaming it when the name is taken. The simulator keeps the owner’s paths, so a nested share or a renamed mount reads at the wrong path.
- Pro-only shared-link settings are unconfirmed. A past
settings.expiresreturnsinvalid_settings, from Dropbox’s documentation only.requested_visibility: team_onlyon an account with no team returns 200 with a public link. - A valid
Dropbox-API-Path-Rootheader or anns:path reads the personal tree, not the namespace it names. - Inside a shared folder, any member acts as a file’s owner on the file-member routes, and a viewer can still write through batch routes, save_url and restore; list_file_members omits the owner row.
- A request carrying
Authorization: Basicreturns 400 as if it had no credential. Dropbox reads it as app authentication and returns 401invalid_access_tokenfor a bad key and secret. - The simulator never returns 429
too_many_requestsor refuses an overlapping write withtoo_many_write_operations. Add 429s with a network profile.
Beyond the known issues, 194 of the 283 operations in the published spec are not served, 480 documented responses have no test yet and 350 behaviors are not modeled. The details follow.
Show all limitations
Not served. 194 of the 283 operations in the published spec are not served. Calling one of these routes returns 501, unless a served route takes its path.
- files, 38 of 67 served:
POST /2/files/alpha/get_metadata,POST /2/files/alpha/upload,POST /2/files/copy,POST /2/files/copy_batch,POST /2/files/copy_batch/check,POST /2/files/copy_reference/get,POST /2/files/copy_reference/save,POST /2/files/create_folder, … and 21 more - sharing, 38 of 44 served:
POST /2/sharing/create_shared_link,POST /2/sharing/get_shared_links,POST /2/sharing/relinquish_access,POST /2/sharing/remove_file_member,POST /2/sharing/set_access_inheritance,POST /2/sharing/transfer_folder - users, 4 of 5 served:
POST /2/users/features/get_values - Not served at all: account (3), auth (2), check (2), contacts (2), file_properties (16), openid (1), paper (18), riviera (15), team (97), team_log (2)
Not tested. 396 tests compare the simulator with the real service. 480 documented responses have no test yet, and 149 of them need a credential our test account doesn’t hold (401 ×80, 403 ×68, 409 ×1). The other 331:
| Operation | Status | Why |
|---|---|---|
GET, POST /2/files/download | 200 | no test could build the request it needs |
GET, POST /2/files/download | 206 | no test could build the request it needs |
GET, POST /2/files/download | 400 | no test could build the request it needs |
GET, POST /2/files/download | 409 | no known request reaches it (2 cases) |
GET, POST /2/files/download | 416 | no known request reaches it |
GET, POST /2/files/download | 429 | no request a client sends provokes it |
GET, POST /2/files/download | 500 | no request a client sends provokes it |
GET, POST /2/files/download_zip | 200 | no test could build the request it needs |
GET, POST /2/files/download_zip | 400 | no test could build the request it needs |
GET, POST /2/files/download_zip | 409 | no known request reaches it (3 cases) |
GET, POST /2/files/download_zip | 429 | no request a client sends provokes it |
GET, POST /2/files/download_zip | 500 | no request a client sends provokes it |
GET, POST /2/files/get_preview | 200 | no test could build the request it needs |
GET, POST /2/files/get_preview | 400 | no test could build the request it needs |
GET, POST /2/files/get_preview | 409 | a well-formed request does not provoke it; no known request reaches it (5 cases) |
GET, POST /2/files/get_preview | 429 | no request a client sends provokes it |
GET, POST /2/files/get_preview | 500 | no request a client sends provokes it |
GET, POST /2/files/get_thumbnail_v2 | 200 | no test could build the request it needs |
GET, POST /2/files/get_thumbnail_v2 | 400 | no test could build the request it needs |
GET, POST /2/files/get_thumbnail_v2 | 409 | no test could build the request it needs; no known request reaches it (9 cases) |
| … and 229 more |
Not modeled. Behavior the simulator does not model, by operation:
- Documented statuses not reproduced: 409 (1 operation), 500 (1 operation).
- The route also accepts GET with the same Dropbox-API-Arg header; only POST is modeled. (
GET, POST /2/files/download_zip) - The route also accepts GET; only the POST form is modeled. (
GET, POST /2/files/get_preview,GET, POST /2/files/get_thumbnail_v2) - The 20MB photo limit is documented in prose only; which of unsupported_image / conversion_error it produces is not stated. (
GET, POST /2/files/get_thumbnail_v2) - The route also accepts GET; only POST is modeled. (
GET, POST /2/sharing/get_shared_link_file) - The CountFileRequestsError ‘other’ catch-all tag is likewise unmodeled. (
POST /2/file_requests/count) - CreateFileRequestError tags not_found and other: not_found names a file request id, which create never takes, and other is the union catch-all; neither has a documented trigger for this route. (
POST /2/file_requests/create) - Whether a batch naming several ids is atomic beyond the file_request_open case. (
POST /2/file_requests/delete) - The 429 body may be plain text instead of JSON (‘The body is JSON or plain text’); only the JSON form is modeled. (
POST /2/file_requests/delete_all_closed) - Whether the deletion is atomic when some closed requests cannot be deleted is not documented. (
POST /2/file_requests/delete_all_closed) - The 409 GetFileRequestError union also documents disabled_for_team, no_permission, email_unverified, app_lacks_access, no_write_permission, not_a_folder, validation_error and other. (
POST /2/file_requests/get) - The 429 body may be either JSON or plain text; only the JSON form is modeled. (
POST /2/file_requests/list) - The open ‘other’ tag of ListFileRequestsContinueError (catch-all, no documented trigger). (
POST /2/file_requests/list/continue) - Whether a cursor issued to one caller is rejected for another caller; only the invalid_cursor tag is documented. (
POST /2/file_requests/list/continue) - The 400 body is text/plain; charset=utf-8, not JSON. (
POST /2/file_requests/list_v2) - Deadline updates are documented as settable only by Professional and Business accounts; which error (validation_error vs a 403 access error) a Basic account receives for a deadline update is not documented and is left unmodeled. (
POST /2/file_requests/update) - Cascade detail: deleting a folder removes all descendants, modeled as a second entries[*] delete write with a prose expression; the per-descendant write path cannot be keyed from the request alone. (
POST /2/files/delete_v2) - parent_rev: the documented conditional-delete field (‘perform delete if given rev matches the existing file’s latest rev’). (
POST /2/files/delete_v2) - GetTemporaryLinkError.other (the open union’s catch_all) has no documented trigger. (
POST /2/files/get_temporary_link) - The 410 Gone behavior belongs to the returned temporary link after four hours, not to this route; the link host (dl.dropboxusercontent.com) is outside the modeled api.dropboxapi.com surface. (
POST /2/files/get_temporary_link) - The Content-Type of the returned link is determined by the file’s mime type — a property of the link, not of this response. (
POST /2/files/get_temporary_link) - … and 328 more
By design.
- Temporary links serve nothing. A
get_temporary_linkURL ondl.dropboxusercontent.comis a minted value; read the file throughfiles/download. - Thumbnails and previews are placeholder bytes.
files/get_thumbnail_v2andfiles/get_previewreturn them asapplication/octet-stream, never an image or a rendered document. - A request takes at most 150 MiB, the limit Dropbox documents for
files/uploadand each upload-session call (Error format).
Release notes: Changelog