Last active
November 20, 2015 23:45
-
-
Save benweet/4353a9375510c6c9a622 to your computer and use it in GitHub Desktop.
Get file revision
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://app.classeur.io/api/v1/files/ApP3fU20RBsiuJluYrbY/fromRev/40157/toRev/40157 \ | |
-u $USER_ID:$API_TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi John,
Here is how you can get the previous revision from the REST api:
(you just have to generate the API_TOKEN from the settings)
The result will be in json. I can send the content by email if you want (got it with the admin token).
We're working on a revision tab (and fixing bugs...)