Ashok Mandal
Ashok Mandal

Reputation: 278

Add title to vimeo video through nodejs vimeo api?

I am writing an application to upload a video file to vimeo .
The problem is the title is always set to "Untitled"!
Is there any way to set the title of the video while uploading through the api?
I am using This api

Have a look

Upvotes: 1

Views: 571

Answers (1)

Dashron
Dashron

Reputation: 3998

Docs for PATCH-ing your video post-upload are here.

Name and title are one and the same. The docs look a little confusing right now so I'll clean those up.

In node, the code looks like this

var response = lib->request({method:'PATCH', path:video_uri, query:{name:'New Name'}});

Upvotes: 2

Related Questions