docs/BadgesApi.md in cloudsmith-api-0.54.15 vs docs/BadgesApi.md in cloudsmith-api-0.57.1
- old
+ new
@@ -1,8 +1,8 @@
# CloudsmithApi::BadgesApi
-All URIs are relative to *https://api.cloudsmith.io*
+All URIs are relative to *https://api.cloudsmith.io/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**badges_version_list**](BadgesApi.md#badges_version_list) | **GET** /badges/version/{owner}/{repo}/{package_format}/{package_name}/{package_version}/{package_identifiers}/ | Get latest package version for a package or package group.
@@ -40,11 +40,20 @@
package_identifiers = "package_identifiers_example" # String |
opts = {
badge_token: "badge_token_example", # String | Badge token to authenticate for private packages
- render: true # BOOLEAN | If true, badge will be rendered
+ cache_seconds: "cache_seconds_example", # String | Override the shields.io badge cacheSeconds value.
+ color: "color_example", # String | Override the shields.io badge color value.
+ label: "label_example", # String | Override the shields.io badge label value.
+ label_color: "label_color_example", # String | Override the shields.io badge labelColor value.
+ logo_color: "logo_color_example", # String | Override the shields.io badge logoColor value.
+ logo_width: "logo_width_example", # String | Override the shields.io badge logoWidth value.
+ render: true, # BOOLEAN | If true, badge will be rendered
+ shields: true, # BOOLEAN | If true, a shields response will be generated
+ show_latest: true, # BOOLEAN | If true, for latest version badges a '(latest)' suffix is added
+ style: "style_example" # String | Override the shields.io badge style value.
}
begin
#Get latest package version for a package or package group.
api_instance.badges_version_list(owner, repo, package_format, package_name, package_version, package_identifiers, opts)
@@ -62,10 +71,19 @@
**package_format** | **String**| |
**package_name** | **String**| |
**package_version** | **String**| |
**package_identifiers** | **String**| |
**badge_token** | **String**| Badge token to authenticate for private packages | [optional]
+ **cache_seconds** | **String**| Override the shields.io badge cacheSeconds value. | [optional]
+ **color** | **String**| Override the shields.io badge color value. | [optional]
+ **label** | **String**| Override the shields.io badge label value. | [optional]
+ **label_color** | **String**| Override the shields.io badge labelColor value. | [optional]
+ **logo_color** | **String**| Override the shields.io badge logoColor value. | [optional]
+ **logo_width** | **String**| Override the shields.io badge logoWidth value. | [optional]
**render** | **BOOLEAN**| If true, badge will be rendered | [optional]
+ **shields** | **BOOLEAN**| If true, a shields response will be generated | [optional]
+ **show_latest** | **BOOLEAN**| If true, for latest version badges a '(latest)' suffix is added | [optional]
+ **style** | **String**| Override the shields.io badge style value. | [optional]
### Return type
nil (empty response body)