a simple data storage service for MixJuice / IchigoJam
git clone https://github.com/IchigoJam/mixbox.git
cd mixbox
deno run -A mixbox.js 8080
- C: command
- see also mixbox.js
- http://[::]:8080/p?C=GET&N=5
- N: length
- D: offset
- http://[::]:8080/p?ID=1&D=80
- ID: ID
- D: data
- http://[::]:8080/p2?ID=1&LOCK
- ID: ID (must be owner ID)
- LOCK
- http://[::]:8080/p2?ID=1&UNLOCK
- ID: ID (must be owner ID)
- UNLOCK
- http://[::]:8080/p2?ID=1&CLEAR
- ID: ID (must be owner ID)
- CLEAR
- http://[::]:8080/p?C=LEN
- U: ID unique
- http://[::]:8080/p?C=MAX
- R: ratio
- http://[::]:8080/p?C=MIN
- R: ratio
- http://[::]:8080/p?C=SUM
- R: ratio
- http://[::]:8080/p?C=AVE
- R: ratio
- http://[::]:8080/p?C=RANK&D=80
- D: data
- R: ratio
- http://[::]:8080/p?C=SD&D=80
- D: data
- R: ratio
- http://[::]:8080/p?C=UMIN
- R: ratio
- JSON: return as JSON
- http://[::]:8080/p?C=UMAX
- R: ratio
- JSON: return as JSON