hello-revision - Print our “Hello !” message
POST /changes/{change-id}/revisions/{revision-id}/cookbook~hello-revision
Prints “Hello !”.
--french
Translate to French.
--message
Greeting Message
Any authenticated user.
Have the server say Hello to the user
curl -X POST --user joe:secret http://host:port/a/changes/1/revisions/1/cookbook~hello-revision“Hello joe from change 1, patch set 1!”
Have the server say Bonjour to François
curl -X POST -H "Content-Type: application/json" \ -d '{message: "François", french: true}' \ --user joe:secret \ http://host:port/a/changes/1/revisions/1/cookbook~hello-revision“Bonjour François from change 1, patch set 1!”
Part of Gerrit Code Review