Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion bindings/java/src/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.43
2.4.50
9 changes: 6 additions & 3 deletions bindings/java/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>io.cloudsmith.api</groupId>
<artifactId>cloudsmith-api</artifactId>
<version>2.0.22</version>
<version>2.0.23</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -50,7 +50,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "io.cloudsmith.api:cloudsmith-api:2.0.22"
compile "io.cloudsmith.api:cloudsmith-api:2.0.23"
```

### Others
Expand All @@ -63,7 +63,7 @@ mvn clean package

Then manually install the following JARs:

* `target/cloudsmith-api-2.0.22.jar`
* `target/cloudsmith-api-2.0.23.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down Expand Up @@ -122,6 +122,7 @@ Class | Method | HTTP request | Description
*AuditLogApi* | [**auditLogNamespaceList**](docs/AuditLogApi.md#auditLogNamespaceList) | **GET** /audit-log/{owner}/ | Lists audit log entries for a specific namespace.
*AuditLogApi* | [**auditLogRepoList**](docs/AuditLogApi.md#auditLogRepoList) | **GET** /audit-log/{owner}/{repo}/ | Lists audit log entries for a specific repository.
*BadgesApi* | [**badgesVersionList**](docs/BadgesApi.md#badgesVersionList) | **GET** /badges/version/{owner}/{repo}/{package_format}/{package_name}/{package_version}/{package_identifiers}/ | Get latest package version for a package or package group.
*BroadcastsApi* | [**broadcastsCreateBroadcastToken**](docs/BroadcastsApi.md#broadcastsCreateBroadcastToken) | **POST** /broadcasts/{org}/broadcast-token/ | Create a broadcast token.
*DistrosApi* | [**distrosList**](docs/DistrosApi.md#distrosList) | **GET** /distros/ | Get a list of all supported distributions.
*DistrosApi* | [**distrosRead**](docs/DistrosApi.md#distrosRead) | **GET** /distros/{slug}/ | View for viewing/listing distributions.
*EntitlementsApi* | [**entitlementsCreate**](docs/EntitlementsApi.md#entitlementsCreate) | **POST** /entitlements/{owner}/{repo}/ | Create a specific entitlement in a repository.
Expand Down Expand Up @@ -454,6 +455,8 @@ Class | Method | HTTP request | Description
- [AlpinePackageUpload](docs/AlpinePackageUpload.md)
- [AlpinePackageUploadRequest](docs/AlpinePackageUploadRequest.md)
- [Architecture](docs/Architecture.md)
- [BroadcastToken](docs/BroadcastToken.md)
- [BroadcastTokenInput](docs/BroadcastTokenInput.md)
- [CargoPackageUpload](docs/CargoPackageUpload.md)
- [CargoPackageUploadRequest](docs/CargoPackageUploadRequest.md)
- [CargoUpstream](docs/CargoUpstream.md)
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'

group = 'io.cloudsmith.api'
version = '2.0.22'
version = '2.0.23'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"apiPackage": "io.cloudsmith.api.apis",
"artifactId": "cloudsmith-api",
"artifactUrl": "https://api.cloudsmith.io/?format=openapi",
"artifactVersion": "2.0.22",
"artifactVersion": "2.0.23",
"artifactDescription": "Cloudsmith API",
"dateLibrary": "java8",
"developerName": "Cloudsmith Ltd",
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "io.cloudsmith.api",
name := "cloudsmith-api",
version := "2.0.22",
version := "2.0.23",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 2 additions & 0 deletions bindings/java/src/docs/AlpinePackageUpload.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Name | Type | Description | Notes
**originRepositoryUrl** | **String** | | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
**release** | **String** | The release of the package version (if any). | [optional]
**repository** | **String** | | [optional]
**repositoryUrl** | **String** | | [optional]
Expand All @@ -64,6 +65,7 @@ Name | Type | Description | Notes
**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
**slug** | **String** | The public unique identifier for the package. | [optional]
**slugPerm** | **String** | | [optional]
**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
**stageStr** | **String** | | [optional]
**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
Expand Down
11 changes: 11 additions & 0 deletions bindings/java/src/docs/BroadcastToken.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# BroadcastToken

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**expiresAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
**token** | **String** | | [optional]



11 changes: 11 additions & 0 deletions bindings/java/src/docs/BroadcastTokenInput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# BroadcastTokenInput

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**entitlementToken** | **String** | Repository entitlement token used to authorize the creation of a broadcast token |
**expiresIn** | **java.math.BigInteger** | Token expiry time in seconds (optional, defaults to 3600 seconds) | [optional]



71 changes: 71 additions & 0 deletions bindings/java/src/docs/BroadcastsApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# BroadcastsApi

All URIs are relative to *https://api.cloudsmith.io*

Method | HTTP request | Description
------------- | ------------- | -------------
[**broadcastsCreateBroadcastToken**](BroadcastsApi.md#broadcastsCreateBroadcastToken) | **POST** /broadcasts/{org}/broadcast-token/ | Create a broadcast token.


<a name="broadcastsCreateBroadcastToken"></a>
# **broadcastsCreateBroadcastToken**
> BroadcastToken broadcastsCreateBroadcastToken(org, data)

Create a broadcast token.

Create a broadcast token.

### Example
```java
// Import classes:
//import io.cloudsmith.api.ApiClient;
//import io.cloudsmith.api.ApiException;
//import io.cloudsmith.api.Configuration;
//import io.cloudsmith.api.auth.*;
//import io.cloudsmith.api.apis.BroadcastsApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: apikey
ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apikey.setApiKeyPrefix("Token");

// Configure HTTP basic authorization: basic
HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
basic.setUsername("YOUR USERNAME");
basic.setPassword("YOUR PASSWORD");

BroadcastsApi apiInstance = new BroadcastsApi();
String org = "org_example"; // String |
BroadcastTokenInput data = new BroadcastTokenInput(); // BroadcastTokenInput |
try {
BroadcastToken result = apiInstance.broadcastsCreateBroadcastToken(org, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BroadcastsApi#broadcastsCreateBroadcastToken");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
**data** | [**BroadcastTokenInput**](BroadcastTokenInput.md)| | [optional]

### Return type

[**BroadcastToken**](BroadcastToken.md)

### Authorization

[apikey](../README.md#apikey), [basic](../README.md#basic)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

2 changes: 2 additions & 0 deletions bindings/java/src/docs/CargoPackageUpload.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Name | Type | Description | Notes
**originRepositoryUrl** | **String** | | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
**release** | **String** | The release of the package version (if any). | [optional]
**repository** | **String** | | [optional]
**repositoryUrl** | **String** | | [optional]
Expand All @@ -64,6 +65,7 @@ Name | Type | Description | Notes
**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
**slug** | **String** | The public unique identifier for the package. | [optional]
**slugPerm** | **String** | | [optional]
**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
**stageStr** | **String** | | [optional]
**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
Expand Down
7 changes: 7 additions & 0 deletions bindings/java/src/docs/CargoUpstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@ Name | Type | Description | Notes
**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
**available** | **String** | | [optional]
**canReindex** | **String** | | [optional]
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the upstream source was created. | [optional]
**disableReason** | [**DisableReasonEnum**](#DisableReasonEnum) | | [optional]
**disableReasonText** | **String** | Human-readable explanation of why this upstream is disabled | [optional]
**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
**hasFailedSignatureVerification** | **String** | | [optional]
**indexPackageCount** | **String** | The number of packages available in this upstream source | [optional]
**indexStatus** | **String** | The current indexing status of this upstream source | [optional]
**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
**lastIndexed** | **String** | The last time this upstream source was indexed | [optional]
**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions bindings/java/src/docs/CocoapodsPackageUpload.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Name | Type | Description | Notes
**originRepositoryUrl** | **String** | | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
**release** | **String** | The release of the package version (if any). | [optional]
**repository** | **String** | | [optional]
**repositoryUrl** | **String** | | [optional]
Expand All @@ -64,6 +65,7 @@ Name | Type | Description | Notes
**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
**slug** | **String** | The public unique identifier for the package. | [optional]
**slugPerm** | **String** | | [optional]
**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
**stageStr** | **String** | | [optional]
**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions bindings/java/src/docs/ComposerPackageUpload.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Name | Type | Description | Notes
**originRepositoryUrl** | **String** | | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
**release** | **String** | The release of the package version (if any). | [optional]
**repository** | **String** | | [optional]
**repositoryUrl** | **String** | | [optional]
Expand All @@ -64,6 +65,7 @@ Name | Type | Description | Notes
**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
**slug** | **String** | The public unique identifier for the package. | [optional]
**slugPerm** | **String** | | [optional]
**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
**stageStr** | **String** | | [optional]
**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
Expand Down
7 changes: 7 additions & 0 deletions bindings/java/src/docs/ComposerUpstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@ Name | Type | Description | Notes
**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
**available** | **String** | | [optional]
**canReindex** | **String** | | [optional]
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the upstream source was created. | [optional]
**disableReason** | [**DisableReasonEnum**](#DisableReasonEnum) | | [optional]
**disableReasonText** | **String** | Human-readable explanation of why this upstream is disabled | [optional]
**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
**hasFailedSignatureVerification** | **String** | | [optional]
**indexPackageCount** | **String** | The number of packages available in this upstream source | [optional]
**indexStatus** | **String** | The current indexing status of this upstream source | [optional]
**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
**lastIndexed** | **String** | The last time this upstream source was indexed | [optional]
**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions bindings/java/src/docs/ConanPackageUpload.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Name | Type | Description | Notes
**originRepositoryUrl** | **String** | | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
**release** | **String** | The release of the package version (if any). | [optional]
**repository** | **String** | | [optional]
**repositoryUrl** | **String** | | [optional]
Expand All @@ -66,6 +67,7 @@ Name | Type | Description | Notes
**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
**slug** | **String** | The public unique identifier for the package. | [optional]
**slugPerm** | **String** | | [optional]
**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
**stageStr** | **String** | | [optional]
**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions bindings/java/src/docs/CondaPackageUpload.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Name | Type | Description | Notes
**originRepositoryUrl** | **String** | | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
**release** | **String** | The release of the package version (if any). | [optional]
**repository** | **String** | | [optional]
**repositoryUrl** | **String** | | [optional]
Expand All @@ -64,6 +65,7 @@ Name | Type | Description | Notes
**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
**slug** | **String** | The public unique identifier for the package. | [optional]
**slugPerm** | **String** | | [optional]
**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
**stageStr** | **String** | | [optional]
**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
Expand Down
7 changes: 7 additions & 0 deletions bindings/java/src/docs/CondaUpstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@ Name | Type | Description | Notes
**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
**available** | **String** | | [optional]
**canReindex** | **String** | | [optional]
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the upstream source was created. | [optional]
**disableReason** | [**DisableReasonEnum**](#DisableReasonEnum) | | [optional]
**disableReasonText** | **String** | Human-readable explanation of why this upstream is disabled | [optional]
**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
**hasFailedSignatureVerification** | **String** | | [optional]
**indexPackageCount** | **String** | The number of packages available in this upstream source | [optional]
**indexStatus** | **String** | The current indexing status of this upstream source | [optional]
**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
**lastIndexed** | **String** | The last time this upstream source was indexed | [optional]
**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
Expand Down
Loading
Loading