Cli/ref/mw gerrit api

From mediawiki.org
< Cli‎ | ref

mw gerrit api[edit]

Gerrit’s API

Synopsis[edit]

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

mw gerrit api [flags]

Examples[edit]

api accounts/self/name
api --auth-user addshore --auth-password 0f38j210 accounts/self/name

Options[edit]

      --auth-password string   Gerrit HTTP password
      --auth-user string       Gerrit HTTP user
  -X, --method string          The HTTP method for the request (default "GET")

Options inherited from parent commands[edit]

      --help             Help for this command
      --no-interaction   Do not ask any interactive questions
  -v, --verbose count    Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO[edit]

  • mw gerrit - Interact with the Wikimedia Gerrit instance (WORK IN PROGRESS)