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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions bindings/java/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ Class | Method | HTTP request | Description
*PackagesApi* | [**packagesUploadDart**](docs/PackagesApi.md#packagesUploadDart) | **POST** /packages/{owner}/{repo}/upload/dart/ | Create a new Dart package
*PackagesApi* | [**packagesUploadDeb**](docs/PackagesApi.md#packagesUploadDeb) | **POST** /packages/{owner}/{repo}/upload/deb/ | Create a new Debian package
*PackagesApi* | [**packagesUploadDocker**](docs/PackagesApi.md#packagesUploadDocker) | **POST** /packages/{owner}/{repo}/upload/docker/ | Create a new Docker package
*PackagesApi* | [**packagesUploadGeneric**](docs/PackagesApi.md#packagesUploadGeneric) | **POST** /packages/{owner}/{repo}/upload/generic/ | Create a new Generic package
*PackagesApi* | [**packagesUploadGo**](docs/PackagesApi.md#packagesUploadGo) | **POST** /packages/{owner}/{repo}/upload/go/ | Create a new Go package
*PackagesApi* | [**packagesUploadHelm**](docs/PackagesApi.md#packagesUploadHelm) | **POST** /packages/{owner}/{repo}/upload/helm/ | Create a new Helm package
*PackagesApi* | [**packagesUploadHex**](docs/PackagesApi.md#packagesUploadHex) | **POST** /packages/{owner}/{repo}/upload/hex/ | Create a new Hex package
Expand All @@ -269,6 +270,7 @@ Class | Method | HTTP request | Description
*PackagesApi* | [**packagesValidateUploadDart**](docs/PackagesApi.md#packagesValidateUploadDart) | **POST** /packages/{owner}/{repo}/validate-upload/dart/ | Validate parameters for create Dart package
*PackagesApi* | [**packagesValidateUploadDeb**](docs/PackagesApi.md#packagesValidateUploadDeb) | **POST** /packages/{owner}/{repo}/validate-upload/deb/ | Validate parameters for create Debian package
*PackagesApi* | [**packagesValidateUploadDocker**](docs/PackagesApi.md#packagesValidateUploadDocker) | **POST** /packages/{owner}/{repo}/validate-upload/docker/ | Validate parameters for create Docker package
*PackagesApi* | [**packagesValidateUploadGeneric**](docs/PackagesApi.md#packagesValidateUploadGeneric) | **POST** /packages/{owner}/{repo}/validate-upload/generic/ | Validate parameters for create Generic package
*PackagesApi* | [**packagesValidateUploadGo**](docs/PackagesApi.md#packagesValidateUploadGo) | **POST** /packages/{owner}/{repo}/validate-upload/go/ | Validate parameters for create Go package
*PackagesApi* | [**packagesValidateUploadHelm**](docs/PackagesApi.md#packagesValidateUploadHelm) | **POST** /packages/{owner}/{repo}/validate-upload/helm/ | Validate parameters for create Helm package
*PackagesApi* | [**packagesValidateUploadHex**](docs/PackagesApi.md#packagesValidateUploadHex) | **POST** /packages/{owner}/{repo}/validate-upload/hex/ | Validate parameters for create Hex package
Expand Down Expand Up @@ -359,6 +361,12 @@ Class | Method | HTTP request | Description
*ReposApi* | [**reposUpstreamDockerPartialUpdate**](docs/ReposApi.md#reposUpstreamDockerPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/docker/{slug_perm}/ | Partially update a Docker upstream config for this repository.
*ReposApi* | [**reposUpstreamDockerRead**](docs/ReposApi.md#reposUpstreamDockerRead) | **GET** /repos/{owner}/{identifier}/upstream/docker/{slug_perm}/ | Retrieve a Docker upstream config for this repository.
*ReposApi* | [**reposUpstreamDockerUpdate**](docs/ReposApi.md#reposUpstreamDockerUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/docker/{slug_perm}/ | Update a Docker upstream config for this repository.
*ReposApi* | [**reposUpstreamGenericCreate**](docs/ReposApi.md#reposUpstreamGenericCreate) | **POST** /repos/{owner}/{identifier}/upstream/generic/ | Create a Generic upstream config for this repository.
*ReposApi* | [**reposUpstreamGenericDelete**](docs/ReposApi.md#reposUpstreamGenericDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/generic/{slug_perm}/ | Delete a Generic upstream config for this repository.
*ReposApi* | [**reposUpstreamGenericList**](docs/ReposApi.md#reposUpstreamGenericList) | **GET** /repos/{owner}/{identifier}/upstream/generic/ | List Generic upstream configs for this repository.
*ReposApi* | [**reposUpstreamGenericPartialUpdate**](docs/ReposApi.md#reposUpstreamGenericPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/generic/{slug_perm}/ | Partially update a Generic upstream config for this repository.
*ReposApi* | [**reposUpstreamGenericRead**](docs/ReposApi.md#reposUpstreamGenericRead) | **GET** /repos/{owner}/{identifier}/upstream/generic/{slug_perm}/ | Retrieve a Generic upstream config for this repository.
*ReposApi* | [**reposUpstreamGenericUpdate**](docs/ReposApi.md#reposUpstreamGenericUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/generic/{slug_perm}/ | Update a Generic upstream config for this repository.
*ReposApi* | [**reposUpstreamGoCreate**](docs/ReposApi.md#reposUpstreamGoCreate) | **POST** /repos/{owner}/{identifier}/upstream/go/ | Create a Go upstream config for this repository.
*ReposApi* | [**reposUpstreamGoDelete**](docs/ReposApi.md#reposUpstreamGoDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/go/{slug_perm}/ | Delete a Go upstream config for this repository.
*ReposApi* | [**reposUpstreamGoList**](docs/ReposApi.md#reposUpstreamGoList) | **GET** /repos/{owner}/{identifier}/upstream/go/ | List Go upstream configs for this repository.
Expand Down Expand Up @@ -511,6 +519,11 @@ Class | Method | HTTP request | Description
- [Format](docs/Format.md)
- [FormatSupport](docs/FormatSupport.md)
- [FormatSupportUpstream](docs/FormatSupportUpstream.md)
- [GenericPackageUpload](docs/GenericPackageUpload.md)
- [GenericPackageUploadRequest](docs/GenericPackageUploadRequest.md)
- [GenericUpstream](docs/GenericUpstream.md)
- [GenericUpstreamRequest](docs/GenericUpstreamRequest.md)
- [GenericUpstreamRequestPatch](docs/GenericUpstreamRequestPatch.md)
- [GeoIpLocation](docs/GeoIpLocation.md)
- [GoPackageUpload](docs/GoPackageUpload.md)
- [GoPackageUploadRequest](docs/GoPackageUploadRequest.md)
Expand Down
1 change: 1 addition & 0 deletions bindings/java/src/docs/FormatSupport.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**dependencies** | **Boolean** | If true the package format supports dependencies |
**distributions** | **Boolean** | If true the package format supports distributions |
**fileLists** | **Boolean** | If true the package format supports file lists |
**filepaths** | **Boolean** | If true the package format supports filepaths |
**metadata** | **Boolean** | If true the package format supports metadata |
**upstreams** | [**FormatSupportUpstream**](FormatSupportUpstream.md) | |
**versioning** | **Boolean** | If true the package format supports versioning |
Expand Down
106 changes: 106 additions & 0 deletions bindings/java/src/docs/GenericPackageUpload.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@

# GenericPackageUpload

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**architectures** | [**List<Architecture>**](Architecture.md) | | [optional]
**cdnUrl** | **String** | | [optional]
**checksumMd5** | **String** | | [optional]
**checksumSha1** | **String** | | [optional]
**checksumSha256** | **String** | | [optional]
**checksumSha512** | **String** | | [optional]
**dependenciesChecksumMd5** | **String** | A checksum of all of the package's dependencies. | [optional]
**dependenciesUrl** | **String** | | [optional]
**description** | **String** | A textual description of this package. | [optional]
**displayName** | **String** | | [optional]
**distro** | [**Distribution**](Distribution.md) | | [optional]
**distroVersion** | [**DistributionVersion**](DistributionVersion.md) | | [optional]
**downloads** | **java.math.BigInteger** | | [optional]
**epoch** | **java.math.BigInteger** | The epoch of the package version (if any). | [optional]
**extension** | **String** | | [optional]
**filename** | **String** | | [optional]
**files** | [**List<PackageFile>**](PackageFile.md) | | [optional]
**format** | **String** | | [optional]
**formatUrl** | **String** | | [optional]
**freeableStorage** | **java.math.BigInteger** | Amount of storage that will be freed if this package is deleted | [optional]
**fullyQualifiedName** | **String** | | [optional]
**identifierPerm** | **String** | Unique and permanent identifier for the package. | [optional]
**identifiers** | **Map<String, String>** | Return a map of identifier field names and their values. | [optional]
**indexed** | **Boolean** | | [optional]
**isCancellable** | **Boolean** | | [optional]
**isCopyable** | **Boolean** | | [optional]
**isDeleteable** | **Boolean** | | [optional]
**isDownloadable** | **Boolean** | | [optional]
**isMoveable** | **Boolean** | | [optional]
**isQuarantinable** | **Boolean** | | [optional]
**isQuarantined** | **Boolean** | | [optional]
**isResyncable** | **Boolean** | | [optional]
**isSecurityScannable** | **Boolean** | | [optional]
**isSyncAwaiting** | **Boolean** | | [optional]
**isSyncCompleted** | **Boolean** | | [optional]
**isSyncFailed** | **Boolean** | | [optional]
**isSyncInFlight** | **Boolean** | | [optional]
**isSyncInProgress** | **Boolean** | | [optional]
**license** | **String** | The license of this package. | [optional]
**name** | **String** | The name of this package. | [optional]
**namespace** | **String** | | [optional]
**namespaceUrl** | **String** | | [optional]
**numFiles** | **java.math.BigInteger** | | [optional]
**originRepository** | **String** | | [optional]
**originRepositoryUrl** | **String** | | [optional]
**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
**rawLicense** | **String** | The raw license string. | [optional]
**release** | **String** | The release of the package version (if any). | [optional]
**repository** | **String** | | [optional]
**repositoryUrl** | **String** | | [optional]
**securityScanCompletedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was completed. | [optional]
**securityScanStartedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was started. | [optional]
**securityScanStatus** | [**SecurityScanStatusEnum**](#SecurityScanStatusEnum) | | [optional]
**securityScanStatusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning status was updated. | [optional]
**selfHtmlUrl** | **String** | | [optional]
**selfUrl** | **String** | | [optional]
**signatureUrl** | **String** | | [optional]
**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
**slug** | **String** | The public unique identifier for the package. | [optional]
**slugPerm** | **String** | | [optional]
**spdxLicense** | **String** | The SPDX license identifier for this package. | [optional]
**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
**stageStr** | **String** | | [optional]
**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
**status** | **java.math.BigInteger** | The synchronisation status of the package. | [optional]
**statusReason** | **String** | A textual description for the synchronous status reason (if any | [optional]
**statusStr** | **String** | | [optional]
**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
**statusUrl** | **String** | | [optional]
**subtype** | **String** | | [optional]
**summary** | **String** | A one-liner synopsis of this package. | [optional]
**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
**tagsAutomatic** | [**Tags**](Tags.md) | | [optional]
**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
**typeDisplay** | **String** | | [optional]
**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
**uploader** | **String** | | [optional]
**uploaderUrl** | **String** | | [optional]
**version** | **String** | The raw version for this package. | [optional]
**versionOrig** | **String** | | [optional]
**vulnerabilityScanResultsUrl** | **String** | | [optional]


<a name="SecurityScanStatusEnum"></a>
## Enum: SecurityScanStatusEnum
Name | Value
---- | -----
AWAITING_SECURITY_SCAN | &quot;Awaiting Security Scan&quot;
SECURITY_SCANNING_IN_PROGRESS | &quot;Security Scanning in Progress&quot;
SCAN_DETECTED_VULNERABILITIES | &quot;Scan Detected Vulnerabilities&quot;
SCAN_DETECTED_NO_VULNERABILITIES | &quot;Scan Detected No Vulnerabilities&quot;
SECURITY_SCANNING_DISABLED | &quot;Security Scanning Disabled&quot;
SECURITY_SCANNING_FAILED | &quot;Security Scanning Failed&quot;
SECURITY_SCANNING_SKIPPED | &quot;Security Scanning Skipped&quot;
SECURITY_SCANNING_NOT_SUPPORTED | &quot;Security Scanning Not Supported&quot;



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

# GenericPackageUploadRequest

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filepath** | **String** | The full filepath of the package including filename. |
**name** | **String** | The name of this package. | [optional]
**packageFile** | **String** | The primary file for the package. |
**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. | [optional]



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

# GenericUpstream

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
**available** | **String** | | [optional]
**canReindex** | **String** | | [optional]
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the upstream source was created. | [optional]
**disableReason** | [**DisableReasonEnum**](#DisableReasonEnum) | | [optional]
**disableReasonText** | **String** | Human-readable explanation of why this upstream is disabled | [optional]
**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
**hasFailedSignatureVerification** | **String** | | [optional]
**indexPackageCount** | **String** | The number of packages available in this upstream source | [optional]
**indexStatus** | **String** | The current indexing status of this upstream source | [optional]
**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
**lastIndexed** | **String** | The last time this upstream source was indexed | [optional]
**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
**slugPerm** | **String** | | [optional]
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
**upstreamPrefix** | **String** | A unique prefix used to distinguish this upstream source within the repository. Generic upstreams can represent entirely different file servers, and we do not attempt to blend them. The prefix ensures each source remains separate, and requests including this prefix are routed to the correct upstream. | [optional]
**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It&#39;s recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]


<a name="AuthModeEnum"></a>
## Enum: AuthModeEnum
Name | Value
---- | -----
NONE | &quot;None&quot;
USERNAME_AND_PASSWORD | &quot;Username and Password&quot;
TOKEN | &quot;Token&quot;


<a name="DisableReasonEnum"></a>
## Enum: DisableReasonEnum
Name | Value
---- | -----
N_A | &quot;N/A&quot;
UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | &quot;Upstream points to its own repository&quot;
MISSING_UPSTREAM_SOURCE | &quot;Missing upstream source&quot;
UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | &quot;Upstream was disabled by request of user&quot;


<a name="ModeEnum"></a>
## Enum: ModeEnum
Name | Value
---- | -----
PROXY_ONLY | &quot;Proxy Only&quot;
CACHE_AND_PROXY | &quot;Cache and Proxy&quot;



Loading