This page describes the ‘/config/’ REST endpoint that is added by the @PLUGIN@ plugin.
Please also take note of the general information on the REST API.
GET /projects/ProjectName/@PLUGIN@~config
Gets per project configuration of the @PLUGIN@ plugin.
GET /projects/foo/@PLUGIN@~config HTTP/1.0
As response a ConfigInfo entity is returned that contains the configuration of the @PLUGIN@ plugin.
HTTP/1.1 200 OK Content-Disposition: attachment Content-Type: application/json;charset=UTF-8 )]}' { "enabled": true }
The name of the project.
If the name ends with .git
, the suffix will be automatically removed.
The ConfigInfo
entity contains the configuration of the @PLUGIN@ plugin.
Field Name | Description |
---|---|
enabled | Whether the project is enabled for Zuul integration |
Part of Gerrit Code Review