Shinobu API

Control the built-in Background Worker.

πŸ”‘Get Shinobu Status

GET http://lrr.tvc-16.science/api/shinobu

Get the current status of the Worker.

{
  "success": 1,
  "is_alive": 1,
  "operation": "shinobu_status",
  "pid": 1608
}

πŸ”‘Stop Shinobu

POST http://lrr.tvc-16.science/api/shinobu/stop

Stop the Worker.

{
  "operation": "shinobu_stop",
  "success": 1
}

πŸ”‘Restart Shinobu

POST http://lrr.tvc-16.science/api/shinobu/restart

(Re)-start the Worker.

{
  "new_pid": 1727,
  "operation": "shinobu_restart",
  "success": 1
}

Last updated