CBOR format guide
Sample CBOR files
Small binary CBOR files with the same users, projects and tasks as the JSON files. Use them to test CBOR decoders and binary response handling, then compare the result with the matching JSON file. Pick a whole collection (3 users, 2 projects or 3 tasks) or a single record. The 11 files range from 108 B to 980 B.
No account or API key is needed. A published v1 file never changes, its SHA-256 is listed in the manifest, and the data is CC0, so you can also commit a copy to your own repository.
application/cbor
Use it
Request an asset
Browser
const response = await fetch("/v1/projects.cbor");
const payload = await response.arrayBuffer();curl
curl -fsS https://payloads.mochavi.com/v1/projects.cborPython
from urllib.request import urlopen
with urlopen("https://payloads.mochavi.com/v1/projects.cbor") as response:
payload = response.read()Published files
11 stable URLs
| Path | Media type | Size |
|---|---|---|
/v1/projects.cbor | application/cbor | 416 B |
/v1/projects/101.cbor | application/cbor | 251 B |
/v1/projects/102.cbor | application/cbor | 164 B |
/v1/tasks.cbor | application/cbor | 395 B |
/v1/tasks/1001.cbor | application/cbor | 139 B |
/v1/tasks/1002.cbor | application/cbor | 108 B |
/v1/tasks/1003.cbor | application/cbor | 147 B |
/v1/users.cbor | application/cbor | 980 B |
/v1/users/1.cbor | application/cbor | 368 B |
/v1/users/2.cbor | application/cbor | 302 B |
/v1/users/3.cbor | application/cbor | 309 B |
Validate the canonical shape with the dataset schema.
Related guides: MessagePack and CBOR testing, File download testing, For coding agents.