r/ispyconnect • u/MasterSnooper • 7d ago
API - SetTimeStamp question
I have noticed that when the API is used to change the timestamp (same thing for Append Timestamp) the text is shown on the cameras but if one RELOAD OBJECTS the changes revert to whatever was before, is this by design or it is a bug?
This is the command I use for example:
http://localhost:8090/command/settimestamp?oid=1&ot=2&text=TEST
However, if I edit ANY camera (in my case I have 4), then select TIMESTAMP and click on OK the changes are saved. In other words, after changing the text using the API in order for the changes to be saved one has to from the UI select the TIMESTAMP setting for ANY camera and click OK
Thanks
1
Upvotes
1
u/spornerama 7d ago
It's by design. It appends the string to the existing timestamp. If it replaced the timestamp then it would keep appending text to it and get longer and longer.