Storing data
Every artifact has its own storage — no separate database to provision. Three
shapes, one base path: /v1/data/{artifactId}.
JSON store
Section titled “JSON store”A single JSON document per artifact. Good for settings, small state, content.
# Readcurl -H "Authorization: Bearer $TOKEN" \ https://shareout.site/v1/data/art_abc123/json
# Replacecurl -X PUT https://shareout.site/v1/data/art_abc123/json \ -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \ -d '{ "theme": "dark", "views": 42 }'Tables
Section titled “Tables”Structured rows for lists, submissions, and records. List the tables on an artifact:
curl -H "Authorization: Bearer $TOKEN" \ https://shareout.site/v1/data/art_abc123/tablesTables also power row-level access policies — filter rows per viewer so each
customer sees only their own data. Set access_policy on publish.
Blobs (files)
Section titled “Blobs (files)”Upload images, video, audio, and documents as multipart/form-data:
curl -X POST https://shareout.site/v1/data/art_abc123/blobs \ -H "Authorization: Bearer $TOKEN" \ -F file=@chart.png| Constraint | Value |
|---|---|
| Per file | 50 MB |
| Per artifact | 500 MB |
| Max blobs | 1000 |
Allowed types: PNG, JPEG, GIF, WebP, SVG; MP4, WebM; MP3, WAV, OGG; PDF, TXT, CSV, Markdown.
See the full endpoints in the API reference.