Export Using GET

Export Using GET

Exports a given pipeline and endpoints referred by it or pipelines/ endpoints as 'YAML' in given project

Request
URI
GET
https://{api_host}/codestream/api/export
COPY
Query Parameters
string
endpoints
Optional
Constraints: default: Jenkins, Jira

Name of the Endpoints to be exported

string
pipeline
Optional
Constraints: default: Deploy Production

Name of the Pipeline to be exported

string
pipelines
Optional
Constraints: default: Deploy Production, Dev

Name of the Pipelines to be exported

string
project
Optional
Constraints: default: Project-1

Name of the Project to which Endpoint/Pipeline belongs to

string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

401

Unauthorized Request

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

500

Server Error

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/codestream/api/export