Sets user account options. Currently only partners options are supported. More of them later!

Note: ALL arguments are required.

Authenication

This method requires authentication with viddler.users.auth API method.

Arguments

api_key
Assigned Viddler API Key
method
Should be set to “Viddler.users.setOptions”
sessionid
Current session in generated by calling viddler.users.auth method
show_account (optional)
“1″, “0″ – Show/hide your account in Viddler. If you set it to “0″ both your account and your videos won’t be visible on viddler.com site
tagging_enabled (optional)
“1″, “0″ – Enable/disable tagging on all your videos
commenting_enabled (optional)
“1″, “0″ – Enable/disable commenting on all your videos
show_related_videos (optional)
“1″, “0″ – Show/hide related videos on all your videos
embedding_enabled (optional)
“1″, “0″ – Enable/disable embedding of off all your videos
clicking_through_enabled
“1″, “0″ – Enable/disable redirect to viddler site while clicking on embedded player
email_this_enabled (optional)
“1″, “0″ – Enable/disable email this option on all your videos
trackbacks_enabled (optional)
“1″, “0″ – Enable/disable trackbacks on all your videos
favourites_enabled (optional)
“1″, “0″ – Enable/disable favourites on all your videos
custom_logo_enabled (optional)
“1″, “0″ – Enable/disable custom logo on all your videos. Note that logo itself must be send to viddler manually.

All option parameters are optional. You can send request with only one of them or all of them. Sending invalid parameter value won’t change your current settings.

Example Call

http://api.viddler.com/rest/v1/?method=viddler.users.setOptions&api_key=12345ffbbce455&sessionid=12345678&show_account=1&tagging_enabled=0

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<updated>2</updated>
updated
Number of options actually updated