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!