github.com/spinnaker/spin@v1.30.0/gateapi/docs/ArtifactControllerApi.md (about) 1 # \ArtifactControllerApi 2 3 All URIs are relative to *https://localhost* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**AllUsingGET**](ArtifactControllerApi.md#AllUsingGET) | **Get** /artifacts/credentials | Retrieve the list of artifact accounts configured in Clouddriver. 8 [**ArtifactVersionsUsingGET**](ArtifactControllerApi.md#ArtifactVersionsUsingGET) | **Get** /artifacts/account/{accountName}/versions | Retrieve the list of artifact versions by account and artifact names 9 [**GetArtifactUsingGET**](ArtifactControllerApi.md#GetArtifactUsingGET) | **Get** /artifacts/{provider}/{packageName}/{version} | Retrieve the specified artifact version for an artifact provider and package name 10 11 12 # **AllUsingGET** 13 > []interface{} AllUsingGET(ctx, optional) 14 Retrieve the list of artifact accounts configured in Clouddriver. 15 16 ### Required Parameters 17 18 Name | Type | Description | Notes 19 ------------- | ------------- | ------------- | ------------- 20 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 21 **optional** | ***ArtifactControllerApiAllUsingGETOpts** | optional parameters | nil if no parameters 22 23 ### Optional Parameters 24 Optional parameters are passed through a pointer to a ArtifactControllerApiAllUsingGETOpts struct 25 26 Name | Type | Description | Notes 27 ------------- | ------------- | ------------- | ------------- 28 **xRateLimitApp** | **optional.String**| X-RateLimit-App | 29 30 ### Return type 31 32 [**[]interface{}**](interface{}.md) 33 34 ### Authorization 35 36 No authorization required 37 38 ### HTTP request headers 39 40 - **Content-Type**: Not defined 41 - **Accept**: */* 42 43 [[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) 44 45 # **ArtifactVersionsUsingGET** 46 > []string ArtifactVersionsUsingGET(ctx, accountName, artifactName, type_, optional) 47 Retrieve the list of artifact versions by account and artifact names 48 49 ### Required Parameters 50 51 Name | Type | Description | Notes 52 ------------- | ------------- | ------------- | ------------- 53 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 54 **accountName** | **string**| accountName | 55 **artifactName** | **string**| artifactName | 56 **type_** | **string**| type | 57 **optional** | ***ArtifactControllerApiArtifactVersionsUsingGETOpts** | optional parameters | nil if no parameters 58 59 ### Optional Parameters 60 Optional parameters are passed through a pointer to a ArtifactControllerApiArtifactVersionsUsingGETOpts struct 61 62 Name | Type | Description | Notes 63 ------------- | ------------- | ------------- | ------------- 64 65 66 67 **xRateLimitApp** | **optional.String**| X-RateLimit-App | 68 69 ### Return type 70 71 **[]string** 72 73 ### Authorization 74 75 No authorization required 76 77 ### HTTP request headers 78 79 - **Content-Type**: Not defined 80 - **Accept**: */* 81 82 [[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) 83 84 # **GetArtifactUsingGET** 85 > interface{} GetArtifactUsingGET(ctx, packageName, provider, version) 86 Retrieve the specified artifact version for an artifact provider and package name 87 88 ### Required Parameters 89 90 Name | Type | Description | Notes 91 ------------- | ------------- | ------------- | ------------- 92 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 93 **packageName** | **string**| packageName | 94 **provider** | **string**| provider | 95 **version** | **string**| version | 96 97 ### Return type 98 99 [**interface{}**](interface{}.md) 100 101 ### Authorization 102 103 No authorization required 104 105 ### HTTP request headers 106 107 - **Content-Type**: Not defined 108 - **Accept**: */* 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