Skip to main content
Home Forums General Silverlight Hosting and Streaming Managing Silverlight Streaming account with REST
3 replies. Latest Post by ronny.kwon on December 28, 2008.
(0)
ronny.kwon
Member
10 points
8 Posts
12-27-2008 5:15 PM |
Hi
I've been attempting to manage my Silverlight Streaming account within a REST client in Java (using the Reslet API)
I've already been able to "GET" my list of videos, delete a fileset.
this page http://msdn.microsoft.com/en-us/library/cc304456.aspx says that Silverlight Streaming Services is able to supports GET, PUT, POST, DELETE and so on...
But there are not quite much examples about manipulating those HTTP verbs. What I'm actually trying to do is to send a COPY order to my SLS to copy an existing video (which will be deleted few hours later). Has anyone got an idea about how to implement this ? or guide me through the best REST way to do this? (what headers I must sent for example...)
Thank you
swildermuth
Star
8320 points
1,546 Posts
12-27-2008 5:18 PM |
Sounds like your main problem is using the Restlet API in Java. I would suggest you contact a site/mailing list that knows this API as most of the developers here won't have any of that experience.
12-27-2008 5:27 PM |
Thank you for your quick answer
In fact it's a general problem, I want to know the specification for sending a COPY request to the Silverlight Streaming Services regardless to the REST Api I'm using. If someone could show me a working example (.NET or else), i'll be glad to have a look at it.
12-28-2008 4:59 AM |
For anyone interested by the solution, you have to send a request with a "Destination" header specifying the new location of your fileset
for example :
send a Copy request on
https://silverlight.services.live.com/<AccountID>/SampleWMV
with a header destination ["Destination",https://silverlight.services.live.com/<AccountID>/CopyWMV]