REST API v1

Base URL https://api.filesxcloud.com/v1. Authenticate using scoped bearer tokens prefixed with fxc_live_.

Core endpoints

GET/v1/buckets

List active US East buckets and quota usage.

POST/v1/uploads

Initiate a 4 MB delta chunk session with SHA-256 verification.

PUT/v1/objects/{bucket}/{key}

Upload or commit verified object parts atomically.

POST/v1/shares

Mint time-limited signed URLs with optional IP allowlists.

GET/v1/audit

Stream workspace access and retention lock events.

Commit a release artifact

curl -X POST https://api.filesxcloud.com/v1/uploads \
  -H "Authorization: Bearer fxc_live_9d4a2c..." \
  -H "Content-Type: application/json" \
  -d '{
    "bucket": "release-builds",
    "region": "us-east-mia",
    "key": "v4.18.2/app-darwin-arm64.tar.gz",
    "size": 50541200,
    "sha256": "9f4c88e1d7a0...",
    "retention_days": 90
  }'
{
  "upload_id": "upl_01J8Z4M9K2",
  "chunk_size": 4194304,
  "missing_chunks": [0, 3, 11],
  "commit_url": "https://api.filesxcloud.com/v1/uploads/upl_01J8Z4M9K2/commit",
  "region": "us-east-mia"
}