Overview
How can I upload or embed a video using the API?
This article provides information on this topic.
Information
Please review the following curl examples for more information on the types of queries needed to upload or embed videos using the API:
Uploading a Video
curl -v -u username:password -X POST https://jiveURL/api/core/v3/places/placeID/contents -H "cache-control: no-cache" -H "Content-Type: application/json" --data-raw "{ \"content\": { \"text\": \"Video Description\", \"type\": \"text/html\" }, \"subject\": \"Video Title\", \"type\": \"video\", attachments: [{ \"name\":\"VideoFile.mp4\", \"doUpload\":\"true\", \"url\":\"Video URL\", \"contentType\":\"application/octet-stream\" }] }"
Embedding a Video
curl -v -u username:password -X POST https://jiveURL/api/core/v3/places/placeID/contents -H "cache-control: no-cache" -H "Content-Type: application/json" --data-raw "{ \"content\": { \"text\": \"Video Description\", \"type\": \"text/html\" }, \"subject\": \"Video Title\", \"type\": \"video\", \"url\":\"Video URL\", \"contentType\":\"application/octet-stream\", \"embedSource\": \"Video URL\" }"
Please note that assistance with creating API queries is outside the Jive Support Team's scope of work. For assistance with the use of the API, please review this information:
- The HTTP Basic w/SSL section of the Developer Introduction to the Jive API.
- Note: API request results will be limited based on the authenticated user's System Administration Permission Level.
- The Important Features section of the Jive API Website - with an emphasis on the Paginated Lists feature.
- The Jive Developers space.
Comments
0 comments
Please sign in to leave a comment.