Create Gerrit Provider

Create Gerrit Provider

Create Gerrit Provider

Request
URI
POST
https://{api_host}/pipeline/api/gerrit-providers
COPY
Responses
200

OK

Returns GerritProvider 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",
    "serverUri": "http://localhost:port/gerritserver",
    "serverName": "Test gerrit server",
    "user": "Test user name",
    "password": "TestPassword1#",
    "privateKey": "-----BEGIN RSA PRIVATE KEY-----\n",
    "passPhrase": "TestPassword1#",
    "refreshToken": "sdfwdsfdsvvxcfghdfgdgsdvf",
    "leMansAgent": "pipeline-agent"
}
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
serverUri
Optional

serverUri

string
serverName
Optional

serverName

string
user
Optional

user

string
password
Optional

password

string
privateKey
Optional

privateKey

string
passPhrase
Optional

privateKeyPassword

string
refreshToken
Optional

refreshToken

string
leMansAgent
Optional

agent


500

Error

Operation doesn't return any data structure