cables API
you can access cables functionality via an API
to access the API you need to create an API key.
manage your API keys in settings
API endpoints
/api/mypatches
a list of all your patches/api/project/[PID]/export
create an export of a patch with the id PID
the resulting json contains a field path. this is the download path for the exported zip file, relative tohttps://cables.gl/
url query parameters:
removeIndexHtml
- remove index.html from exportjsonName
- filename of resulting json filecombineJS
- combine .js and json files into one
accessing the API via CURL
use this to test your apikey via command line:
curl -H 'X-apikey: YOUR_API_KEY' 'https://cables.gl/api/mypatches'
exporting cables projects
Found a problem? Edit this file on github and contribute to cables!