Validate Gerrit Listener Using POST
Validate a Gerrit Listener
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
{
"apiToken": "cKNNVCSHijnaxlrfnVsxUYr6wM2g5Bg11tfnotmWb9XdA5kpUCvI2ubJojTIGp9g",
"connected": true,
"description": "string",
"endpoint": "Gerrit-Endpoint",
"name": "My-Name",
"project": "My-Project"
}
This token is used to authenticate when calling VMware Cloud Services APIs. These tokens are scoped within the organization.
Indicates whether the connection with the Gerrit Server to start receiving events is created or not.
A human-friendly description.
The name of the Gerrit Endpoint.
A human-friendly name used as an identifier in APIs that support this option
The project this entity belongs to.
'Success' with Gerrit Listener Validation
{
"_createTimeInMicros": 1568625938000000,
"_createdBy": "exampleuser",
"_expiresAt": "2019-09-16 09:25:38.065065+00",
"_link": "/codestream/api/<prefix>/8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"_reason": "Validation Failed due to invalid credentials",
"_updateTimeInMicros": 1568625938000000,
"_updatedBy": "exampleuser",
"apiToken": "cKNNVCSHijnaxlrfnVsxUYr6wM2g5Bg11tfnotmWb9XdA5kpUCvI2ubJojTIGp9g",
"connected": true,
"createdAt": "2019-09-16 09:25:38.065065+00",
"createdBy": "exampleuser",
"description": "string",
"endpoint": "Gerrit-Endpoint",
"id": "8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"name": "My-Name",
"project": "My-Project",
"updatedAt": "2019-09-16 09:25:38.065065+00",
"updatedBy": "exampleuser",
"version": "v1"
}
This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
This field is provided for backward compatibility. Contains the same value as the 'createdBy' field
Date when the API token will expire.
Partial URL that provides details of the resource.
Contains reasons for validation failure.
This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
This field is provided for backward compatibility. Contains the same value as the 'updatedBy' field
This token is used to authenticate when calling VMware Cloud Services APIs. These tokens are scoped within the organization.
Indicates whether the connection with the Gerrit Server to start receiving events is created or not.
Date when the entity was created. The date is in ISO 8601 with time zone
The user that created this entity
A human-friendly description.
The name of the Gerrit Endpoint.
The id of this resource.
A human-friendly name used as an identifier in APIs that support this option
The project this entity belongs to.
Date when the entity was last updated. The date is in ISO 8601 with time zone.
The user that last updated this entity
Version of the resource.
Unauthorized Request
Forbidden
Not Found
Server Error