Skip to main content
Follow the REST app guide. Bind the reviewed endpoint with providerEndpoint from @bijectionhq/app-rest. Use a sealed bearer token with read access to the chosen folder. Folder ID 0 selects the credential’s root folder.
Pass provider as receivers.provider, and the same label to the binder and as the app’s data. Call source.initialize with this profile.
One folder’s direct file, folder and web-link metadata keyed by type:id. Marker pagination restarts at the end. Missing items remain published. This mode reads metadata only. Each response is bounded to 100 items and 36 KiB. The app commits observations with their next position. Source health and controls report failures and allow recovery. Provider API reference

Folders, collaborations and user events

Use a separate providerEndpoint at https://api.box.com for each mode. Pass the same protected label to the receiver binder and as the app’s data with sealed bearer or OAuth2 authorization restricted to the Box account. Pages are limited to 100 rows and 36 KiB. Folder and collaboration sweeps restart at the end and keep missing records published. The events feed uses the authenticated user’s changes stream. It commits Box’s exact decimal next_stream_position even when a page is empty, and resumes from that position on the next poll. Events may arrive late, out of order, or more than once. Box’s retained feed does not establish a full account baseline or long-term coverage. Trash events remain event rows. Folder collaborations · Events

Capture a Box File

On the folder-items mount, bind receivers.boxContent with boxFileContentReceiver(auth, data) from @bijectionhq/app-rest. Use a protected label and seal a credential with download access to the same folder. Call files.requestProductivity and files.getProductivity at that label. Pass the published file:FILE_ID record key to capture and retrieve the File. The driver verifies the published Box file-version ID and size before and after transfer. It uses the exact version download and permits the Box signed redirect to dl.boxcloud.com without forwarding the API credential. Capture accepts up to 8 MiB per File and four pending requests per mount. It stages exact ranges under a strong validator or accepts one complete response of the checked size. A changed published version or explicit row withdrawal retires the prior File. Capture carries no read cursor. Box Download file