Welcome to Notes

Select a note from the sidebar or create a new one to get started.

API commands for this page

Run these examples from a terminal. Replace sample values and add your bearer token where required.

List notes

curl -q -LSsf -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.casjay.coffee/api/v1/data/notes/list'

Search notes

curl -q -LSsf -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.casjay.coffee/api/v1/data/notes/search?q=example'

Create note

curl -q -LSsf -X POST -H 'Content-Type: application/json' --data-raw '{"title":"Example note","content":"Note content"}' -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.casjay.coffee/api/v1/data/notes/create'

Update note

curl -q -LSsf -X PUT -H 'Content-Type: application/json' --data-raw '{"title":"Updated note","content":"Updated content"}' -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.casjay.coffee/api/v1/data/notes/YOUR_NOTE_ID'

Delete note

curl -q -LSsf -X DELETE -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.casjay.coffee/api/v1/data/notes/YOUR_NOTE_ID'