Jump to content

Media Server, Add a timer, response, Feature request


DetlefM

Recommended Posts

When I create a timer with

http://192.168.0.108:8089/api/timeradd.html?enable=1&ch=2359890582721931325&title=MyTestTime&dor=42875&start=1150&stop=1205

 

all works fine but I get no response from the server.

I think it will be fine to get an answer. A failure answer when something is wrong and maybe a timer record if all works fine.

Because when I want to store this timer id where ever it is not easily possible.

The only way I see at this moment is to create the timer with an UUID  title, request a timer list after the creation call, remember the timer id and make a third call to change the title to something useful. And 1 call is better then 3 calls.

 

And - not so important but helpful is to get api responses in json. Most of javascript and REST apis expecting the json format and somebody must convert it. And I prefer the server do it.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...