Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Create Connector

view on GitHub

Create Connector is available as both a pgutil command and an HTTP Request, and will create a Connector.

Command Specification (CLI)

The connectors create command is used to create a Connector.

The --name, --type and --url options are always required.

Creating a connector requires the Connector name (e.g. myNugetConnector), type (e.g. NuGet) and the URL (e.g. https://proget.connector.local):

pgutil connectors create --name=myNugetConnector --type=NuGet --url=https://proget.connector.local

HTTP Request Specification

To create a Connector, simply POST to the URL with an appropriate API Key and a ProgetConnector (see ProGetConnector.cs) object as the request body.

POST/PUT /api/management/connectors/create

HTTP Response Specification

A Connector object will be returned on a successful 200 response. A 403 response indicates a missing, unknown, or unauthorized API Key.