All URIs are relative to https://api.cloudsmith.io
| Method | HTTP request | Description |
|---|---|---|
| packagesCopy | POST /packages/{owner}/{repo}/{identifier}/copy/ | Copy a package to another repository. |
| packagesDelete | DELETE /packages/{owner}/{repo}/{identifier}/ | Delete a specific package in a repository. |
| packagesDependencies | GET /packages/{owner}/{repo}/{identifier}/dependencies/ | Get the list of dependencies for a package. Transitive dependencies are included where supported. |
| packagesGroupsList | GET /packages/{owner}/{repo}/groups/ | Return a list of Package Groups in a repository. |
| packagesList | GET /packages/{owner}/{repo}/ | Get a list of all packages associated with repository. |
| packagesMove | POST /packages/{owner}/{repo}/{identifier}/move/ | Move a package to another repository. |
| packagesQuarantine | POST /packages/{owner}/{repo}/{identifier}/quarantine/ | Quarantine or release a package. |
| packagesRead | GET /packages/{owner}/{repo}/{identifier}/ | Get a specific package in a repository. |
| packagesResync | POST /packages/{owner}/{repo}/{identifier}/resync/ | Schedule a package for resynchronisation. |
| packagesScan | POST /packages/{owner}/{repo}/{identifier}/scan/ | Schedule a package for scanning. |
| packagesStatus | GET /packages/{owner}/{repo}/{identifier}/status/ | Get the synchronization status for a package. |
| packagesTag | POST /packages/{owner}/{repo}/{identifier}/tag/ | Add/Replace/Remove tags for a package. |
| packagesUploadAlpine | POST /packages/{owner}/{repo}/upload/alpine/ | Create a new Alpine package |
| packagesUploadCargo | POST /packages/{owner}/{repo}/upload/cargo/ | Create a new Cargo package |
| packagesUploadCocoapods | POST /packages/{owner}/{repo}/upload/cocoapods/ | Create a new CocoaPods package |
| packagesUploadComposer | POST /packages/{owner}/{repo}/upload/composer/ | Create a new Composer package |
| packagesUploadConan | POST /packages/{owner}/{repo}/upload/conan/ | Create a new Conan package |
| packagesUploadConda | POST /packages/{owner}/{repo}/upload/conda/ | Create a new Conda package |
| packagesUploadCran | POST /packages/{owner}/{repo}/upload/cran/ | Create a new CRAN package |
| packagesUploadDart | POST /packages/{owner}/{repo}/upload/dart/ | Create a new Dart package |
| packagesUploadDeb | POST /packages/{owner}/{repo}/upload/deb/ | Create a new Debian package |
| packagesUploadDocker | POST /packages/{owner}/{repo}/upload/docker/ | Create a new Docker package |
| packagesUploadGo | POST /packages/{owner}/{repo}/upload/go/ | Create a new Go package |
| packagesUploadHelm | POST /packages/{owner}/{repo}/upload/helm/ | Create a new Helm package |
| packagesUploadHex | POST /packages/{owner}/{repo}/upload/hex/ | Create a new Hex package |
| packagesUploadHuggingface | POST /packages/{owner}/{repo}/upload/huggingface/ | Create a new Hugging Face package |
| packagesUploadLuarocks | POST /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package |
| packagesUploadMaven | POST /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package |
| packagesUploadNpm | POST /packages/{owner}/{repo}/upload/npm/ | Create a new npm package |
| packagesUploadNuget | POST /packages/{owner}/{repo}/upload/nuget/ | Create a new NuGet package |
| packagesUploadP2 | POST /packages/{owner}/{repo}/upload/p2/ | Create a new P2 package |
| packagesUploadPython | POST /packages/{owner}/{repo}/upload/python/ | Create a new Python package |
| packagesUploadRaw | POST /packages/{owner}/{repo}/upload/raw/ | Create a new Raw package |
| packagesUploadRpm | POST /packages/{owner}/{repo}/upload/rpm/ | Create a new RedHat package |
| packagesUploadRuby | POST /packages/{owner}/{repo}/upload/ruby/ | Create a new Ruby package |
| packagesUploadSwift | POST /packages/{owner}/{repo}/upload/swift/ | Create a new Swift package |
| packagesUploadTerraform | POST /packages/{owner}/{repo}/upload/terraform/ | Create a new Terraform package |
| packagesUploadVagrant | POST /packages/{owner}/{repo}/upload/vagrant/ | Create a new Vagrant package |
| packagesValidateUploadAlpine | POST /packages/{owner}/{repo}/validate-upload/alpine/ | Validate parameters for create Alpine package |
| packagesValidateUploadCargo | POST /packages/{owner}/{repo}/validate-upload/cargo/ | Validate parameters for create Cargo package |
| packagesValidateUploadCocoapods | POST /packages/{owner}/{repo}/validate-upload/cocoapods/ | Validate parameters for create CocoaPods package |
| packagesValidateUploadComposer | POST /packages/{owner}/{repo}/validate-upload/composer/ | Validate parameters for create Composer package |
| packagesValidateUploadConan | POST /packages/{owner}/{repo}/validate-upload/conan/ | Validate parameters for create Conan package |
| packagesValidateUploadConda | POST /packages/{owner}/{repo}/validate-upload/conda/ | Validate parameters for create Conda package |
| packagesValidateUploadCran | POST /packages/{owner}/{repo}/validate-upload/cran/ | Validate parameters for create CRAN package |
| packagesValidateUploadDart | POST /packages/{owner}/{repo}/validate-upload/dart/ | Validate parameters for create Dart package |
| packagesValidateUploadDeb | POST /packages/{owner}/{repo}/validate-upload/deb/ | Validate parameters for create Debian package |
| packagesValidateUploadDocker | POST /packages/{owner}/{repo}/validate-upload/docker/ | Validate parameters for create Docker package |
| packagesValidateUploadGo | POST /packages/{owner}/{repo}/validate-upload/go/ | Validate parameters for create Go package |
| packagesValidateUploadHelm | POST /packages/{owner}/{repo}/validate-upload/helm/ | Validate parameters for create Helm package |
| packagesValidateUploadHex | POST /packages/{owner}/{repo}/validate-upload/hex/ | Validate parameters for create Hex package |
| packagesValidateUploadHuggingface | POST /packages/{owner}/{repo}/validate-upload/huggingface/ | Validate parameters for create Hugging Face package |
| packagesValidateUploadLuarocks | POST /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package |
| packagesValidateUploadMaven | POST /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package |
| packagesValidateUploadNpm | POST /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package |
| packagesValidateUploadNuget | POST /packages/{owner}/{repo}/validate-upload/nuget/ | Validate parameters for create NuGet package |
| packagesValidateUploadP2 | POST /packages/{owner}/{repo}/validate-upload/p2/ | Validate parameters for create P2 package |
| packagesValidateUploadPython | POST /packages/{owner}/{repo}/validate-upload/python/ | Validate parameters for create Python package |
| packagesValidateUploadRaw | POST /packages/{owner}/{repo}/validate-upload/raw/ | Validate parameters for create Raw package |
| packagesValidateUploadRpm | POST /packages/{owner}/{repo}/validate-upload/rpm/ | Validate parameters for create RedHat package |
| packagesValidateUploadRuby | POST /packages/{owner}/{repo}/validate-upload/ruby/ | Validate parameters for create Ruby package |
| packagesValidateUploadSwift | POST /packages/{owner}/{repo}/validate-upload/swift/ | Validate parameters for create Swift package |
| packagesValidateUploadTerraform | POST /packages/{owner}/{repo}/validate-upload/terraform/ | Validate parameters for create Terraform package |
| packagesValidateUploadVagrant | POST /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package |
PackageCopy packagesCopy(owner, repo, identifier, data)
Copy a package to another repository.
Copy a package to another repository.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
PackageCopyRequest data = new PackageCopyRequest(); // PackageCopyRequest |
try {
PackageCopy result = apiInstance.packagesCopy(owner, repo, identifier, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesCopy");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String | ||
| data | PackageCopyRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
packagesDelete(owner, repo, identifier)
Delete a specific package in a repository.
Delete a specific package in a repository.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
try {
apiInstance.packagesDelete(owner, repo, identifier);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesDelete");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
PackageDependencies packagesDependencies(owner, repo, identifier)
Get the list of dependencies for a package. Transitive dependencies are included where supported.
Get the list of dependencies for a package. Transitive dependencies are included where supported.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
try {
PackageDependencies result = apiInstance.packagesDependencies(owner, repo, identifier);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesDependencies");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String |
- Content-Type: application/json
- Accept: application/json
InlineResponse200 packagesGroupsList(owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort)
Return a list of Package Groups in a repository.
Return a list of Package Groups in a repository.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
String groupBy = "name"; // String | A field to group packages by. Available options: name, backend_kind.
Boolean hideSubcomponents = false; // Boolean | Whether to hide packages which are subcomponents of another package in the results
String query = ""; // String | A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages.
String sort = "name"; // String | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind.
try {
InlineResponse200 result = apiInstance.packagesGroupsList(owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesGroupsList");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| page | java.math.BigInteger | A page number within the paginated result set. | [optional] |
| pageSize | java.math.BigInteger | Number of results to return per page. | [optional] |
| groupBy | String | A field to group packages by. Available options: name, backend_kind. | [optional] [default to name] |
| hideSubcomponents | Boolean | Whether to hide packages which are subcomponents of another package in the results | [optional] [default to false] |
| query | String | A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. | [optional] [default to ] |
| sort | String | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. | [optional] [default to name] |
- Content-Type: application/json
- Accept: application/json
List<ModelPackage> packagesList(owner, repo, page, pageSize, query, sort)
Get a list of all packages associated with repository.
Get a list of all packages associated with repository.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
String query = ""; // String | A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages.
String sort = "-date"; // String | A field for sorting objects in ascending or descending order.
try {
List<ModelPackage> result = apiInstance.packagesList(owner, repo, page, pageSize, query, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesList");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| page | java.math.BigInteger | A page number within the paginated result set. | [optional] |
| pageSize | java.math.BigInteger | Number of results to return per page. | [optional] |
| query | String | A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. | [optional] [default to ] |
| sort | String | A field for sorting objects in ascending or descending order. | [optional] [default to -date] |
- Content-Type: application/json
- Accept: application/json
PackageMove packagesMove(owner, repo, identifier, data)
Move a package to another repository.
Move a package to another repository.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
PackageMoveRequest data = new PackageMoveRequest(); // PackageMoveRequest |
try {
PackageMove result = apiInstance.packagesMove(owner, repo, identifier, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesMove");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String | ||
| data | PackageMoveRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
PackageQuarantine packagesQuarantine(owner, repo, identifier, data)
Quarantine or release a package.
Quarantine or release a package.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
PackageQuarantineRequest data = new PackageQuarantineRequest(); // PackageQuarantineRequest |
try {
PackageQuarantine result = apiInstance.packagesQuarantine(owner, repo, identifier, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesQuarantine");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String | ||
| data | PackageQuarantineRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
ModelPackage packagesRead(owner, repo, identifier)
Get a specific package in a repository.
Get a specific package in a repository.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
try {
ModelPackage result = apiInstance.packagesRead(owner, repo, identifier);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesRead");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String |
- Content-Type: application/json
- Accept: application/json
PackageResync packagesResync(owner, repo, identifier)
Schedule a package for resynchronisation.
Schedule a package for resynchronisation.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
try {
PackageResync result = apiInstance.packagesResync(owner, repo, identifier);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesResync");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String |
- Content-Type: application/json
- Accept: application/json
ModelPackage packagesScan(owner, repo, identifier)
Schedule a package for scanning.
Schedule a package for scanning.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
try {
ModelPackage result = apiInstance.packagesScan(owner, repo, identifier);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesScan");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String |
- Content-Type: application/json
- Accept: application/json
PackageStatus packagesStatus(owner, repo, identifier)
Get the synchronization status for a package.
Get the synchronization status for a package.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
try {
PackageStatus result = apiInstance.packagesStatus(owner, repo, identifier);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesStatus");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String |
- Content-Type: application/json
- Accept: application/json
ModelPackage packagesTag(owner, repo, identifier, data)
Add/Replace/Remove tags for a package.
Add/Replace/Remove tags for a package.
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
String identifier = "identifier_example"; // String |
PackageTagRequest data = new PackageTagRequest(); // PackageTagRequest |
try {
ModelPackage result = apiInstance.packagesTag(owner, repo, identifier, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesTag");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| identifier | String | ||
| data | PackageTagRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
AlpinePackageUpload packagesUploadAlpine(owner, repo, data)
Create a new Alpine package
Create a new Alpine package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
AlpinePackageUploadRequest data = new AlpinePackageUploadRequest(); // AlpinePackageUploadRequest |
try {
AlpinePackageUpload result = apiInstance.packagesUploadAlpine(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadAlpine");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | AlpinePackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
CargoPackageUpload packagesUploadCargo(owner, repo, data)
Create a new Cargo package
Create a new Cargo package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
CargoPackageUploadRequest data = new CargoPackageUploadRequest(); // CargoPackageUploadRequest |
try {
CargoPackageUpload result = apiInstance.packagesUploadCargo(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadCargo");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | CargoPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
CocoapodsPackageUpload packagesUploadCocoapods(owner, repo, data)
Create a new CocoaPods package
Create a new CocoaPods package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
CocoapodsPackageUploadRequest data = new CocoapodsPackageUploadRequest(); // CocoapodsPackageUploadRequest |
try {
CocoapodsPackageUpload result = apiInstance.packagesUploadCocoapods(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadCocoapods");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | CocoapodsPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
ComposerPackageUpload packagesUploadComposer(owner, repo, data)
Create a new Composer package
Create a new Composer package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
ComposerPackageUploadRequest data = new ComposerPackageUploadRequest(); // ComposerPackageUploadRequest |
try {
ComposerPackageUpload result = apiInstance.packagesUploadComposer(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadComposer");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | ComposerPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
ConanPackageUpload packagesUploadConan(owner, repo, data)
Create a new Conan package
Create a new Conan package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
ConanPackageUploadRequest data = new ConanPackageUploadRequest(); // ConanPackageUploadRequest |
try {
ConanPackageUpload result = apiInstance.packagesUploadConan(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadConan");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | ConanPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
CondaPackageUpload packagesUploadConda(owner, repo, data)
Create a new Conda package
Create a new Conda package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
CondaPackageUploadRequest data = new CondaPackageUploadRequest(); // CondaPackageUploadRequest |
try {
CondaPackageUpload result = apiInstance.packagesUploadConda(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadConda");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | CondaPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
CranPackageUpload packagesUploadCran(owner, repo, data)
Create a new CRAN package
Create a new CRAN package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
CranPackageUploadRequest data = new CranPackageUploadRequest(); // CranPackageUploadRequest |
try {
CranPackageUpload result = apiInstance.packagesUploadCran(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadCran");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | CranPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
DartPackageUpload packagesUploadDart(owner, repo, data)
Create a new Dart package
Create a new Dart package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
DartPackageUploadRequest data = new DartPackageUploadRequest(); // DartPackageUploadRequest |
try {
DartPackageUpload result = apiInstance.packagesUploadDart(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadDart");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | DartPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
DebPackageUpload packagesUploadDeb(owner, repo, data)
Create a new Debian package
Create a new Debian package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
DebPackageUploadRequest data = new DebPackageUploadRequest(); // DebPackageUploadRequest |
try {
DebPackageUpload result = apiInstance.packagesUploadDeb(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadDeb");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | DebPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
DockerPackageUpload packagesUploadDocker(owner, repo, data)
Create a new Docker package
Create a new Docker package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
DockerPackageUploadRequest data = new DockerPackageUploadRequest(); // DockerPackageUploadRequest |
try {
DockerPackageUpload result = apiInstance.packagesUploadDocker(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadDocker");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | DockerPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
GoPackageUpload packagesUploadGo(owner, repo, data)
Create a new Go package
Create a new Go package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
GoPackageUploadRequest data = new GoPackageUploadRequest(); // GoPackageUploadRequest |
try {
GoPackageUpload result = apiInstance.packagesUploadGo(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadGo");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | GoPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
HelmPackageUpload packagesUploadHelm(owner, repo, data)
Create a new Helm package
Create a new Helm package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
HelmPackageUploadRequest data = new HelmPackageUploadRequest(); // HelmPackageUploadRequest |
try {
HelmPackageUpload result = apiInstance.packagesUploadHelm(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadHelm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | HelmPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
HexPackageUpload packagesUploadHex(owner, repo, data)
Create a new Hex package
Create a new Hex package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
HexPackageUploadRequest data = new HexPackageUploadRequest(); // HexPackageUploadRequest |
try {
HexPackageUpload result = apiInstance.packagesUploadHex(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadHex");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | HexPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
HuggingfacePackageUpload packagesUploadHuggingface(owner, repo, data)
Create a new Hugging Face package
Create a new Hugging Face package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
HuggingfacePackageUploadRequest data = new HuggingfacePackageUploadRequest(); // HuggingfacePackageUploadRequest |
try {
HuggingfacePackageUpload result = apiInstance.packagesUploadHuggingface(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadHuggingface");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | HuggingfacePackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
LuarocksPackageUpload packagesUploadLuarocks(owner, repo, data)
Create a new LuaRocks package
Create a new LuaRocks package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
LuarocksPackageUploadRequest data = new LuarocksPackageUploadRequest(); // LuarocksPackageUploadRequest |
try {
LuarocksPackageUpload result = apiInstance.packagesUploadLuarocks(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadLuarocks");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | LuarocksPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
MavenPackageUpload packagesUploadMaven(owner, repo, data)
Create a new Maven package
Create a new Maven package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
MavenPackageUploadRequest data = new MavenPackageUploadRequest(); // MavenPackageUploadRequest |
try {
MavenPackageUpload result = apiInstance.packagesUploadMaven(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadMaven");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | MavenPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
NpmPackageUpload packagesUploadNpm(owner, repo, data)
Create a new npm package
Create a new npm package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
NpmPackageUploadRequest data = new NpmPackageUploadRequest(); // NpmPackageUploadRequest |
try {
NpmPackageUpload result = apiInstance.packagesUploadNpm(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadNpm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | NpmPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
NugetPackageUpload packagesUploadNuget(owner, repo, data)
Create a new NuGet package
Create a new NuGet package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
NugetPackageUploadRequest data = new NugetPackageUploadRequest(); // NugetPackageUploadRequest |
try {
NugetPackageUpload result = apiInstance.packagesUploadNuget(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadNuget");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | NugetPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
P2PackageUpload packagesUploadP2(owner, repo, data)
Create a new P2 package
Create a new P2 package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
P2PackageUploadRequest data = new P2PackageUploadRequest(); // P2PackageUploadRequest |
try {
P2PackageUpload result = apiInstance.packagesUploadP2(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadP2");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | P2PackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
PythonPackageUpload packagesUploadPython(owner, repo, data)
Create a new Python package
Create a new Python package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
PythonPackageUploadRequest data = new PythonPackageUploadRequest(); // PythonPackageUploadRequest |
try {
PythonPackageUpload result = apiInstance.packagesUploadPython(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadPython");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | PythonPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
RawPackageUpload packagesUploadRaw(owner, repo, data)
Create a new Raw package
Create a new Raw package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
RawPackageUploadRequest data = new RawPackageUploadRequest(); // RawPackageUploadRequest |
try {
RawPackageUpload result = apiInstance.packagesUploadRaw(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadRaw");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | RawPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
RpmPackageUpload packagesUploadRpm(owner, repo, data)
Create a new RedHat package
Create a new RedHat package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
RpmPackageUploadRequest data = new RpmPackageUploadRequest(); // RpmPackageUploadRequest |
try {
RpmPackageUpload result = apiInstance.packagesUploadRpm(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadRpm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | RpmPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
RubyPackageUpload packagesUploadRuby(owner, repo, data)
Create a new Ruby package
Create a new Ruby package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
RubyPackageUploadRequest data = new RubyPackageUploadRequest(); // RubyPackageUploadRequest |
try {
RubyPackageUpload result = apiInstance.packagesUploadRuby(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadRuby");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | RubyPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
SwiftPackageUpload packagesUploadSwift(owner, repo, data)
Create a new Swift package
Create a new Swift package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
SwiftPackageUploadRequest data = new SwiftPackageUploadRequest(); // SwiftPackageUploadRequest |
try {
SwiftPackageUpload result = apiInstance.packagesUploadSwift(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadSwift");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | SwiftPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
TerraformPackageUpload packagesUploadTerraform(owner, repo, data)
Create a new Terraform package
Create a new Terraform package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
TerraformPackageUploadRequest data = new TerraformPackageUploadRequest(); // TerraformPackageUploadRequest |
try {
TerraformPackageUpload result = apiInstance.packagesUploadTerraform(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadTerraform");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | TerraformPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
VagrantPackageUpload packagesUploadVagrant(owner, repo, data)
Create a new Vagrant package
Create a new Vagrant package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
VagrantPackageUploadRequest data = new VagrantPackageUploadRequest(); // VagrantPackageUploadRequest |
try {
VagrantPackageUpload result = apiInstance.packagesUploadVagrant(owner, repo, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesUploadVagrant");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | VagrantPackageUploadRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadAlpine(owner, repo, data)
Validate parameters for create Alpine package
Validate parameters for create Alpine package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
AlpinePackageUploadRequest data = new AlpinePackageUploadRequest(); // AlpinePackageUploadRequest |
try {
apiInstance.packagesValidateUploadAlpine(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadAlpine");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | AlpinePackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadCargo(owner, repo, data)
Validate parameters for create Cargo package
Validate parameters for create Cargo package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
CargoPackageUploadRequest data = new CargoPackageUploadRequest(); // CargoPackageUploadRequest |
try {
apiInstance.packagesValidateUploadCargo(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadCargo");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | CargoPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadCocoapods(owner, repo, data)
Validate parameters for create CocoaPods package
Validate parameters for create CocoaPods package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
CocoapodsPackageUploadRequest data = new CocoapodsPackageUploadRequest(); // CocoapodsPackageUploadRequest |
try {
apiInstance.packagesValidateUploadCocoapods(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadCocoapods");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | CocoapodsPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadComposer(owner, repo, data)
Validate parameters for create Composer package
Validate parameters for create Composer package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
ComposerPackageUploadRequest data = new ComposerPackageUploadRequest(); // ComposerPackageUploadRequest |
try {
apiInstance.packagesValidateUploadComposer(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadComposer");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | ComposerPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadConan(owner, repo, data)
Validate parameters for create Conan package
Validate parameters for create Conan package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
ConanPackageUploadRequest data = new ConanPackageUploadRequest(); // ConanPackageUploadRequest |
try {
apiInstance.packagesValidateUploadConan(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadConan");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | ConanPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadConda(owner, repo, data)
Validate parameters for create Conda package
Validate parameters for create Conda package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
CondaPackageUploadRequest data = new CondaPackageUploadRequest(); // CondaPackageUploadRequest |
try {
apiInstance.packagesValidateUploadConda(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadConda");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | CondaPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadCran(owner, repo, data)
Validate parameters for create CRAN package
Validate parameters for create CRAN package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
CranPackageUploadRequest data = new CranPackageUploadRequest(); // CranPackageUploadRequest |
try {
apiInstance.packagesValidateUploadCran(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadCran");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | CranPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadDart(owner, repo, data)
Validate parameters for create Dart package
Validate parameters for create Dart package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
DartPackageUploadRequest data = new DartPackageUploadRequest(); // DartPackageUploadRequest |
try {
apiInstance.packagesValidateUploadDart(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadDart");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | DartPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadDeb(owner, repo, data)
Validate parameters for create Debian package
Validate parameters for create Debian package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
DebPackageUploadRequest data = new DebPackageUploadRequest(); // DebPackageUploadRequest |
try {
apiInstance.packagesValidateUploadDeb(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadDeb");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | DebPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadDocker(owner, repo, data)
Validate parameters for create Docker package
Validate parameters for create Docker package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
DockerPackageUploadRequest data = new DockerPackageUploadRequest(); // DockerPackageUploadRequest |
try {
apiInstance.packagesValidateUploadDocker(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadDocker");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | DockerPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadGo(owner, repo, data)
Validate parameters for create Go package
Validate parameters for create Go package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
GoPackageUploadRequest data = new GoPackageUploadRequest(); // GoPackageUploadRequest |
try {
apiInstance.packagesValidateUploadGo(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadGo");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | GoPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadHelm(owner, repo, data)
Validate parameters for create Helm package
Validate parameters for create Helm package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
HelmPackageUploadRequest data = new HelmPackageUploadRequest(); // HelmPackageUploadRequest |
try {
apiInstance.packagesValidateUploadHelm(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadHelm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | HelmPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadHex(owner, repo, data)
Validate parameters for create Hex package
Validate parameters for create Hex package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
HexPackageUploadRequest data = new HexPackageUploadRequest(); // HexPackageUploadRequest |
try {
apiInstance.packagesValidateUploadHex(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadHex");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | HexPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadHuggingface(owner, repo, data)
Validate parameters for create Hugging Face package
Validate parameters for create Hugging Face package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
HuggingfacePackageUploadRequest data = new HuggingfacePackageUploadRequest(); // HuggingfacePackageUploadRequest |
try {
apiInstance.packagesValidateUploadHuggingface(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadHuggingface");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | HuggingfacePackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadLuarocks(owner, repo, data)
Validate parameters for create LuaRocks package
Validate parameters for create LuaRocks package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
LuarocksPackageUploadRequest data = new LuarocksPackageUploadRequest(); // LuarocksPackageUploadRequest |
try {
apiInstance.packagesValidateUploadLuarocks(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadLuarocks");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | LuarocksPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadMaven(owner, repo, data)
Validate parameters for create Maven package
Validate parameters for create Maven package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
MavenPackageUploadRequest data = new MavenPackageUploadRequest(); // MavenPackageUploadRequest |
try {
apiInstance.packagesValidateUploadMaven(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadMaven");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | MavenPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadNpm(owner, repo, data)
Validate parameters for create npm package
Validate parameters for create npm package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
NpmPackageUploadRequest data = new NpmPackageUploadRequest(); // NpmPackageUploadRequest |
try {
apiInstance.packagesValidateUploadNpm(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadNpm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | NpmPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadNuget(owner, repo, data)
Validate parameters for create NuGet package
Validate parameters for create NuGet package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
NugetPackageUploadRequest data = new NugetPackageUploadRequest(); // NugetPackageUploadRequest |
try {
apiInstance.packagesValidateUploadNuget(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadNuget");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | NugetPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadP2(owner, repo, data)
Validate parameters for create P2 package
Validate parameters for create P2 package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
P2PackageUploadRequest data = new P2PackageUploadRequest(); // P2PackageUploadRequest |
try {
apiInstance.packagesValidateUploadP2(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadP2");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | P2PackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadPython(owner, repo, data)
Validate parameters for create Python package
Validate parameters for create Python package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
PythonPackageUploadRequest data = new PythonPackageUploadRequest(); // PythonPackageUploadRequest |
try {
apiInstance.packagesValidateUploadPython(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadPython");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | PythonPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadRaw(owner, repo, data)
Validate parameters for create Raw package
Validate parameters for create Raw package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
RawPackageUploadRequest data = new RawPackageUploadRequest(); // RawPackageUploadRequest |
try {
apiInstance.packagesValidateUploadRaw(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadRaw");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | RawPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadRpm(owner, repo, data)
Validate parameters for create RedHat package
Validate parameters for create RedHat package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
RpmPackageUploadRequest data = new RpmPackageUploadRequest(); // RpmPackageUploadRequest |
try {
apiInstance.packagesValidateUploadRpm(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadRpm");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | RpmPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadRuby(owner, repo, data)
Validate parameters for create Ruby package
Validate parameters for create Ruby package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
RubyPackageUploadRequest data = new RubyPackageUploadRequest(); // RubyPackageUploadRequest |
try {
apiInstance.packagesValidateUploadRuby(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadRuby");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | RubyPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadSwift(owner, repo, data)
Validate parameters for create Swift package
Validate parameters for create Swift package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
SwiftPackageUploadRequest data = new SwiftPackageUploadRequest(); // SwiftPackageUploadRequest |
try {
apiInstance.packagesValidateUploadSwift(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadSwift");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | SwiftPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadTerraform(owner, repo, data)
Validate parameters for create Terraform package
Validate parameters for create Terraform package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
TerraformPackageUploadRequest data = new TerraformPackageUploadRequest(); // TerraformPackageUploadRequest |
try {
apiInstance.packagesValidateUploadTerraform(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadTerraform");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | TerraformPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
packagesValidateUploadVagrant(owner, repo, data)
Validate parameters for create Vagrant package
Validate parameters for create Vagrant package
// 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.PackagesApi;
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");
PackagesApi apiInstance = new PackagesApi();
String owner = "owner_example"; // String |
String repo = "repo_example"; // String |
VagrantPackageUploadRequest data = new VagrantPackageUploadRequest(); // VagrantPackageUploadRequest |
try {
apiInstance.packagesValidateUploadVagrant(owner, repo, data);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesValidateUploadVagrant");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| owner | String | ||
| repo | String | ||
| data | VagrantPackageUploadRequest | [optional] |
null (empty response body)
- Content-Type: application/json
- Accept: application/json