Skip to content

Latest commit

 

History

History
442 lines (251 loc) · 12 KB

File metadata and controls

442 lines (251 loc) · 12 KB

\V1Api

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

Method HTTP request Description
GetContainerRegistry Get /containerregistry/registry
GetComputeEnv Get /env/compute
GetDockerEnv Get /env/docker
GetOsEnv Get /env/os
GetRuntimeEnv Get /env/os/{osId}/runtime
GetRuntimeVersionEnv Get /env/os/{osId}/runtime/{runtimeId}/version
GetObjectstorageBucket Get /objectstorage/bucket
GetProjects Get /project
CreateProject Post /project
CancelBuild Delete /project/{projectId}/build
StartBuild Post /project/{projectId}/build
DeleteProject Delete /project/{projectId}
GetProject Get /project/{projectId}
GetBuildHistory Get /project/{projectId}/history
ChangeProject Patch /project/{projectId}
GetSourcecommitRepositories Get /sourcecommit/repository
GetSourcecommitRepositoryBranches Get /sourcecommit/repository/{repositoryName}/branch

GetContainerRegistry

GetContainerRegistryResponse GetContainerRegistry()

Required Parameters

This endpoint does not need any parameter.

Return type

*GetContainerRegistryResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

GetComputeEnv

GetComputeEnvResponse GetComputeEnv()

Required Parameters

This endpoint does not need any parameter.

Return type

*GetComputeEnvResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

GetDockerEnv

GetDockerEnvResponse GetDockerEnv()

Required Parameters

This endpoint does not need any parameter.

Return type

*GetDockerEnvResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

GetOsEnv

GetOsEnvResponse GetOsEnv()

Required Parameters

This endpoint does not need any parameter.

Return type

*GetOsEnvResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

GetRuntimeEnv

GetRuntimeEnvResponse GetRuntimeEnv(osId)

Required Parameters

Name Type Description Notes
osId string osId

Return type

*GetRuntimeEnvResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

GetRuntimeVersionEnv

GetRuntimeVersionEnvResponse GetRuntimeVersionEnv(osId, runtimeId)

Required Parameters

Name Type Description Notes
osId string osId runtimeId

Return type

*GetRuntimeVersionEnvResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

GetObjectstorageBucket

GetObjsBucketResponse GetObjectstorageBucket()

Required Parameters

This endpoint does not need any parameter.

Return type

*GetObjsBucketResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

GetProjects

GetProjectListResponse GetProjects(optional)

Optional Parameters

Optional parameters are passed through a map[string]interface{}. The keys are pageNo, pageSize and projectName.

Name Type Description Notes
pageNo string Page No
pageSize string Page Size
projectName string Project Name

Return type

*GetProjectListResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

CreateProject

CreateProjectResponse CreateProject(body)

Required Parameters

Name Type Description Notes
body *CreateProject

Return type

*CreateProjectResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

CancelBuild

CancelBuild(body, projectId)

Required Parameters

Name Type Description Notes
body *CancelBuild projectId

Return type

(empty response body)

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

StartBuild

StartBuildResponse StartBuild(projectId)

Required Parameters

Name Type Description Notes
projectId string projectId

Return type

*StartBuildResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

DeleteProject

DeleteProject(projectId)

Required Parameters

Name Type Description Notes
projectId string projectId

Return type

(empty response body)

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[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: application/json
  • Accept: application/json

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

GetBuildHistory

GetBuildHistoryResponse GetBuildHistory(projectId)

Required Parameters

Name Type Description Notes
projectId string projectId

Return type

*GetBuildHistoryResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

ChangeProject

CreateProjectResponse ChangeProject(body, projectId)

Required Parameters

Name Type Description Notes
body *ChangeProject projectId

Return type

*CreateProjectResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

GetSourcecommitRepositories

GetScRepositoryResponse GetSourcecommitRepositories()

Required Parameters

This endpoint does not need any parameter.

Return type

*GetScRepositoryResponse

Authorization

x-ncp-iam

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[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: application/json
  • Accept: application/json

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