github.com/NaverCloudPlatform/ncloud-sdk-go-v2@v1.6.13/services/vsourcedeploy/docs/V1Api.md (about)

     1  # \V1Api
     2  
     3  All URIs are relative to *https://vpcsourcedeploy.apigw.ntruss.com/api/v1*
     4  
     5  | Method                                                                        | HTTP request                                                                       | Description |
     6  | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ----------- |
     7  | [**GetAutoscalingGroupTargetGroup**](V1Api.md#GetAutoscalingGroupTargetGroup) | **Get** /autoscaling/{autoscalingName}                                             |
     8  | [**GetAutoscalingGroups**](V1Api.md#GetAutoscalingGroups)                     | **Get** /autoscaling                                                               |
     9  | [**GetKubernetesClusters**](V1Api.md#GetKubernetesClusters)                   | **Get** /kubernetes/cluster                                                        |
    10  | [**GetObjectstorageObjects**](V1Api.md#GetObjectstorageObjects)               | **Get** /objectstorage/bucket/{bucketName}                                         |
    11  | [**GetObjectstorageBuckets**](V1Api.md#GetObjectstorageBuckets)               | **Get** /objectstorage/bucket                                                      |
    12  | [**GetProjects**](V1Api.md#GetProjects)                                       | **Get** /project                                                                   |
    13  | [**CreateProject**](V1Api.md#CreateProject)                                   | **Post** /project                                                                  |
    14  | [**DeleteProject**](V1Api.md#DeleteProject)                                   | **Delete** /project/{projectId}                                                    |
    15  | [**GetHistories**](V1Api.md#GetHistories)                                     | **Get** /project/{projectId}/history                                               |
    16  | [**AcceptDeployApproval**](V1Api.md#AcceptDeployApproval)                     | **Post** /project/{projectId}/history/{historyId}/approval/accept                  |
    17  | [**RejectDeployApproval**](V1Api.md#RejectDeployApproval)                     | **Post** /project/{projectId}/history/{historyId}/approval/reject                  |
    18  | [**AcceptDeployCanary**](V1Api.md#AcceptDeployCanary)                         | **Post** /project/{projectId}/history/{historyId}/canary/accept                    |
    19  | [**RejectDeployCanary**](V1Api.md#RejectDeployCanary)                         | **Post** /project/{projectId}/history/{historyId}/canary/reject                    |
    20  | [**CancelDeploy**](V1Api.md#CancelDeploy)                                     | **Post** /project/{projectId}/history/{historyId}/cancel                           |
    21  | [**GetHistory**](V1Api.md#GetHistory)                                         | **Get** /project/{projectId}/history/{historyId}                                   |
    22  | [**GetCanaryReport**](V1Api.md#GetCanaryReport)                               | **Get** /project/{projectId}/history/{historyId}/report/{endtime}                  |
    23  | [**GetCanaryReportEndtime**](V1Api.md#GetCanaryReportEndtime)                 | **Get** /project/{projectId}/history/{historyId}/report                            |
    24  | [**GetStages**](V1Api.md#GetStages)                                           | **Get** /project/{projectId}/stage                                                 |
    25  | [**CreateStage**](V1Api.md#CreateStage)                                       | **Post** /project/{projectId}/stage                                                |
    26  | [**DeleteStage**](V1Api.md#DeleteStage)                                       | **Delete** /project/{projectId}/stage/{stageId}                                    |
    27  | [**GetStage**](V1Api.md#GetStage)                                             | **Get** /project/{projectId}/stage/{stageId}                                       |
    28  | [**ChangeStage**](V1Api.md#ChangeStage)                                       | **Patch** /project/{projectId}/stage/{stageId}                                     |
    29  | [**GetScenarioes**](V1Api.md#GetScenarioes)                                   | **Get** /project/{projectId}/stage/{stageId}/scenario                              |
    30  | [**CreateScenario**](V1Api.md#CreateScenario)                                 | **Post** /project/{projectId}/stage/{stageId}/scenario                             |
    31  | [**DeleteScenario**](V1Api.md#DeleteScenario)                                 | **Delete** /project/{projectId}/stage/{stageId}/scenario/{scenarioId}              |
    32  | [**Deploy**](V1Api.md#Deploy)                                                 | **Post** /project/{projectId}/stage/{stageId}/scenario/{scenarioId}/deploy         |
    33  | [**DeployRequest**](V1Api.md#DeployRequest)                                   | **Post** /project/{projectId}/stage/{stageId}/scenario/{scenarioId}/deploy/request |
    34  | [**GetScenario**](V1Api.md#GetScenario)                                       | **Get** /project/{projectId}/stage/{stageId}/scenario/{scenarioId}                 |
    35  | [**ChangeScenario**](V1Api.md#ChangeScenario)                                 | **Patch** /project/{projectId}/stage/{stageId}/scenario/{scenarioId}               |
    36  | [**GetServers**](V1Api.md#GetServers)                                         | **Get** /server                                                                    |
    37  | [**GetSourcebuildProjects**](V1Api.md#GetSourcebuildProjects)                 | **Get** /sourcebuild/project                                                       |
    38  | [**GetSourcecommitRepositories**](V1Api.md#GetSourcecommitRepositories)       | **Get** /sourcecommit/repository                                                   |
    39  | [**GetSourceCommitBranches**](V1Api.md#GetSourceCommitBranches)               | **Get** /sourcecommit/repository/{repositoryName}/branch                           |
    40  
    41  # **GetAutoscalingGroupTargetGroup**
    42  
    43  > GetTargetGroupListResponse GetAutoscalingGroupTargetGroup(autoscalingName)
    44  
    45  ### Required Parameters
    46  
    47  | Name                | Type       | Description     | Notes |
    48  | ------------------- | ---------- | --------------- | ----- |
    49  | **autoscalingName** | **string** | autoscalingName |
    50  
    51  ### Return type
    52  
    53  \*[**GetTargetGroupListResponse**](GetTargetGroupListResponse.md)
    54  
    55  ### Authorization
    56  
    57  [x-ncp-iam](../README.md#x-ncp-iam)
    58  
    59  ### HTTP request headers
    60  
    61  -   **Content-Type**: Not defined
    62  -   **Accept**: Not defined
    63  
    64  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
    65  
    66  # **GetAutoscalingGroups**
    67  
    68  > GetAutoScalingGroupListResponse GetAutoscalingGroups()
    69  
    70  ### Required Parameters
    71  
    72  This endpoint does not need any parameter.
    73  
    74  ### Return type
    75  
    76  \*[**GetAutoScalingGroupListResponse**](GetAutoScalingGroupListResponse.md)
    77  
    78  ### Authorization
    79  
    80  [x-ncp-iam](../README.md#x-ncp-iam)
    81  
    82  ### HTTP request headers
    83  
    84  -   **Content-Type**: Not defined
    85  -   **Accept**: Not defined
    86  
    87  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
    88  
    89  # **GetKubernetesClusters**
    90  
    91  > GetKubernetesServiceClusterListResponse GetKubernetesClusters()
    92  
    93  ### Required Parameters
    94  
    95  This endpoint does not need any parameter.
    96  
    97  ### Return type
    98  
    99  \*[**GetKubernetesServiceClusterListResponse**](GetKubernetesServiceClusterListResponse.md)
   100  
   101  ### Authorization
   102  
   103  [x-ncp-iam](../README.md#x-ncp-iam)
   104  
   105  ### HTTP request headers
   106  
   107  -   **Content-Type**: Not defined
   108  -   **Accept**: Not defined
   109  
   110  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   111  
   112  # **GetObjectstorageObjects**
   113  
   114  > GetObjectStorageObjectListResponse GetObjectstorageObjects(bucketName)
   115  
   116  ### Required Parameters
   117  
   118  | Name           | Type       | Description | Notes |
   119  | -------------- | ---------- | ----------- | ----- |
   120  | **bucketName** | **string** | bucketName  |
   121  
   122  ### Return type
   123  
   124  \*[**GetObjectStorageObjectListResponse**](GetObjectStorageObjectListResponse.md)
   125  
   126  ### Authorization
   127  
   128  [x-ncp-iam](../README.md#x-ncp-iam)
   129  
   130  ### HTTP request headers
   131  
   132  -   **Content-Type**: Not defined
   133  -   **Accept**: Not defined
   134  
   135  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   136  
   137  # **GetObjectstorageBuckets**
   138  
   139  > GetObjectStorageBucketListResponse GetObjectstorageBuckets()
   140  
   141  ### Required Parameters
   142  
   143  This endpoint does not need any parameter.
   144  
   145  ### Return type
   146  
   147  \*[**GetObjectStorageBucketListResponse**](GetObjectStorageBucketListResponse.md)
   148  
   149  ### Authorization
   150  
   151  [x-ncp-iam](../README.md#x-ncp-iam)
   152  
   153  ### HTTP request headers
   154  
   155  -   **Content-Type**: Not defined
   156  -   **Accept**: Not defined
   157  
   158  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   159  
   160  # **GetProjects**
   161  
   162  > GetProjectListResponse GetProjects(optional)
   163  
   164  ### Required Parameters
   165  
   166  | Name         | Type                       | Description         | Notes                |
   167  | ------------ | -------------------------- | ------------------- | -------------------- |
   168  | **optional** | **map[string]interface{}** | optional parameters | nil if no parameters |
   169  
   170  ### Optional Parameters
   171  
   172  Optional parameters are passed through a map[string]interface{}.
   173  
   174  | Name            | Type       | Description | Notes |
   175  | --------------- | ---------- | ----------- | ----- |
   176  | **pageNo**      | **string** |
   177  | **pageSize**    | **string** |
   178  | **projectName** | **string** |
   179  
   180  ### Return type
   181  
   182  \*[**GetProjectListResponse**](GetProjectListResponse.md)
   183  
   184  ### Authorization
   185  
   186  [x-ncp-iam](../README.md#x-ncp-iam)
   187  
   188  ### HTTP request headers
   189  
   190  -   **Content-Type**: Not defined
   191  -   **Accept**: Not defined
   192  
   193  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   194  
   195  # **CreateProject**
   196  
   197  > CreateUpdateResponse CreateProject(projectCreate)
   198  
   199  ### Required Parameters
   200  
   201  | Name              | Type                                    | Description   | Notes |
   202  | ----------------- | --------------------------------------- | ------------- | ----- |
   203  | **projectCreate** | **[\*CreateProject](CreateProject.md)** | 프로젝트 생성 |
   204  
   205  ### Return type
   206  
   207  \*[**CreateUpdateResponse**](CreateUpdateResponse.md)
   208  
   209  ### Authorization
   210  
   211  [x-ncp-iam](../README.md#x-ncp-iam)
   212  
   213  ### HTTP request headers
   214  
   215  -   **Content-Type**: Not defined
   216  -   **Accept**: Not defined
   217  
   218  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   219  
   220  # **DeleteProject**
   221  
   222  > OkResponse DeleteProject(projectId)
   223  
   224  ### Required Parameters
   225  
   226  | Name          | Type       | Description | Notes |
   227  | ------------- | ---------- | ----------- | ----- |
   228  | **projectId** | **string** | projectId   |
   229  
   230  ### Return type
   231  
   232  \*[**OkResponse**](OkResponse.md)
   233  
   234  ### Authorization
   235  
   236  [x-ncp-iam](../README.md#x-ncp-iam)
   237  
   238  ### HTTP request headers
   239  
   240  -   **Content-Type**: Not defined
   241  -   **Accept**: Not defined
   242  
   243  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   244  
   245  # **GetHistories**
   246  
   247  > GetDeployHistoryListResponse GetHistories(projectId, optional)
   248  
   249  ### Required Parameters
   250  
   251  | Name          | Type                       | Description         | Notes                |
   252  | ------------- | -------------------------- | ------------------- | -------------------- |
   253  | **projectId** | **string**                 | projectId           |
   254  | **optional**  | **map[string]interface{}** | optional parameters | nil if no parameters |
   255  
   256  ### Optional Parameters
   257  
   258  Optional parameters are passed through a map[string]interface{}.
   259  
   260  | Name          | Type       | Description | Notes |
   261  | ------------- | ---------- | ----------- | ----- |
   262  | **projectId** | **string** | projectId   |
   263  | **pageNo**    | **string** | 페이지 NO   |
   264  | **pageSize**  | **string** | 페이지 Size |
   265  
   266  ### Return type
   267  
   268  \*[**GetDeployHistoryListResponse**](GetDeployHistoryListResponse.md)
   269  
   270  ### Authorization
   271  
   272  [x-ncp-iam](../README.md#x-ncp-iam)
   273  
   274  ### HTTP request headers
   275  
   276  -   **Content-Type**: Not defined
   277  -   **Accept**: Not defined
   278  
   279  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   280  
   281  # **AcceptDeployApproval**
   282  
   283  > OkResponse AcceptDeployApproval(projectId, historyId)
   284  
   285  ### Required Parameters
   286  
   287  | Name          | Type       | Description | Notes |
   288  | ------------- | ---------- | ----------- | ----- |
   289  | **projectId** | **string** | projectId   |
   290  | **historyId** | **string** | historyId   |
   291  
   292  ### Return type
   293  
   294  \*[**OkResponse**](OkResponse.md)
   295  
   296  ### Authorization
   297  
   298  [x-ncp-iam](../README.md#x-ncp-iam)
   299  
   300  ### HTTP request headers
   301  
   302  -   **Content-Type**: Not defined
   303  -   **Accept**: Not defined
   304  
   305  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   306  
   307  # **RejectDeployApproval**
   308  
   309  > OkResponse RejectDeployApproval(projectId, historyId)
   310  
   311  ### Required Parameters
   312  
   313  | Name          | Type       | Description | Notes |
   314  | ------------- | ---------- | ----------- | ----- |
   315  | **projectId** | **string** | projectId   |
   316  | **historyId** | **string** | historyId   |
   317  
   318  ### Return type
   319  
   320  \*[**OkResponse**](OkResponse.md)
   321  
   322  ### Authorization
   323  
   324  [x-ncp-iam](../README.md#x-ncp-iam)
   325  
   326  ### HTTP request headers
   327  
   328  -   **Content-Type**: Not defined
   329  -   **Accept**: Not defined
   330  
   331  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   332  
   333  # **AcceptDeployCanary**
   334  
   335  > OkResponse AcceptDeployCanary(projectId, historyId)
   336  
   337  ### Required Parameters
   338  
   339  | Name          | Type       | Description | Notes |
   340  | ------------- | ---------- | ----------- | ----- |
   341  | **projectId** | **string** | projectId   |
   342  | **historyId** | **string** | historyId   |
   343  
   344  ### Return type
   345  
   346  \*[**OkResponse**](OkResponse.md)
   347  
   348  ### Authorization
   349  
   350  [x-ncp-iam](../README.md#x-ncp-iam)
   351  
   352  ### HTTP request headers
   353  
   354  -   **Content-Type**: Not defined
   355  -   **Accept**: Not defined
   356  
   357  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   358  
   359  # **RejectDeployCanary**
   360  
   361  > OkResponse RejectDeployCanary(projectId, historyId)
   362  
   363  ### Required Parameters
   364  
   365  | Name          | Type       | Description | Notes |
   366  | ------------- | ---------- | ----------- | ----- |
   367  | **projectId** | **string** | projectId   |
   368  | **historyId** | **string** | historyId   |
   369  
   370  ### Return type
   371  
   372  \*[**OkResponse**](OkResponse.md)
   373  
   374  ### Authorization
   375  
   376  [x-ncp-iam](../README.md#x-ncp-iam)
   377  
   378  ### HTTP request headers
   379  
   380  -   **Content-Type**: Not defined
   381  -   **Accept**: Not defined
   382  
   383  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   384  
   385  # **CancelDeploy**
   386  
   387  > OkResponse CancelDeploy(projectId, historyId)
   388  
   389  ### Required Parameters
   390  
   391  | Name          | Type       | Description | Notes |
   392  | ------------- | ---------- | ----------- | ----- |
   393  | **projectId** | **string** | projectId   |
   394  | **historyId** | **string** | historyId   |
   395  
   396  ### Return type
   397  
   398  \*[**OkResponse**](OkResponse.md)
   399  
   400  ### Authorization
   401  
   402  [x-ncp-iam](../README.md#x-ncp-iam)
   403  
   404  ### HTTP request headers
   405  
   406  -   **Content-Type**: Not defined
   407  -   **Accept**: Not defined
   408  
   409  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   410  
   411  # **GetHistory**
   412  
   413  > GetDeployHistoryDetailResponse GetHistory(projectId, historyId)
   414  
   415  ### Required Parameters
   416  
   417  | Name          | Type       | Description | Notes |
   418  | ------------- | ---------- | ----------- | ----- |
   419  | **projectId** | **string** | projectId   |
   420  | **historyId** | **string** | historyId   |
   421  
   422  ### Return type
   423  
   424  \*[**GetDeployHistoryDetailResponse**](GetDeployHistoryDetailResponse.md)
   425  
   426  ### Authorization
   427  
   428  [x-ncp-iam](../README.md#x-ncp-iam)
   429  
   430  ### HTTP request headers
   431  
   432  -   **Content-Type**: Not defined
   433  -   **Accept**: Not defined
   434  
   435  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   436  
   437  # **GetCanaryReport**
   438  
   439  > GetCanaryAnalysisReportResponse GetCanaryReport(projectId, historyId, endtime)
   440  
   441  ### Required Parameters
   442  
   443  | Name          | Type       | Description | Notes |
   444  | ------------- | ---------- | ----------- | ----- |
   445  | **projectId** | **string** | projectId   |
   446  | **historyId** | **string** | historyId   |
   447  | **endtime**   | **string** | endtime     |
   448  
   449  ### Return type
   450  
   451  \*[**GetCanaryAnalysisReportResponse**](GetCanaryAnalysisReportResponse.md)
   452  
   453  ### Authorization
   454  
   455  [x-ncp-iam](../README.md#x-ncp-iam)
   456  
   457  ### HTTP request headers
   458  
   459  -   **Content-Type**: Not defined
   460  -   **Accept**: Not defined
   461  
   462  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   463  
   464  # **GetCanaryReportEndtime**
   465  
   466  > GetCanaryAnalysisStageListResponse GetCanaryReportEndtime(projectId, historyId)
   467  
   468  ### Required Parameters
   469  
   470  | Name          | Type       | Description | Notes |
   471  | ------------- | ---------- | ----------- | ----- |
   472  | **projectId** | **string** | projectId   |
   473  | **historyId** | **string** | historyId   |
   474  
   475  ### Return type
   476  
   477  \*[**GetCanaryAnalysisStageListResponse**](GetCanaryAnalysisStageListResponse.md)
   478  
   479  ### Authorization
   480  
   481  [x-ncp-iam](../README.md#x-ncp-iam)
   482  
   483  ### HTTP request headers
   484  
   485  -   **Content-Type**: Not defined
   486  -   **Accept**: Not defined
   487  
   488  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   489  
   490  # **GetStages**
   491  
   492  > GetStageListResponse GetStages(projectId, optional)
   493  
   494  ### Required Parameters
   495  
   496  | Name          | Type                       | Description         | Notes                |
   497  | ------------- | -------------------------- | ------------------- | -------------------- |
   498  | **projectId** | **string**                 | projectId           |
   499  | **optional**  | **map[string]interface{}** | optional parameters | nil if no parameters |
   500  
   501  ### Optional Parameters
   502  
   503  Optional parameters are passed through a map[string]interface{}.
   504  
   505  | Name          | Type       | Description         | Notes |
   506  | ------------- | ---------- | ------------------- | ----- |
   507  | **projectId** | **string** | projectId           |
   508  | **pageNo**    | **string** | 페이지 NO           |
   509  | **pageSize**  | **string** | 페이지 Size         |
   510  | **stageName** | **string** | Stage 이름으로 검색 |
   511  
   512  ### Return type
   513  
   514  \*[**GetStageListResponse**](GetStageListResponse.md)
   515  
   516  ### Authorization
   517  
   518  [x-ncp-iam](../README.md#x-ncp-iam)
   519  
   520  ### HTTP request headers
   521  
   522  -   **Content-Type**: Not defined
   523  -   **Accept**: Not defined
   524  
   525  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   526  
   527  # **CreateStage**
   528  
   529  > CreateUpdateResponse CreateStage(stageCreate, projectId)
   530  
   531  ### Required Parameters
   532  
   533  | Name            | Type                                | Description | Notes |
   534  | --------------- | ----------------------------------- | ----------- | ----- |
   535  | **stageCreate** | **[\*CreateStage](CreateStage.md)** | stage 생성  |
   536  | **projectId**   | **string**                          | projectId   |
   537  
   538  ### Return type
   539  
   540  \*[**CreateUpdateResponse**](CreateUpdateResponse.md)
   541  
   542  ### Authorization
   543  
   544  [x-ncp-iam](../README.md#x-ncp-iam)
   545  
   546  ### HTTP request headers
   547  
   548  -   **Content-Type**: Not defined
   549  -   **Accept**: Not defined
   550  
   551  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   552  
   553  # **DeleteStage**
   554  
   555  > OkResponse DeleteStage(projectId, stageId)
   556  
   557  ### Required Parameters
   558  
   559  | Name          | Type       | Description | Notes |
   560  | ------------- | ---------- | ----------- | ----- |
   561  | **projectId** | **string** | projectId   |
   562  | **stageId**   | **string** | stageId     |
   563  
   564  ### Return type
   565  
   566  \*[**OkResponse**](OkResponse.md)
   567  
   568  ### Authorization
   569  
   570  [x-ncp-iam](../README.md#x-ncp-iam)
   571  
   572  ### HTTP request headers
   573  
   574  -   **Content-Type**: Not defined
   575  -   **Accept**: Not defined
   576  
   577  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   578  
   579  # **GetStage**
   580  
   581  > GetStageDetailResponse GetStage(projectId, stageId)
   582  
   583  ### Required Parameters
   584  
   585  | Name          | Type       | Description | Notes |
   586  | ------------- | ---------- | ----------- | ----- |
   587  | **projectId** | **string** | projectId   |
   588  | **stageId**   | **string** | stageId     |
   589  
   590  ### Return type
   591  
   592  \*[**GetStageDetailResponse**](GetStageDetailResponse.md)
   593  
   594  ### Authorization
   595  
   596  [x-ncp-iam](../README.md#x-ncp-iam)
   597  
   598  ### HTTP request headers
   599  
   600  -   **Content-Type**: Not defined
   601  -   **Accept**: Not defined
   602  
   603  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   604  
   605  # **ChangeStage**
   606  
   607  > CreateUpdateResponse ChangeStage(stageUpdate, projectId, stageId)
   608  
   609  ### Required Parameters
   610  
   611  | Name            | Type                                | Description | Notes |
   612  | --------------- | ----------------------------------- | ----------- | ----- |
   613  | **stageUpdate** | **[\*ChangeStage](ChangeStage.md)** | stage 수정  |
   614  | **projectId**   | **string**                          | projectId   |
   615  | **stageId**     | **string**                          | stageId     |
   616  
   617  ### Return type
   618  
   619  \*[**CreateUpdateResponse**](CreateUpdateResponse.md)
   620  
   621  ### Authorization
   622  
   623  [x-ncp-iam](../README.md#x-ncp-iam)
   624  
   625  ### HTTP request headers
   626  
   627  -   **Content-Type**: Not defined
   628  -   **Accept**: Not defined
   629  
   630  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   631  
   632  # **GetScenarioes**
   633  
   634  > GetScenarioListResponse GetScenarioes(projectId, stageId, optional)
   635  
   636  ### Required Parameters
   637  
   638  | Name          | Type                       | Description         | Notes                |
   639  | ------------- | -------------------------- | ------------------- | -------------------- |
   640  | **projectId** | **string**                 | projectId           |
   641  | **stageId**   | **string**                 | stageId             |
   642  | **optional**  | **map[string]interface{}** | optional parameters | nil if no parameters |
   643  
   644  ### Optional Parameters
   645  
   646  Optional parameters are passed through a map[string]interface{}.
   647  
   648  | Name             | Type       | Description            | Notes |
   649  | ---------------- | ---------- | ---------------------- | ----- |
   650  | **projectId**    | **string** | projectId              |
   651  | **stageId**      | **string** | stageId                |
   652  | **pageNo**       | **string** | 페이지 NO              |
   653  | **pageSize**     | **string** | 페이지 Size            |
   654  | **scenarioName** | **string** | 시나리오 이름으로 검색 |
   655  
   656  ### Return type
   657  
   658  \*[**GetScenarioListResponse**](GetScenarioListResponse.md)
   659  
   660  ### Authorization
   661  
   662  [x-ncp-iam](../README.md#x-ncp-iam)
   663  
   664  ### HTTP request headers
   665  
   666  -   **Content-Type**: Not defined
   667  -   **Accept**: Not defined
   668  
   669  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   670  
   671  # **CreateScenario**
   672  
   673  > CreateUpdateResponse CreateScenario(scenarioCreate, projectId, stageId)
   674  
   675  ### Required Parameters
   676  
   677  | Name               | Type                                      | Description   | Notes |
   678  | ------------------ | ----------------------------------------- | ------------- | ----- |
   679  | **scenarioCreate** | **[\*CreateScenario](CreateScenario.md)** | 시나리오 생성 |
   680  | **projectId**      | **string**                                | projectId     |
   681  | **stageId**        | **string**                                | stageId       |
   682  
   683  ### Return type
   684  
   685  \*[**CreateUpdateResponse**](CreateUpdateResponse.md)
   686  
   687  ### Authorization
   688  
   689  [x-ncp-iam](../README.md#x-ncp-iam)
   690  
   691  ### HTTP request headers
   692  
   693  -   **Content-Type**: Not defined
   694  -   **Accept**: Not defined
   695  
   696  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   697  
   698  # **DeleteScenario**
   699  
   700  > OkResponse DeleteScenario(projectId, stageId, scenarioId)
   701  
   702  ### Required Parameters
   703  
   704  | Name           | Type       | Description | Notes |
   705  | -------------- | ---------- | ----------- | ----- |
   706  | **projectId**  | **string** | projectId   |
   707  | **stageId**    | **string** | stageId     |
   708  | **scenarioId** | **string** | scenarioId  |
   709  
   710  ### Return type
   711  
   712  \*[**OkResponse**](OkResponse.md)
   713  
   714  ### Authorization
   715  
   716  [x-ncp-iam](../README.md#x-ncp-iam)
   717  
   718  ### HTTP request headers
   719  
   720  -   **Content-Type**: Not defined
   721  -   **Accept**: Not defined
   722  
   723  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   724  
   725  # **Deploy**
   726  
   727  > DeployRequestResponse Deploy(projectId, stageId, scenarioId)
   728  
   729  ### Required Parameters
   730  
   731  | Name           | Type       | Description | Notes |
   732  | -------------- | ---------- | ----------- | ----- |
   733  | **projectId**  | **string** | projectId   |
   734  | **stageId**    | **string** | stageId     |
   735  | **scenarioId** | **string** | scenarioId  |
   736  
   737  ### Return type
   738  
   739  \*[**DeployRequestResponse**](DeployRequestResponse.md)
   740  
   741  ### Authorization
   742  
   743  [x-ncp-iam](../README.md#x-ncp-iam)
   744  
   745  ### HTTP request headers
   746  
   747  -   **Content-Type**: Not defined
   748  -   **Accept**: Not defined
   749  
   750  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   751  
   752  # **DeployRequest**
   753  
   754  > DeployRequestResponse DeployRequest(projectId, stageId, scenarioId)
   755  
   756  ### Required Parameters
   757  
   758  | Name           | Type       | Description | Notes |
   759  | -------------- | ---------- | ----------- | ----- |
   760  | **projectId**  | **string** | projectId   |
   761  | **stageId**    | **string** | stageId     |
   762  | **scenarioId** | **string** | scenarioId  |
   763  
   764  ### Return type
   765  
   766  \*[**DeployRequestResponse**](DeployRequestResponse.md)
   767  
   768  ### Authorization
   769  
   770  [x-ncp-iam](../README.md#x-ncp-iam)
   771  
   772  ### HTTP request headers
   773  
   774  -   **Content-Type**: Not defined
   775  -   **Accept**: Not defined
   776  
   777  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   778  
   779  # **GetScenario**
   780  
   781  > GetScenarioDetailResponse GetScenario(projectId, stageId, scenarioId)
   782  
   783  ### Required Parameters
   784  
   785  | Name           | Type       | Description | Notes           |
   786  | -------------- | ---------- | ----------- | --------------- |
   787  | **projectId**  | **string** | projectId   |
   788  | **stageId**    | **string** | stageId     |
   789  | **scenarioId** | **string** | scenarioId  | ### Return type |
   790  
   791  \*[**GetScenarioDetailResponse**](GetScenarioDetailResponse.md)
   792  
   793  ### Authorization
   794  
   795  [x-ncp-iam](../README.md#x-ncp-iam)
   796  
   797  ### HTTP request headers
   798  
   799  -   **Content-Type**: Not defined
   800  -   **Accept**: Not defined
   801  
   802  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   803  
   804  # **ChangeScenario**
   805  
   806  > CreateUpdateResponse ChangeScenario(scenarioUpdate, projectId, stageId, scenarioId)
   807  
   808  ### Required Parameters
   809  
   810  | Name               | Type                                      | Description   | Notes |
   811  | ------------------ | ----------------------------------------- | ------------- | ----- |
   812  | **scenarioUpdate** | **[\*ChangeScenario](ChangeScenario.md)** | 시나리오 수정 |
   813  | **projectId**      | **string**                                | projectId     |
   814  | **stageId**        | **string**                                | stageId       |
   815  | **scenarioId**     | **string**                                | scenarioId    |
   816  
   817  ### Return type
   818  
   819  \*[**CreateUpdateResponse**](CreateUpdateResponse.md)
   820  
   821  ### Authorization
   822  
   823  [x-ncp-iam](../README.md#x-ncp-iam)
   824  
   825  ### HTTP request headers
   826  
   827  -   **Content-Type**: Not defined
   828  -   **Accept**: Not defined
   829  
   830  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   831  
   832  # **GetServers**
   833  
   834  > GetServerListResponse GetServers()
   835  
   836  ### Required Parameters
   837  
   838  This endpoint does not need any parameter.
   839  
   840  ### Return type
   841  
   842  \*[**GetServerListResponse**](GetServerListResponse.md)
   843  
   844  ### Authorization
   845  
   846  [x-ncp-iam](../README.md#x-ncp-iam)
   847  
   848  ### HTTP request headers
   849  
   850  -   **Content-Type**: Not defined
   851  -   **Accept**: Not defined
   852  
   853  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   854  
   855  # **GetSourcebuildProjects**
   856  
   857  > GetSourceBuildProjectListResponse GetSourcebuildProjects()
   858  
   859  ### Required Parameters
   860  
   861  This endpoint does not need any parameter.
   862  
   863  ### Return type
   864  
   865  \*[**GetSourceBuildProjectListResponse**](GetSourceBuildProjectListResponse.md)
   866  
   867  ### Authorization
   868  
   869  [x-ncp-iam](../README.md#x-ncp-iam)
   870  
   871  ### HTTP request headers
   872  
   873  -   **Content-Type**: Not defined
   874  -   **Accept**: Not defined
   875  
   876  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   877  
   878  # **GetSourcecommitRepositories**
   879  
   880  > GetSourceCommitRepositoryListResponse GetSourcecommitRepositories()
   881  
   882  ### Required Parameters
   883  
   884  This endpoint does not need any parameter.
   885  
   886  ### Return type
   887  
   888  \*[**GetSourceCommitRepositoryListResponse**](GetSourceCommitRepositoryListResponse.md)
   889  
   890  ### Authorization
   891  
   892  [x-ncp-iam](../README.md#x-ncp-iam)
   893  
   894  ### HTTP request headers
   895  
   896  -   **Content-Type**: Not defined
   897  -   **Accept**: Not defined
   898  
   899  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
   900  
   901  # **GetSourceCommitBranches**
   902  
   903  > GetSourceCommitBranchListResponse GetSourceCommitBranches(repositoryName)
   904  
   905  ### Required Parameters
   906  
   907  This endpoint does not need any parameter.
   908  
   909  ### Return type
   910  
   911  \*[**GetSourceCommitBranchListResponse**](GetSourceCommitBranchListResponse.md)
   912  
   913  ### Authorization
   914  
   915  [x-ncp-iam](../README.md#x-ncp-iam)
   916  
   917  ### HTTP request headers
   918  
   919  -   **Content-Type**: Not defined
   920  -   **Accept**: Not defined
   921  
   922  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)