Vimeo api get folders - fetch-api

I have been trying to get all my folders using Vimeo API. The endpoint /me/projects returns all folders, including subfolders. Is there any way to filter this search so that I can only get Vimeo parent folders or the outermost folders?
I have tried filters like filter=metadata.connections.ancestor_path.length&filter_metadata.connections.ancestor_path.length=0, but they don't seem to work.
Thank you!

Related

Using GitHub Pages to serve files (i.e. zip)

I have setup GitHub pages and my site is working fine, but when navigating to the zip file at the site (i.e. mysite.com/example.zip), I get 404 error page. The files are in the repository and it seems that for some files it works as I can access PDF file just fine (i.e. mysite.com/myfile.pdf). Couldn't find any mention that GitHub Pages are blocking this, but seems like it, or am I missing something? Is there a list of files which ones are served and which not?

Exported Google+ photos, how do I Merge JPG and Json for a full folder?

I have a full back-up of my Google Photo pictures from google Archive.
This comes in folders with 2 type of files in it. *.jpg and *.Json, *.json has the metadata.
Now i found this article (Exported Google+ photos, how do I convert JSON data into EXIF?) but it's for a single file and works.
exiftool -json=picture.json picture.jpg
Somebody know how i can do this for full folders? Folders have multiple files Img_1234.jpg.json and img_1234.jpg Etc
Exported Google+ photos, how do I convert JSON data into EXIF?
exiftool -json=picture.json picture.jpg

How to use Facebook API's "folder" and "tag" parameters when reading a page's mailbox?

I'm trying to read my test page's mailbox using the /conversations edge.
What I want is getting conversations related to a specific folder but whenever I try something like /page-id/conversations?folders=done I get the same results as /page-id/conversations. The same goes whenever I try the 'tags' parameter.
And once I move a conversation to another folder like the 'done' using
the Facebook website, it disappears from the results of /page-id/conversations
Anyways, besides the 'folder' thing, is there a way to get a conversation's "label" and "notes" specified by the page's admin?
And it seems that the messages' tags are not affected by the folder they reside in. So even after I move a conversation to the "done" folder, its messages still have the "inbox" tag associated with them. Am I missing something obvious here?
P.S. Solution suggested at How to query conversations by folder via Graph Api? didn't work for me.
You're very close to solution. Instead of folders=done, try folder=page_done with Page access token.
{page-id}/conversations?folder=page_done

Dropbox API get URL for media listing

I am using the Dropbox REST API, and i am wondering if there is a way to list files in a folder with URL for each file? Or do I have to call the Media endpoint individually for each of them.
Take a look at their documentation for /media. You would need to loop through a list of files, but this should do the trick.

What's the proper way to link to a CSS file within my GitHub?

For example I can access a twitter resource from the following
http://twitter.github.com/bootstrap/assets/css/bootstrap.css
When I try to access the 'raw' file from my own repository I get
https://raw.github.com/nodeninja/book/master/chapter02/bootstrap/public/stylesheets/docs.css
Which doesn't work correctly in a web page I'm guessing because of https. What's the correct way to do this link?
GitHub have a pages facility for doing this
http://help.github.com/pages/
This is what I wanted
http://nodeninja.github.com/book/chapter02/docs.css