HttpWebResponse to Get the "Pause" Flag
Hello! Been a while here.
So I have been able to use some features of API.
Mostly successfully through Websocket and just direct WebRequest.
Now I want to know the printer's pause status. False or True.
Messages look like what I want with this response below.
So I have been able to use some features of API.
Mostly successfully through Websocket and just direct WebRequest.
Now I want to know the printer's pause status. False or True.
Messages look like what I want with this response below.
[{"id":msgId,"msg":"Message","link":"finishLink","slug":printer,"date":"Date ISO 8601","pause":false}]
The webresponse is just empty
[]
When I tried communidationData it's giving me
{"bytesReceived":241083,"bytesSend":53634,"linesSend":7623,"resendErrors":0}
listPrinter
[{"active":true,"job":"none","name":"deltaHyperreal","online":1,"pauseState":0,"paused":false,"slug":"deltaHyperreal"}]
But nothing with "Messages".
Do you know why I am not getting anything with Messages?
Also, is this the only way to get the pause status?
Please let me know.
Thanks!
Comments
Messages just contains a hint with unpause/remove link.
messages
Parameter: none
Response
List of currrently open messages.
Messages' "pause" only gives me the proper response when the printer is paused.
When the printer is running, it's giving me nothing.
Is this something to do with open messages? What is the open message?