| Package | Description |
|---|---|
| masecla.modrinth4j.endpoints.version.files | |
| masecla.modrinth4j.model.version |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EmptyResponse> |
VersionFilesEndpoints.deleteFileByHash(FileHash algorithm,
String hash)
This endpoint is used to delete a file from a project version.
|
CompletableFuture<ProjectVersion> |
VersionFilesEndpoints.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> |
VersionFilesEndpoints.getVersionByHash(FileHash algorithm,
List<String> hashes)
This endpoint is used to get the latest version of a project from a hash.
|
CompletableFuture<HashProjectVersionMap> |
VersionFilesEndpoints.getVersionByHash(FileHash algorithm,
String... hashes)
This endpoint is used to get the latest version of a project from a hash.
|
CompletableFuture<ProjectVersion> |
VersionFilesEndpoints.getVersionByHash(FileHash algorithm,
String hash)
This endpoint is used to get the latest version of a project from a hash.
|
| Modifier and Type | Method and Description |
|---|---|
static FileHash |
FileHash.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileHash[] |
FileHash.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2026. All rights reserved.