Skip to content

REST API documentation

Bernard edited this page Jun 19, 2017 · 18 revisions

The REST commands are defined in: https://github.com/BBekker/CryostatControl/blob/dev/CryostatControlServer/HostService/ICommandService.cs

  • HTTPS://<address>:18081/service/ Main address
    • GET IsAlive check server alive, returns true
    • POST Cooldown start a cooldown now
    • POST CooldownTime Start the cooldown at a time set in the request body. formatted in microsofts own strange format: \/Date(<miliseconds since 1970-01-01 00:00>)\/
    • POST Recycle
    • POST RecycleTime
    • POST Warmup
    • POST WarmupTime
    • POST Manual
    • POST Cancel
    • GET GetState
    • GET GetStartTime
    • POST SetCompressorState
    • POST WriteHelium7 Write a value to a heater. body must be of format: { 'heater': , 'value':}
    • GET GetValue/<sensor id> read a sensor. list of ids
Clone this wiki locally