Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Hi Han-Wen, thanks for answering.For my understanding labels holds only the latest vote for each reviewer.I'm looking for a way to get the history of votes for all patch sets of a given change.One solution I've found was:1. Call changes/{{GERRIT_CHANGE_ID}}?o=ALL_REVISIONS2. Call changes/{{GERRIT_CHANGE_ID}}/revisions/{{GERRIT_REVISION_ID}}/reviewers/{{GERRIT_ACCOUNT_ID}}/votes/But looks like it will take a long time to process all changes into the full Gerrit history because every change has N revisions and M accounts.Second option would be to parse the messages returned by the changes API:"messages": [{"id": "1461eab7_691aa2b9","date": "2021-04-06 17:14:34.000000000","message": "Patch Set 2: Code-Review-1","_revision_number": 2},...But sounds like running in circles since we have all this information on the patch_set_approvals table.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/2615dd1f-6af5-4b67-868f-012b90bc1893n%40googlegroups.com.