Export snippets
AnsweredIs there any way to export my snippets (into say a zip file) for offline backup ?
Having cloud accessibility is great, however the snippets are the intellectual property of the author.
Having my snippets locked into your database makes my business dependent on your business .
Maybe there is an export feature I've missed ?
-
Official comment
The curl command to grab all your snippets from all libraries is:
curl -X GET \
https://api.cacher.io/integrations/show_all \
-H 'cache-control: no-cache' \
-H 'x-api-key: [api_key]' \
-H 'x-api-token: [api_token]'Fill in the API key and token with the values you find from clicking on the Apps dropdown in the top-right corner of Cacher:
In the future, this functionality will be built into the CLI.
Comment actions -
Not working, Im getting msg "Authorized users only".
http://bit.ly/2RwiEyu
How to solve it?EDIT: Im idiot, params != headers.
Working. But Im missing labels , is possible to add it?Im working with labels with each gist for better searching, viewing and organization.
Please sign in to leave a comment.
Comments
5 comments