Skip to main content

Advertisement

Table 1 HTTP API

From: QMachine: commodity supercomputing in web browsers

HTTP request HTTP response
Method Example URL Data Code Data
GET /box/sean?key=some_job_id   200 { }
GET /box/sean?status=waiting   200 [ ]
POST /box/sean?key=some_job_id { } 201  
  1. This table specifies the Application Programming Interface (API) understood by QM’s API server. Request and response data use JavaScript Object Notation (JSON) format, but data may be omitted where values are left blank. The “{ }” denotes a JSON object, and the “[ ]” denotes a JSON array.