{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/1/update","auth":"required","params":[{"name":"video_id","type":"string","default":"","desc":"The id of the video to update","required":true,"in":"body","ref":"","_id":"56d46a4f73dcd20b00fb864c"},{"name":"title","type":"string","default":"","desc":"A title for video","required":false,"in":"body","ref":"","_id":"56d46a4f73dcd20b00fb864b"},{"name":"description","type":"string","default":"","desc":"A description for video","required":false,"in":"body","ref":"","_id":"56d46a4f73dcd20b00fb864a"},{"name":"author_name","type":"string","default":"","desc":"The name of the video owner or creator","required":false,"in":"body","ref":"","_id":"56d46a4f73dcd20b00fb8649"},{"name":"author_url","type":"string","default":"","desc":"URL to author's Twitter, blog or personal site","required":false,"in":"body","ref":"","_id":"56d46a4f73dcd20b00fb8648"}],"results":{"codes":[{"status":200,"language":"json","code":"{'error': false, 'video_id': '12345'}","name":""},{"code":"{'error': true, 'error_message': 'Please ensure video exists or you have ownership.'}","name":"","status":403,"language":"json"},{"status":400,"language":"json","code":"{'error': true, 'error_message': 'Invalid API key.'}"}]},"settings":"569412f63e9d080d00f064fe","examples":{"codes":[]},"method":"post"},"next":{"description":"","pages":[]},"title":"/1/update","type":"endpoint","slug":"update","excerpt":"","body":"Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"'https://upload.embed.ly/1/update?key=YOUR_API_KEY' --data 'video_id=YOUR_VIDEO_ID&title=a%20greattitle&description=a%20perfect%20description&author_name=embedly&author_url=http%3A%2F%2Ftwitter.com%2Fembedly'\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]\nVideo Update Example\n[block:embed]\n{\n  \"html\": \"<iframe class=\\\"embedly-embed\\\" src=\\\"//cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fjsfiddle.net%2Fjd4w54Lr%2F1%2F&src=https%3A%2F%2Fjsfiddle.net%2Fjd4w54Lr%2F1%2Fembedded%2F&type=text%2Fhtml&key=02466f963b9b4bb8845a05b53d3235d7&schema=jsfiddle\\\" width=\\\"600\\\" height=\\\"400\\\" scrolling=\\\"no\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>\",\n  \"url\": \"https://jsfiddle.net/jd4w54Lr/1/\",\n  \"title\": \"Embedly Video Update - JSFiddle\",\n  \"favicon\": \"https://jsfiddle.net/favicon.png\"\n}\n[/block]","updates":["571179e65542ed0e002da683"],"order":8,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"56d46a5b8001e30b00896ebb","__v":1,"createdAt":"2016-02-29T15:57:15.492Z","category":{"sync":{"isSync":false,"url":""},"pages":["564e01de8980c32b009e8bca","564e031f5eab6e0d0069ca38","564e057a873c362d005172b2","564e05a15eab6e0d0069ca40","564e07b01494cc2b00acb618","56941291d8c04d1700e5adc2","5696aca1cb14e11700f8aa01","56d46a4f73dcd20b00fb8647","56d46a5b8001e30b00896ebb","56f00bd1d58ed32400df6092","56f01568d58ed32400df60c1","56f0194911415c2900969c10"],"title":"API","slug":"api","order":1,"from_sync":false,"reference":true,"_id":"564df3217c8f372b00b934df","project":"564de2dbfe07a81700b5c3a5","__v":12,"createdAt":"2015-11-19T16:04:49.459Z","version":"564de2dbfe07a81700b5c3a8"},"user":"569e9cb9c237d225002df59b","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["564de2ddfe07a81700b5c3a9","564df317826645210097a890","564df3217c8f372b00b934df","564e5227c3553e0d003e53ba","5666dac5d784a70d00397bcb","56cd08ddd98d851d00c0c3bd","56e9a50946bfd60e008840a7","5718e37bf8f7de1900683fad","58c3308dfedf070f0043b72c","58ce99c75457d02300560c0a"],"_id":"564de2dbfe07a81700b5c3a8","project":"564de2dbfe07a81700b5c3a5","__v":10,"createdAt":"2015-11-19T14:55:23.838Z","releaseDate":"2015-11-19T14:55:23.837Z"},"editedParams":true,"editedParams2":true,"parentDoc":null,"project":"564de2dbfe07a81700b5c3a5","githubsync":""}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

video_id:
required
string
The id of the video to update
title:
string
A title for video
description:
string
A description for video
author_name:
string
The name of the video owner or creator
author_url:
string
URL to author's Twitter, blog or personal site

Result Format


Documentation

Examples [block:code] { "codes": [ { "code": "'https://upload.embed.ly/1/update?key=YOUR_API_KEY' --data 'video_id=YOUR_VIDEO_ID&title=a%20greattitle&description=a%20perfect%20description&author_name=embedly&author_url=http%3A%2F%2Ftwitter.com%2Fembedly'", "language": "curl" } ] } [/block] Video Update Example [block:embed] { "html": "<iframe class=\"embedly-embed\" src=\"//cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fjsfiddle.net%2Fjd4w54Lr%2F1%2F&src=https%3A%2F%2Fjsfiddle.net%2Fjd4w54Lr%2F1%2Fembedded%2F&type=text%2Fhtml&key=02466f963b9b4bb8845a05b53d3235d7&schema=jsfiddle\" width=\"600\" height=\"400\" scrolling=\"no\" frameborder=\"0\" allowfullscreen></iframe>", "url": "https://jsfiddle.net/jd4w54Lr/1/", "title": "Embedly Video Update - JSFiddle", "favicon": "https://jsfiddle.net/favicon.png" } [/block]