Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

These REST calls define separate demo modes for the cabinet. Note they do not work all in the same way. Some might have state, some don’t.

URL

http://<<ip address>>/rest/cabinet/demo/random-pick

Method

PUT

Description

Switches on 3-6 random lights, with a number randomised between 1 and 5. This demo is disabled by switching all lights off (see lighttest above), or by pushing all lights.

This demo mode is stateless.

Request

Ignored

Response

HTTP204 when successful

Possible Errors

None

Status

IMPLEMENTED

  • No labels