Skip to content

Commit 4e5c769

Browse files
committed
Version bump to 0.0.5
1 parent 7c3abd5 commit 4e5c769

File tree

116 files changed

+601
-126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+601
-126
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ The API to the Cloudsmith Service
55
## Overview
66
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
77

8-
- API version: 0.51.44
9-
- Package version: 0.0.4
8+
- API version: 0.51.48
9+
- Package version: 0.0.5
1010
- Build package: org.openapitools.codegen.languages.GoClientCodegen
1111
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
1212

@@ -114,6 +114,8 @@ Class | Method | HTTP request | Description
114114
*ReposApi* | [**ReposPartialUpdate**](docs/ReposApi.md#repospartialupdate) | **Patch** /repos/{owner}/{identifier}/ | Update details about a repository in a given namespace.
115115
*ReposApi* | [**ReposRead**](docs/ReposApi.md#reposread) | **Get** /repos/{owner}/{identifier}/ | Get a specific repository.
116116
*StatusApi* | [**StatusCheckBasic**](docs/StatusApi.md#statuscheckbasic) | **Get** /status/check/basic/ | Endpoint to check basic API connectivity.
117+
*StorageRegionsApi* | [**StorageRegionsList**](docs/StorageRegionsApi.md#storageregionslist) | **Get** /storage-regions/ | Get a list of all available storage regions.
118+
*StorageRegionsApi* | [**StorageRegionsRead**](docs/StorageRegionsApi.md#storageregionsread) | **Get** /storage-regions/{slug}/ | Get a specific storage region.
117119
*UserApi* | [**UserSelf**](docs/UserApi.md#userself) | **Get** /user/self/ | Provide a brief for the current user (if any).
118120
*UserApi* | [**UserTokenCreate**](docs/UserApi.md#usertokencreate) | **Post** /user/token/ | Retrieve the API key/token for the authenticated user.
119121
*UsersApi* | [**UsersProfileRead**](docs/UsersApi.md#usersprofileread) | **Get** /users/profile/{slug}/ | Provide a brief for the specified user (if any).
@@ -208,6 +210,7 @@ Class | Method | HTTP request | Description
208210
- [ResourcesRateCheck](docs/ResourcesRateCheck.md)
209211
- [Status](docs/Status.md)
210212
- [StatusBasic](docs/StatusBasic.md)
213+
- [StorageRegion](docs/StorageRegion.md)
211214
- [UserAuthToken](docs/UserAuthToken.md)
212215
- [UserBrief](docs/UserBrief.md)
213216
- [UserProfile](docs/UserProfile.md)

api/openapi.yaml

Lines changed: 102 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
url: https://opensource.org/licenses/MIT
1111
termsOfService: https://help.cloudsmith.io/docs/terms-and-conditions
1212
title: Cloudsmith API
13-
version: 0.51.44
13+
version: 0.51.48
1414
externalDocs:
1515
description: Find out more info at the Cloudsmith Help Website
1616
url: https://help.cloudsmith.io
@@ -5152,6 +5152,7 @@ paths:
51525152
application/json:
51535153
schema:
51545154
example:
5155+
storage_region: storage_region
51555156
repository_type_str: repository_type_str
51565157
name: name
51575158
description: description
@@ -5176,9 +5177,11 @@ paths:
51765177
slug:
51775178
description: None
51785179
type: string
5180+
storage_region:
5181+
description: None
5182+
type: string
51795183
required:
51805184
- name
5181-
- slug
51825185
title: ReposCreate
51835186
type: object
51845187
required: false
@@ -5411,6 +5414,75 @@ paths:
54115414
summary: Endpoint to check basic API connectivity.
54125415
tags:
54135416
- status
5417+
/storage-regions/:
5418+
get:
5419+
description: Get a list of all available storage regions.
5420+
operationId: storage-regions_list
5421+
responses:
5422+
"200":
5423+
content:
5424+
'*/*':
5425+
schema:
5426+
items:
5427+
$ref: '#/components/schemas/StorageRegion'
5428+
title: StorageRegionList
5429+
type: array
5430+
description: Available storage regions retrieved
5431+
"400":
5432+
content:
5433+
'*/*':
5434+
schema:
5435+
$ref: '#/components/schemas/Status'
5436+
description: Request could not be processed (see detail)
5437+
"422":
5438+
content:
5439+
'*/*':
5440+
schema:
5441+
$ref: '#/components/schemas/Status'
5442+
description: Missing or invalid parameters (see detail)
5443+
security:
5444+
- token: []
5445+
- apikey: []
5446+
- csrf_token: []
5447+
summary: Get a list of all available storage regions.
5448+
tags:
5449+
- storage-regions
5450+
/storage-regions/{slug}/:
5451+
get:
5452+
description: Get a specific storage region.
5453+
operationId: storage-regions_read
5454+
parameters:
5455+
- in: path
5456+
name: slug
5457+
required: true
5458+
schema:
5459+
type: string
5460+
responses:
5461+
"200":
5462+
content:
5463+
'*/*':
5464+
schema:
5465+
$ref: '#/components/schemas/StorageRegion'
5466+
description: OK
5467+
"400":
5468+
content:
5469+
'*/*':
5470+
schema:
5471+
$ref: '#/components/schemas/Status'
5472+
description: Request could not be processed (see detail)
5473+
"422":
5474+
content:
5475+
'*/*':
5476+
schema:
5477+
$ref: '#/components/schemas/Status'
5478+
description: Missing or invalid parameters (see detail)
5479+
security:
5480+
- token: []
5481+
- apikey: []
5482+
- csrf_token: []
5483+
summary: Get a specific storage region.
5484+
tags:
5485+
- storage-regions
54145486
/user/self/:
54155487
get:
54165488
description: Provide a brief for the current user (if any).
@@ -7175,15 +7247,15 @@ components:
71757247
StatusBasic:
71767248
example:
71777249
detail: Cloudsmith API is operational.
7178-
version: 0.51.44
7250+
version: 0.51.48
71797251
properties:
71807252
detail:
71817253
description: The message describing the state of the API.
71827254
example: Cloudsmith API is operational.
71837255
type: string
71847256
version:
71857257
description: The current version for the Cloudsmith service.
7186-
example: 0.51.44
7258+
example: 0.51.48
71877259
type: string
71887260
ReposPartialUpdate:
71897261
example:
@@ -9609,6 +9681,20 @@ components:
96099681
- templates
96109682
title: WebhooksCreate
96119683
type: object
9684+
StorageRegion:
9685+
example:
9686+
label: label
9687+
slug: slug
9688+
properties:
9689+
label:
9690+
description: Name of the storage region
9691+
type: string
9692+
slug:
9693+
description: Slug for the storage region
9694+
type: string
9695+
required:
9696+
- label
9697+
- slug
96129698
PackagesValidate_uploadCran:
96139699
properties:
96149700
package_file:
@@ -9819,8 +9905,8 @@ components:
98199905
interval: 5.123456789
98209906
limit: 3600
98219907
remaining: 3595
9822-
reset: 1592234181
9823-
reset_iso_8601: 2020-06-15T15:16:21.670293+00:00
9908+
reset: 1592385714
9909+
reset_iso_8601: 2020-06-17T09:21:54.792557+00:00
98249910
throttled: false
98259911
properties:
98269912
resources:
@@ -9830,8 +9916,8 @@ components:
98309916
interval: 5.123456789
98319917
limit: 3600
98329918
remaining: 3595
9833-
reset: 1592234181
9834-
reset_iso_8601: 2020-06-15T15:16:21.670293+00:00
9919+
reset: 1592385714
9920+
reset_iso_8601: 2020-06-17T09:21:54.792557+00:00
98359921
throttled: false
98369922
properties: {}
98379923
type: object
@@ -10600,6 +10686,7 @@ components:
1060010686
repository_type: repository_type
1060110687
self_url: self_url
1060210688
package_count: 6
10689+
storage_region: storage_region
1060310690
size_str: size_str
1060410691
package_group_count: 1
1060510692
size: 5
@@ -10706,11 +10793,14 @@ components:
1070610793
slug_perm:
1070710794
description: ""
1070810795
type: string
10796+
storage_region:
10797+
description: ""
10798+
type: string
1070910799
required:
1071010800
- name
10711-
- slug
1071210801
ReposCreate:
1071310802
example:
10803+
storage_region: storage_region
1071410804
repository_type_str: repository_type_str
1071510805
name: name
1071610806
description: description
@@ -10735,9 +10825,11 @@ components:
1073510825
slug:
1073610826
description: None
1073710827
type: string
10828+
storage_region:
10829+
description: None
10830+
type: string
1073810831
required:
1073910832
- name
10740-
- slug
1074110833
title: ReposCreate
1074210834
type: object
1074310835
RepositoryTokenRefresh:

api_badges.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The API to the Cloudsmith Service
55
*
6-
* API version: 0.51.44
6+
* API version: 0.51.48
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

api_distros.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The API to the Cloudsmith Service
55
*
6-
* API version: 0.51.44
6+
* API version: 0.51.48
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

api_entitlements.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The API to the Cloudsmith Service
55
*
6-
* API version: 0.51.44
6+
* API version: 0.51.48
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

api_files.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The API to the Cloudsmith Service
55
*
6-
* API version: 0.51.44
6+
* API version: 0.51.48
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

api_formats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The API to the Cloudsmith Service
55
*
6-
* API version: 0.51.44
6+
* API version: 0.51.48
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

api_namespaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The API to the Cloudsmith Service
55
*
6-
* API version: 0.51.44
6+
* API version: 0.51.48
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

api_orgs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The API to the Cloudsmith Service
55
*
6-
* API version: 0.51.44
6+
* API version: 0.51.48
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

api_packages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* The API to the Cloudsmith Service
55
*
6-
* API version: 0.51.44
6+
* API version: 0.51.48
77
* Contact: [email protected]
88
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
99
*/

0 commit comments

Comments
 (0)