All URIs are relative to https://app.harness.io/gateway
Method | HTTP request | Description |
---|---|---|
CreateVariables | Post /pipeline/api/pipelines/variables | Get all the Variables which can be used as expression in the Pipeline. |
DeletePipeline | Delete /pipeline/api/pipelines/{pipelineIdentifier} | Deletes a Pipeline |
GetExecutionNode | Get /pipeline/api/pipelines/getExecutionNode | Get the Execution Node by Execution Id |
GetExpandedPipelineJSON | Get /pipeline/api/pipelines/expandedJSON/{pipelineIdentifier} | Gets Pipeline JSON with extra info for some fields |
GetNotificationSchema | Get /pipeline/api/pipelines/notification | |
GetPipeline | Get /pipeline/api/pipelines/{pipelineIdentifier} | Gets a Pipeline by identifier |
GetPipelineList | Post /pipeline/api/pipelines/list | List of pipelines |
GetPipelineSummary | Get /pipeline/api/pipelines/summary/{pipelineIdentifier} | Gets pipeline summary by pipeline identifier |
GetPipelinesCount | Post /pipeline/api/landingDashboards/pipelinesCount | |
GetPmsStepNodes | Get /pipeline/api/pipelines/dummy-pmsSteps-api | |
GetSteps | Get /pipeline/api/pipelines/steps | Gets all the Steps for given Category |
GetStepsV2 | Post /pipeline/api/pipelines/v2/steps | Gets all the Steps for given Category (V2 Version) |
GetTemplateStepNode | Get /pipeline/api/pipelines/dummy-templateStep-api | |
PostPipeline | Post /pipeline/api/pipelines | Create a Pipeline |
PostPipelineV2 | Post /pipeline/api/pipelines/v2 | Create a Pipeline API (V2 Version) |
RefreshFFCache | Get /pipeline/api/pipelines/ffCache/refresh | Refresh the feature flag cache |
UpdatePipeline | Put /pipeline/api/pipelines/{pipelineIdentifier} | Update a Pipeline by identifier |
UpdatePipelineV2 | Put /pipeline/api/pipelines/v2/{pipelineIdentifier} | Updates a Pipeline by identifier (V2 Version) |
ResponseDtoVariableMergeServiceResponse CreateVariables(ctx, body, accountIdentifier, orgIdentifier, projectIdentifier) Get all the Variables which can be used as expression in the Pipeline.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | Pipeline YAML | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. |
ResponseDtoVariableMergeServiceResponse
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoBoolean DeletePipeline(ctx, accountIdentifier, orgIdentifier, projectIdentifier, pipelineIdentifier, optional) Deletes a Pipeline
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
pipelineIdentifier | string | Pipeline Identifier | |
optional | *PipelinesApiDeletePipelineOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiDeletePipelineOpts struct
Name | Type | Description | Notes |
---|
ifMatch | optional.String| Version of entity to match | branch | optional.String| Branch Name | repoIdentifier | optional.String| Git Sync Config Id | rootFolder | optional.String| Default Folder Path | filePath | optional.String| File Path | commitMsg | optional.String| Commit Message | lastObjectId | optional.String| Last Object Id |
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoExecutionNode GetExecutionNode(ctx, accountIdentifier, orgIdentifier, projectIdentifier, nodeExecutionId) Get the Execution Node by Execution Id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
nodeExecutionId | string | Id for the corresponding Node Execution |
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoPipelineExpandedJson GetExpandedPipelineJSON(ctx, accountIdentifier, orgIdentifier, projectIdentifier, pipelineIdentifier, optional) Gets Pipeline JSON with extra info for some fields
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
pipelineIdentifier | string | Pipeline Identifier | |
optional | *PipelinesApiGetExpandedPipelineJSONOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiGetExpandedPipelineJSONOpts struct
Name | Type | Description | Notes |
---|
branch | optional.String| Branch Name | repoIdentifier | optional.String| Git Sync Config Id | getDefaultFromOtherRepo | optional.Bool| if true, return all the default entities |
ResponseDtoPipelineExpandedJson
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetNotificationSchema(ctx, )
This endpoint does not need any parameter.
(empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtopmsPipelineResponse GetPipeline(ctx, accountIdentifier, orgIdentifier, projectIdentifier, pipelineIdentifier, optional) Gets a Pipeline by identifier
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
pipelineIdentifier | string | Pipeline Identifier | |
optional | *PipelinesApiGetPipelineOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiGetPipelineOpts struct
Name | Type | Description | Notes |
---|
branch | optional.String| Branch Name | repoIdentifier | optional.String| Git Sync Config Id | getDefaultFromOtherRepo | optional.Bool| if true, return all the default entities |
ResponseDtopmsPipelineResponse
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoPagePmsPipelineSummaryResponse GetPipelineList(ctx, accountIdentifier, orgIdentifier, projectIdentifier, optional) List of pipelines
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
optional | *PipelinesApiGetPipelineListOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiGetPipelineListOpts struct
Name | Type | Description | Notes |
---|
body | optional.Interface of FilterProperties| This is the body for the filter properties for listing pipelines. | page | optional.| The number of the page to fetch | [default to 0] size | optional.| The number of the elements to fetch | [default to 25] sort | optional.Interface of []string| Sort criteria for the elements. | searchTerm | optional.| Search term to filter out pipelines based on pipeline name, identifier, tags. | module | optional.| | filterIdentifier | optional.| | branch | optional.| Branch Name | repoIdentifier | optional.| Git Sync Config Id | getDefaultFromOtherRepo | optional.| if true, return all the default entities | getDistinctFromBranches | optional.| Boolean flag to get distinct pipelines from all branches. |
ResponseDtoPagePmsPipelineSummaryResponse
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtopmsPipelineSummaryResponse GetPipelineSummary(ctx, accountIdentifier, orgIdentifier, projectIdentifier, pipelineIdentifier, optional) Gets pipeline summary by pipeline identifier
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
pipelineIdentifier | string | Pipeline Identifier | |
optional | *PipelinesApiGetPipelineSummaryOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiGetPipelineSummaryOpts struct
Name | Type | Description | Notes |
---|
branch | optional.String| Branch Name | repoIdentifier | optional.String| Git Sync Config Id | getDefaultFromOtherRepo | optional.Bool| if true, return all the default entities |
ResponseDtopmsPipelineSummaryResponse
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoPipelinesCount GetPipelinesCount(ctx, body, accountIdentifier, startTime, endTime)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | LandingDashboardRequestPms | ||
accountIdentifier | string | ||
startTime | int64 | ||
endTime | int64 |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetPmsStepNodes(ctx, )
This endpoint does not need any parameter.
(empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoStepCategory GetSteps(ctx, category, module, optional) Gets all the Steps for given Category
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
category | string | Step Category for which you needs all its steps | |
module | string | Module of the step to which it belongs | |
optional | *PipelinesApiGetStepsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiGetStepsOpts struct
Name | Type | Description | Notes |
---|
accountId | optional.String| Account Identifier for the entity. |
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoStepCategory GetStepsV2(ctx, body, accountId) Gets all the Steps for given Category (V2 Version)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | StepPalleteFilterWrapper | Step Pallete Filter request body | |
accountId | string | Account Identifier for the entity. |
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetTemplateStepNode(ctx, )
This endpoint does not need any parameter.
(empty response body)
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoString PostPipeline(ctx, body, accountIdentifier, orgIdentifier, projectIdentifier, optional) Create a Pipeline
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | Pipeline YAML | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
optional | *PipelinesApiPostPipelineOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiPostPipelineOpts struct
Name | Type | Description | Notes |
---|
branch | optional.| Branch Name | repoIdentifier | optional.| Git Sync Config Id | rootFolder | optional.| Default Folder Path | filePath | optional.| File Path | commitMsg | optional.| File Path | isNewBranch | optional.| Checks the new branch | [default to false] baseBranch | optional.| Default Branch |
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoPipelineSaveResponse PostPipelineV2(ctx, body, accountIdentifier, orgIdentifier, projectIdentifier, optional) Create a Pipeline API (V2 Version)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | Pipeline YAML | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
optional | *PipelinesApiPostPipelineV2Opts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiPostPipelineV2Opts struct
Name | Type | Description | Notes |
---|
branch | optional.| Branch Name | repoIdentifier | optional.| Git Sync Config Id | rootFolder | optional.| Default Folder Path | filePath | optional.| File Path | commitMsg | optional.| File Path | isNewBranch | optional.| Checks the new branch | [default to false] baseBranch | optional.| Default Branch |
ResponseDtoPipelineSaveResponse
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoBoolean RefreshFFCache(ctx, accountIdentifier) Refresh the feature flag cache
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the entity. |
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoString UpdatePipeline(ctx, body, accountIdentifier, orgIdentifier, projectIdentifier, pipelineIdentifier, optional) Update a Pipeline by identifier
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | Pipeline YAML to be updated | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
pipelineIdentifier | string | Pipeline Identifier | |
optional | *PipelinesApiUpdatePipelineOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiUpdatePipelineOpts struct
Name | Type | Description | Notes |
---|
ifMatch | optional.| Version of entity to match | branch | optional.| Branch Name | repoIdentifier | optional.| Git Sync Config Id | rootFolder | optional.| Default Folder Path | filePath | optional.| Default Folder Path | commitMsg | optional.| Commit Message | lastObjectId | optional.| Last Object Id | baseBranch | optional.| Default Branch |
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoPipelineSaveResponse UpdatePipelineV2(ctx, body, accountIdentifier, orgIdentifier, projectIdentifier, pipelineIdentifier, optional) Updates a Pipeline by identifier (V2 Version)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | Pipeline YAML to be updated | |
accountIdentifier | string | Account Identifier for the entity. | |
orgIdentifier | string | Organization Identifier for the entity. | |
projectIdentifier | string | Project Identifier for the entity. | |
pipelineIdentifier | string | Pipeline Identifier | |
optional | *PipelinesApiUpdatePipelineV2Opts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PipelinesApiUpdatePipelineV2Opts struct
Name | Type | Description | Notes |
---|
ifMatch | optional.| Version of entity to match | branch | optional.| Branch Name | repoIdentifier | optional.| Git Sync Config Id | rootFolder | optional.| Default Folder Path | filePath | optional.| Default Folder Path | commitMsg | optional.| Commit Message | lastObjectId | optional.| Last Object Id | baseBranch | optional.| Default Branch |
ResponseDtoPipelineSaveResponse
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]