Skip to content

Host API

  • GET /id
    • Returns the host ID.
  • POST /users
  • POST /ops
    • Uploads an (encrypted) op.
  • GET /ops/:path
    • Returns an (encrypted) op.
  • GET /ops?begin=$TIMESTAMP
    • Returns a list of paths to all ops uploaded beginning at $TIMESTAMP.
  • ws://hostURL?key=$PUBKEY
    • Initiate a WebSocket connection to receive real-time notifications when the host receives a new op.