Export snippets

Answered

Comments

3 comments

  • Official comment
    Avatar
    Rui Jiang

    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.

  • Avatar
    Ron C

    Perfect ... just what I was after.

    Many thanks for the info !!

  • Avatar
    Roman Janko

    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.