public class VersionFilesEndpoints extends Object
| Constructor and Description |
|---|
VersionFilesEndpoints() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EmptyResponse> |
deleteFileByHash(FileHash algorithm,
String hash)
This endpoint is used to delete a file from a project version.
|
CompletableFuture<ProjectVersion> |
getLatestVersionByHash(FileHash algorithm,
String hash,
GetProjectLatestVersionFromHash.GetProjectLatestVersionFromHashRequest request)
This endpoint is used to get the latest version of a project from a hash.
|
CompletableFuture<HashProjectVersionMap> |
getLatestVersionsByHash(GetProjectLatestVersionsFromHashes.GetProjectLatestVersionsFromHashesRequest request)
This endpoint is used to get the latest version of a project from a hash.
|
CompletableFuture<HashProjectVersionMap> |
getVersionByHash(FileHash algorithm,
List<String> hashes)
This endpoint is used to get the latest version of a project from a hash.
|
CompletableFuture<HashProjectVersionMap> |
getVersionByHash(FileHash algorithm,
String... hashes)
This endpoint is used to get the latest version of a project from a hash.
|
CompletableFuture<ProjectVersion> |
getVersionByHash(FileHash algorithm,
String hash)
This endpoint is used to get the latest version of a project from a hash.
|
public CompletableFuture<ProjectVersion> getVersionByHash(FileHash algorithm, String hash)
algorithm - The algorithm to usehash - The hash to useCompletableFuture that will return the latest version of
the project with the given hash.public CompletableFuture<HashProjectVersionMap> getVersionByHash(FileHash algorithm, List<String> hashes)
algorithm - - The algorithm to usehashes - - The hashes to useCompletableFuture that will return the latest version of
the project with the given hash.public CompletableFuture<HashProjectVersionMap> getVersionByHash(FileHash algorithm, String... hashes)
algorithm - - The algorithm to usehashes - - The hashes to useCompletableFuture that will return the latest version of
the project with the given hash.public CompletableFuture<EmptyResponse> deleteFileByHash(FileHash algorithm, String hash)
algorithm - The algorithm to usehash - The hash to useCompletableFuture that will return an empty response.public CompletableFuture<ProjectVersion> getLatestVersionByHash(FileHash algorithm, String hash, GetProjectLatestVersionFromHash.GetProjectLatestVersionFromHashRequest request)
algorithm - The algorithm to usehash - The hash to userequest - The request to useCompletableFuture that will return the latest version of
the project with the given hash.public CompletableFuture<HashProjectVersionMap> getLatestVersionsByHash(GetProjectLatestVersionsFromHashes.GetProjectLatestVersionsFromHashesRequest request)
request - The request to useCompletableFuture that will return the latest version of
the project with the given hash.Copyright © 2026. All rights reserved.