vimeo-api remove part of JSON response -


is possible (sending specific parameter in request) remove part of json response?

like youtube api v3 part parameter: part parameter specifies comma-separated list of 1 or more video resource properties api response include.

thanks,

the vimeo api supports fields whitelist, instead of saying "exclude this", include list of want.

there more documentation here: https://developer.vimeo.com/api/spec#json-filter

but idea add parameter fields, , comma separated list of fields. nested data should broken periods. following representation

{     "name": "dashron",     "websites": [{         "name": "facebook"     },{         "name": "twitter"     }],     "metadata": {         "albums": {             "uri": "...",             "options": "...",             "total": "..."     } } 

is result of api call following fields parameter fields=name,websites.name,metadata.albums


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -