Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

URL

http://<<ip address>>/rest/controller/«controllerno»/tag/«tagno»

Method

GET

Description

Receives information of a tag. This is a low-level call, no check is done on existence of the tag. If the value was set earlier by the tag PUT call, value and state will be sent.

controllerno and tagno are numbers.

For the standardised PTL cabinet, controller 1 is the front, controller 2 is the back. Tag IDs are numbered from 11 upwards (left-to-right, bottom-to-top).

Response

Code Block
languagejson
{
  "model": «model»,
  ["value": «lastdisplayedvalue»,
  "state": «state»]
}

Possible Error

HTTP404 with no body when controller tag does not exist (this may include non-existence of controller)

Status

Status
colourYellow
titlepending

...