Skip to main content

Microsoft Silverlight

Answered Question Managing Silverlight Streaming account with RESTRSS Feed

(0)

ronny.kwon
ronny.kwon

Member

Member

10 points

8 Posts

Managing Silverlight Streaming account with REST

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

---------------------------------
Blog : Cloud Computing & Interop (FR)

http://www.bloginthecloud.com

swildermuth
swildermuth

Star

Star

8320 points

1,546 Posts

Re: Managing Silverlight Streaming account with REST

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.

(If this has answered your question, "Mark as Answer")

Shawn Wildermuth
C# MVP, MCSD, Speaker and Author

Silverlight 3 Workshop
Miami, FL: Oct 12-14th
Portlant, OR: Dec 2-4th
Atlanta, GA: Dec 7-9th
http://silverlight-tour.com

ronny.kwon
ronny.kwon

Member

Member

10 points

8 Posts

Re: Managing Silverlight Streaming account with REST

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. 

---------------------------------
Blog : Cloud Computing & Interop (FR)

http://www.bloginthecloud.com

ronny.kwon
ronny.kwon

Member

Member

10 points

8 Posts

Answered Question

Re: Managing Silverlight Streaming account with REST

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]

---------------------------------
Blog : Cloud Computing & Interop (FR)

http://www.bloginthecloud.com

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities