Share and search notes
This example uses the demo disk and a project API key from the quickstart. Each authenticated client can address the same files.
Write notes
Section titled “Write notes”curl --fail-with-body --no-buffer \ "https://api.wabe.sh/v1/disks/demo/exec?kind=bash" \ -H "Authorization: Bearer YOUR_PROJECT_API_KEY" \ --data-binary @- <<'WABE'mkdir -p /notesput /notes/release.txt <<'TEXT'Release checklistTODO: verify the API exampleTODO: publish the release notesTEXTput /notes/review.txt <<'TEXT'Reviewed the KV example.TEXTWABESearch from another client
Section titled “Search from another client”curl --fail-with-body --no-buffer \ "https://api.wabe.sh/v1/disks/demo/exec?kind=bash" \ -H "Authorization: Bearer YOUR_PROJECT_API_KEY" \ --data-binary "rg -n -F 'TODO' /notes"The stdout records contain the two matching lines, with file paths and line numbers. Use the stream decoder to print raw command output.
Download the file
Section titled “Download the file”curl --fail-with-body "https://api.wabe.sh/v1/disks/demo/files/notes/release.txt" \ -H "Authorization: Bearer YOUR_PROJECT_API_KEY" \ --output ./release.txtConcurrent clients can read complete file versions. Updating the same path uses last-published-writer semantics. This example does not implement edit merging or conflict detection.