Share history as raw JSON
On the web app or Windows 11, open More → Share history, select your songs, then check Raw JSON. This option is unchecked each time the dialog opens. Custom selections still require Create custom link. Copy or share the generated link as usual; recipients open a JSON response without signing in.
Each identification has artist and album, plus time and location when their respective checkboxes are enabled. Missing values are null. Time is the capture timestamp (falling back to identification time), in ISO 8601 UTC format. Location is a readable place/address label; coordinates, device names, account IDs and recognition metadata are excluded. Repeated detections remain separate records, newest first.
[
{
"artist": "Example artist",
"album": "Example album",
"time": "2026-11-08T12:00:00.000Z",
"location": "Example café, Example street"
}
]
The link uses the same saved scope, selection and privacy rules as the normal shared page. Unchecking Time or Location omits that key completely. Missing or revoked links do not expose history. All-history JSON follows database pages to include older records. Existing page-format links remain available with Raw JSON unchecked.
Deploy web-aws-source with ./deploy.sh to update the web controls and history API. Windows loads these controls in its shared WebView2 interface; install the matching Windows release using the normal build/install script. The source archive is not a prebuilt Windows installer.
Validation: npm test, npm run test:browser (see WEBAPP-VALIDATION.md for environment flags), and cd web-aws-source/infra && npm ci && npm run build && node ../tests/raw-json-share.cjs.