Skip to content

mw gerrit api

Releasev0.35.0 · cfeceb67

mw gerrit api [flags]

https://gerrit.wikimedia.org/r/Documentation/rest-api.html

--auth-password <string>
Gerrit HTTP password
--auth-user <string>
Gerrit HTTP user
-X, --method <string>
The HTTP method for the request Default: GET.
--help
Help for this command
--no-interaction
Do not ask any interactive questions
--password <string>
Gerrit password (prefer --password-stdin)
--password-stdin
Read a password from stdin for this command without saving it
--profile <string>
Saved account profile (login defaults to the verified username)
--username <string>
Gerrit username (overriding config)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
mw gerrit api accounts/self/name
mw gerrit api --auth-user addshore --auth-password 0f38j210 accounts/self/name
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.