This is a follow-up question of my other question: What is the official name of the number in a Gerrit review url
I have now learned that the small integer embedded in a
The change number uniquely identifies a change. It's a unique value of a change entry. Besides the urls and refs, it can be used in Gerrit query and REST APIs.
ssh -p 29418 $user@$gerrithost gerrit query change:884120 curl --digest --user $user:$httpassword $gerrithost/gerrit/a/changes/884120