github.com/spinnaker/spin@v1.30.0/gateapi/docs/PipelineConfigControllerApi.md (about) 1 # \PipelineConfigControllerApi 2 3 All URIs are relative to *https://localhost* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**ConvertPipelineConfigToPipelineTemplateUsingGET**](PipelineConfigControllerApi.md#ConvertPipelineConfigToPipelineTemplateUsingGET) | **Get** /pipelineConfigs/{pipelineConfigId}/convertToTemplate | Convert a pipeline config to a pipeline template. 8 [**GetAllPipelineConfigsUsingGET**](PipelineConfigControllerApi.md#GetAllPipelineConfigsUsingGET) | **Get** /pipelineConfigs | Get all pipeline configs. 9 [**GetPipelineConfigHistoryUsingGET**](PipelineConfigControllerApi.md#GetPipelineConfigHistoryUsingGET) | **Get** /pipelineConfigs/{pipelineConfigId}/history | Get pipeline config history. 10 11 12 # **ConvertPipelineConfigToPipelineTemplateUsingGET** 13 > string ConvertPipelineConfigToPipelineTemplateUsingGET(ctx, pipelineConfigId) 14 Convert a pipeline config to a pipeline template. 15 16 ### Required Parameters 17 18 Name | Type | Description | Notes 19 ------------- | ------------- | ------------- | ------------- 20 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 21 **pipelineConfigId** | **string**| pipelineConfigId | 22 23 ### Return type 24 25 **string** 26 27 ### Authorization 28 29 No authorization required 30 31 ### HTTP request headers 32 33 - **Content-Type**: Not defined 34 - **Accept**: */* 35 36 [[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) 37 38 # **GetAllPipelineConfigsUsingGET** 39 > []interface{} GetAllPipelineConfigsUsingGET(ctx, ) 40 Get all pipeline configs. 41 42 ### Required Parameters 43 This endpoint does not need any parameter. 44 45 ### Return type 46 47 [**[]interface{}**](interface{}.md) 48 49 ### Authorization 50 51 No authorization required 52 53 ### HTTP request headers 54 55 - **Content-Type**: Not defined 56 - **Accept**: */* 57 58 [[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) 59 60 # **GetPipelineConfigHistoryUsingGET** 61 > []interface{} GetPipelineConfigHistoryUsingGET(ctx, pipelineConfigId, optional) 62 Get pipeline config history. 63 64 ### Required Parameters 65 66 Name | Type | Description | Notes 67 ------------- | ------------- | ------------- | ------------- 68 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 69 **pipelineConfigId** | **string**| pipelineConfigId | 70 **optional** | ***PipelineConfigControllerApiGetPipelineConfigHistoryUsingGETOpts** | optional parameters | nil if no parameters 71 72 ### Optional Parameters 73 Optional parameters are passed through a pointer to a PipelineConfigControllerApiGetPipelineConfigHistoryUsingGETOpts struct 74 75 Name | Type | Description | Notes 76 ------------- | ------------- | ------------- | ------------- 77 78 **limit** | **optional.Int32**| limit | [default to 20] 79 80 ### Return type 81 82 [**[]interface{}**](interface{}.md) 83 84 ### Authorization 85 86 No authorization required 87 88 ### HTTP request headers 89 90 - **Content-Type**: Not defined 91 - **Accept**: */* 92 93 [[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) 94