Modify Gerrit Project

Modify Gerrit Project

Modify Gerrit project

Request
URI
PATCH
https://{api_host}/pipeline/api/gerrit-projects/{id}
COPY
Path Parameters
string
id
Required

id


Responses
200

OK

Returns GerritProject of type(s) application/json
{
    "name": "string",
    "kind": "string",
    "tags": [
        "string"
    ],
    "_link": "/pipeline/api/..",
    "_createdBy": "Test user",
    "_updatedBy": "Test user",
    "_updateTimeInMicros": 1499279153081002,
    "project": "Test Project",
    "providerLink": "/pipeline/api/gerrit-provider/providerLink",
    "projectName": "GerritProjectForCodestream",
    "branch": "master",
    "configurations": [
        {
            "pipelineLink": "/pipeline/api/pipelines/pipelineLink",
            "pipelineName": "Gerrit-Pipeline",
            "input": "{\"GERRIT_CHANGE_URL\",\"http://gerritservertest.com/32432\"}",
            "comments": "Execution comment",
            "eventType": "change-merged",
            "owners": [
                "string"
            ],
            "verifiedLabel": "Verified +1",
            "failureComment": "Execution failed",
            "successComment": "Execution successful"
        }
    ],
    "enabled": true,
    "needsReset": false,
    "inclusions": [
        {
            "type": "path",
            "value": "/root/**"
        }
    ],
    "exclusions": [
        {
            "type": "path",
            "value": "/root/**"
        }
    ],
    "prioritizeExclusion": true
}
string
name
Optional

name

string
kind
Optional

kind

array of string
tags
Optional

tags

string
_link
Optional

_link

string
_createdBy
Optional

_createdBy

string
_updatedBy
Optional

updatedBy

integer As int64 As int64
_updateTimeInMicros
Optional

_updateTimeInMicros

string
project
Optional

project

string
providerLink
Optional

providerLink

string
projectName
Optional

projectName

string
branch
Optional

branch

configurations
Optional

configurations

boolean
enabled
Optional

enabled

boolean
needsReset
Optional

needsReset

array of FileFilter
inclusions
Optional

inclusions

array of FileFilter
exclusions
Optional

exclusions

boolean
prioritizeExclusion
Optional

prioritizeExclusion


404

Not Found

Operation doesn't return any data structure

500

Error

Operation doesn't return any data structure