Summary

This API call allows a user to edit or change details about a video in the system.

Endpoint / url

/api/videos/{video}.xml

Formats

  • XML
  • JSON

Arguments

  • method string - Specifies to use the HTTP PUT method if submitting the call via HTTP POST
  • title string - Specifies the new title for the video
  • description string - Specifies the new description for the video
  • private boolean (true|false) - Marks the video as private or public
  • seo_url string - Specifies the SEO url for the video

Parameters

  • videos is the vzaar video number for that video.

HTTP Methods

  • PUT

Authentication

  • Required

Responses

The response will be the same as video details call.

Example

Call http://vzaar.com/api/videos/17069.xml

Request (http post)

<?xml version="1.0" encoding="UTF-8"?>
  <vzaar-api>
  <_method>put</_method>
  <video>
  <title>This is a new title</title>
  <description>I have changed the video title and descrption</description>
  <private>true</private>
  <seo_url>http://example.com/</seo_url>
  </video>
  </vzaar-api>

Response

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
  <oembed>
  <type>video</type>
  <version>1.0</version>
  <title>All about my Buisness - Video Interview</title>
  <author_name>video_super_star</author_name>
  <author_url>http://vzaar.com/users/video_super_star</author_url>
  <provider_name>vzaar</provider_name>
  <provider_url>http://vzaar.com</provider_url>
  <html><![CDATA[&lt;!-- VZAAR START --&gt;&lt;div id=&quot;vzaar_media_player&quot;&gt;&lt;object ...&lt;/object&gt;&lt;/div&gt;&lt;!-- VZAAR END --&gt;]]></html>
  <height>254</height>
  <width>334</width>
  </oembed>

contact us   by phone, mail or twitter...
libraries
ruby java php .net node
affiliates
affiliate program


Powered by Olark