Pipelines - Create
Create a pipeline.
POST https://dev.azure.com/{organization}/{project}/_apis/pipelines?api-version=6.0-preview.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
project
|
path | True |
string |
Project ID or project name |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '6.0-preview.1' to use this version of the api. |
Request Body
Name | Type | Description |
---|---|---|
configuration |
Configuration parameters of the pipeline. |
|
folder |
string |
Folder of the pipeline. |
name |
string |
Name of the pipeline. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
accessToken
Personal access token. Use any value for the user name and the token as the password.
Type:
basic
Definitions
Name | Description |
---|---|
Configuration |
Type of configuration. |
Create |
Configuration parameters of the pipeline. |
Create |
Parameters to create a pipeline. |
Pipeline |
Definition of a pipeline. |
Pipeline |
|
Reference |
The class to represent a collection of REST reference links. |
ConfigurationType
Type of configuration.
Name | Type | Description |
---|---|---|
designerHyphenJson |
string |
Designer-JSON. |
designerJson |
string |
Designer JSON. |
justInTime |
string |
Just-in-time. |
unknown |
string |
Unknown type. |
yaml |
string |
YAML. |
CreatePipelineConfigurationParameters
Configuration parameters of the pipeline.
Name | Type | Description |
---|---|---|
type |
Type of configuration. |
CreatePipelineParameters
Parameters to create a pipeline.
Name | Type | Description |
---|---|---|
configuration |
Configuration parameters of the pipeline. |
|
folder |
string |
Folder of the pipeline. |
name |
string |
Name of the pipeline. |
Pipeline
Definition of a pipeline.
Name | Type | Description |
---|---|---|
_links |
The class to represent a collection of REST reference links. |
|
configuration | ||
folder |
string |
Pipeline folder |
id |
integer |
Pipeline ID |
name |
string |
Pipeline name |
revision |
integer |
Revision number |
url |
string |
URL of the pipeline |
PipelineConfiguration
Name | Type | Description |
---|---|---|
type |
ReferenceLinks
The class to represent a collection of REST reference links.
Name | Type | Description |
---|---|---|
links |
object |
The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only. |