BigFS API
BigFS stores versioned objects in buckets and can connect buckets to vaults for
delivery and processing. This reference is for applications that integrate with
api.bigfs.m7.org.
Base URL and request format
The production base URL is https://api.bigfs.m7.org. Resource routes are registered for ANY HTTP method; the caller/workspace
tools use POST, and capability discovery uses GET or HEAD. Send JSON requests with POST unless a
route is explicitly described as a binary download, multipart upload, or
redirect.
Manage buckets, vaults, stored object versions, remote objects, and task activity in the BigFS application.
curl -sS https://api.bigfs.m7.org/v1/bucket/search \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}'
Successful JSON responses use an envelope with status: 1 and a data value.
Some mutation endpoints also return comment. Download and redirect routes
return a file stream or an HTTP redirect instead of this envelope.
{
"status": 1,
"data": []
}
Validation and other uncaught route errors return HTTP 400 with this JSON
envelope. Authorization failures can use 401 or 403 and upload
authorization failures also include diagnostic details in data.authorization.
{
"status": 0,
"code": 400,
"comment": "Validation message"
}
Authentication and access
BigFS uses a project-specific authorization contract. Unless a route says
otherwise, send an M7 consumer token in the
Authorization: Bearer ACCESS_TOKEN header. The token must be issued by
the current M7 SSO authority (or use the exact supported legacy issuer value)
and carry the https://api.bigfs.m7.org audience. Access is scoped by the
BigFS principal resolved from the token:
| Principal access | Supported use |
|---|---|
| Bucket member | Read the bucket and its objects, keys, object relationships, and task records. |
| Bucket owner or admin | Change bucket contents, delete objects and keys, upload data, delete the bucket, and manage bucket members. |
| Vault member | Read a vault. |
| Vault owner or admin | Change or delete the vault, manage its linked buckets, and list its available handlers. |
| Vault owner | Manage vault principals. |
Bucket management and integrated organization operations also require their exact current action capability. Selected organization operations intersect resource membership with live organization Management grants; they never silently fall back to personal authority. See Caller and organization workspaces.
Creating a bucket makes the selected user or organization principal its owner; a personal application cannot create a bucket. Creating a vault makes the caller its owner; a private handler may only be selected by a root principal. The public redirect route and a one-time download grant are exceptions noted in their route pages.
See Authorization for token acquisition and transport, the upload token-mode exception, offline refresh packages, DPoP status, principal resolution, grant lifetimes, and authorization failures.
Pagination
Access, vault-link, handler-option, and management list endpoints use the same pagination fields:
| Field | Required | Type | Behavior |
|---|---|---|---|
limit |
No | Integer | Page size. Defaults to 20; maximum 100. |
cursor |
No | String | Opaque cursor returned as next_cursor. Takes precedence over offset and page_number. |
offset |
No | Integer | Zero-based offset. |
page_number |
No | Integer | One-based page number. |
The paged data object contains items, limit, total_count,
next_offset, page_number, page_total, and next_cursor. next_cursor is
null when there is no next page.
Guides
- Authorization
- Caller and organization workspaces
- Buckets and bucket access
- Objects, keys, and uploads
- Vaults and vault access
- Downloads and public delivery
- Remote objects and task queue
- Offline access device flow
Organization integration
Consumer organization acquisition documents live caller access facts, separate SSO proofs, SDK/platform installation and identity-only local imports. Its platform component contract covers live reports and the optional import installer. Org owners control disclosure with ordered app/org rules and default-off outside/same-org switches. Org roles/tags/public data do not replace BigFS bucket/vault authorization.