Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: How I can recieve change with previous revision of doc? #77

Open
Sigura opened this issue Feb 4, 2016 · 3 comments
Open

question: How I can recieve change with previous revision of doc? #77

Sigura opened this issue Feb 4, 2016 · 3 comments

Comments

@Sigura
Copy link

Sigura commented Feb 4, 2016

Other words, how could I get differences of changes?

as I see revs_info does not work. Could I make PR to support it?

@Sigura Sigura changed the title question: How I can recieve change with previous revision of doc? question: How I can recieve change with previous revision of doc? Feb 4, 2016
@Sigura
Copy link
Author

Sigura commented Feb 5, 2016

I found only long way:

  1. request doc with revs_info=true
    GET couchDb/id?revs_info=true
  2. then request previous rev
    GET couchDb/id?rev=rev

@jcrugzz
Copy link
Member

jcrugzz commented Feb 5, 2016

Yea i dont think its possible to query this with changes but you can do that get request one each change event.

@Sigura
Copy link
Author

Sigura commented Feb 5, 2016

I did, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants