vimeo.js icon indicating copy to clipboard operation
vimeo.js copied to clipboard

client.request don't return field 'files'

Open emattos opened this issue 6 years ago • 2 comments

I'm using the code below and it's working, but the field files never show up in my JSON. I need the field files to use the MP4 link. I tested at: https://developer.vimeo.com/api/playground/me/albums/%7Balbum_id%7D/videos and there I can see the field "files" Can someone help me with it?

client.request({ path: '/me/albums/'+ playlistId +'/videos', query: { sort: 'date', direction:'desc', fields: 'uri,name,description,duration,created_time,pictures,files' } })

emattos avatar Oct 02 '18 19:10 emattos

Does this only occur on the API Playground, or does this happen when making the same request using REST client like Postman or curl?

tommypenner avatar Oct 02 '18 19:10 tommypenner

Since I think version 3.4, I believe you need to -

  1. request the video_files scope in addition to public, private
  2. have a PRO account

brucemcpherson avatar May 21 '19 10:05 brucemcpherson