Skip to content

Cloud storage

Box mock API

Stateful Box replica: folders, files (multipart upload, copy, download redirect), shared links, collaborations, comments, search and signed webhooks.

At a glance

Operations
299
Stateful operations
34
Stateful resources
7
Webhook events
0
Vendor API version
2024.0
Verification
Spec-verified

How it works

Use Box without calling Box, Inc.

Authorization: Bearer MockBoxToken0123456789

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Folders10
Files13
Shared links0
Collaborations5
Comments3
Search1
Webhooks4

Webhooks

Events your handlers can receive

This API sends no webhooks.

Coverage

299 operations

34 of them are stateful. The largest groups:

GroupOperations
Other operations263
Files13
Folders10
Collaborations5
Webhooks4
Comments3

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

7 operations cannot be checked against the specification.

Source and limits

License, source and limits

Each collection holds up to 1 MiB of records per token; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Uploads are multipart on /2.0/files/content and also on the vendor upload path /api/2.0/files/content; the runtime rejects bodies above 1 MiB with 413 (VS_MAX_BODY_BYTES). File bytes are not stored: the sha1 is a stand-in (random 40-hex, not a content hash) and GET /files/{id}/content answers 302 to /dl/{id} on the same host, which serves stub bytes. Folders and files may be created under any parent id (an unknown parent is not rejected); a recursive folder delete removes only the folder record, not its descendants; folder and file copies are shallow. Webhooks (FILE.UPLOADED, FILE.DELETED, FILE.RENAMED, FOLDER.CREATED, COLLABORATION.CREATED, COMMENT.CREATED) are signed with box-signature-primary using the VS webhook setting as primary key and only fire for items directly under the webhook target (the item itself, its parent folder, or the root folder 0); the delivery event name carries the target, for example FILE.UPLOADED@<target id>, while the payload trigger stays FILE.UPLOADED. Other Box operations (enterprise, metadata, retention, sign, web links, ...) answer with schema-valid stateless responses; the GET /shared_items variants that Box documents as separate operations on one route are not individually reproducible.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Box, Inc. Box is a trademark of its owner.