method-videos-setPermalink
Last edited: April 8th, 2010 by Colin DevroeSet permalink on videos you own. Permalink is used by our flash player. When user clicks on a videos while it is played, he will be redirected to permalink url defined on a video.
Note: ALL arguments are required.
Authenication
This method requires authentication with viddler.users.auth API method.
Arguments
- method
- Should be set to “Viddler.videos.setPermalink”
- api_key
- Assigned Viddler API Key
- sessionid
- Current session in generated by calling viddler.users.auth method
- video_id
- The ID of the video to get information for. This is the ID that’s returned by upload.video.
- permalink
- URL address to your page – max 250 characters long.
Note: To reset a permalink back to its Viddler.com default – simply supply an empty permalink argument.
Example Call
http://api.viddler.com/rest/v1/?method=viddler.api.getInfo&api_key=api_key&sessionid=yoursessionid&permalink=http://yourpage.com
Example Response
<success />