Skip to content

Latest commit

 

History

History
390 lines (225 loc) · 11.1 KB

File metadata and controls

390 lines (225 loc) · 11.1 KB

\V1Api

All URIs are relative to https://sourcepipeline.apigw.ntruss.com/api/v1

Method HTTP request Description
GetProjects Get /project
CreateProject Post /project
DeleteProject Delete /project/{projectId}
StartProject Post /project/{projectId}/do
GetProject Get /project/{projectId}
GetProjectHistories Get /project/{projectId}/history
CancelProject Post /project/{projectId}/history/{historyId}/cancel
GetProjectHistory Get /project/{projectId}/history/{historyId}
ChangeProject Patch /project/{projectId}
GetSourcebuildProjects Get /sourcebuild/project
GetSourcecommitRepositories Get /sourcecommit/repository
GetSourcecommitRepositoryBranches Get /sourcecommit/repository/{repositoryName}/branch
GetSourcedeployProjects Get /sourcedeploy/project
GetSourcedeployProjectStages Get /sourcedeploy/project/{projectId}/stage
GetSourcedeployProjectScenarios Get /sourcedeploy/project/{projectId}/stage/{stageId}/scenario
GetTimeZone Get /trigger/timezone

GetProjects

GetProjectListResponse GetProjects()

Return type

*GetProjectListResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

CreateProject

CreateProjectResponse CreateProject(createProject)

Required Parameters

Name Type Description Notes
createProject *CreateProject

Return type

*CreateProjectResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

DeleteProject

DeleteProjectResponse DeleteProject(projectId)

Required Parameters

Name Type Description Notes
projectId string projectId

Return type

*DeleteProjectResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

StartProject

StartPipelineResponse StartProject(projectId)

Required Parameters

Name Type Description Notes
projectId string projectId

Return type

*StartPipelineResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetProject

GetProjectDetailResponse GetProject(projectId)

Required Parameters

Name Type Description Notes
projectId string projectId

Return type

*GetProjectDetailResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetProjectHistories

GetHistoryListResponse GetProjectHistories(projectId)

Required Parameters

Name Type Description Notes
projectId string projectId

Return type

*GetHistoryListResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

CancelProject

CancelPipelineResponse CancelProject(projectId, historyId)

Required Parameters

Name Type Description Notes
projectId string projectId historyId

Return type

*CancelPipelineResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetProjectHistory

GetHistoryDetailResponse GetProjectHistory(projectId, historyId)

Required Parameters

Name Type Description Notes
projectId string projectId historyId

Return type

*GetHistoryDetailResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ChangeProject

ChangeProjectReponse ChangeProject(changeProject, projectId)

Required Parameters

Name Type Description Notes
changeProject *ChangeProject projectId

Return type

*ChangeProjectReponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSourcebuildProjects

GetSbProjectResponse GetSourcebuildProjects

Required Parameters

Return type

*GetSbProjectResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSourcecommitRepositories

GetScRepositoryResposne GetSourcecommitRepositories

Return type

*GetScRepositoryResposne

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSourcecommitRepositoryBranches

GetScBranchResponse GetSourcecommitRepositoryBranches(repositoryName)

Required Parameters

Name Type Description Notes
repositoryName string repositoryName

Return type

*GetScBranchResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSourcedeployProjects

GetSdProjectResponse GetSourcedeployProjects

Return type

*GetSdProjectResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSourcedeployProjectStages

GetSdStageResponse GetSourcedeployProjectStages(projectId)

Required Parameters

Name Type Description Notes
projectId string projectId

Return type

*GetSdStageResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSourcedeployProjectScenarios

GetSdScenarioResponse GetSourcedeployProjectScenarios(projectId, stageId)

Required Parameters

Name Type Description Notes
projectId string projectId stageId

Return type

*GetSdScenarioResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetTimeZone

GetTimeZone GetTimeZone

Return type

*GetTimeZone

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]