| Package | Description |
|---|---|
| masecla.modrinth4j.endpoints.project | |
| masecla.modrinth4j.endpoints.user |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Project> |
ProjectEndpoints.create(CreateProject.CreateProjectRequest request)
This endpoint will create a project based on the request.
|
CompletableFuture<List<Project>> |
ProjectEndpoints.get(List<String> projects)
This endpoint is used to fetch a list of projects by their IDs.
|
CompletableFuture<List<Project>> |
ProjectEndpoints.get(String... projects)
This endpoint is used to fetch a list of projects by their IDs.
|
CompletableFuture<Project> |
ProjectEndpoints.get(String project)
This endpoint is used to fetch a project by its ID.
|
CompletableFuture<List<Project>> |
ProjectEndpoints.getRandomProjects(int count)
This endpoint is used to get a list of random projects
|
com.google.gson.reflect.TypeToken<Project> |
GetProject.getResponseClass()
Returns the response class.
|
com.google.gson.reflect.TypeToken<List<Project>> |
GetRandomProjects.getResponseClass() |
com.google.gson.reflect.TypeToken<Project> |
CreateProject.getResponseClass()
Returns the response class.
|
com.google.gson.reflect.TypeToken<List<Project>> |
GetMultipleProjects.getResponseClass()
Returns the response class.
|
CompletableFuture<Project> |
CreateProject.sendRequest(CreateProject.CreateProjectRequest parameters,
Map<String,String> urlParams)
Sends the request.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.reflect.TypeToken<List<Project>> |
GetUserProjects.getResponseClass()
Returns the response class.
|
com.google.gson.reflect.TypeToken<List<Project>> |
GetUserFollowedProjects.getResponseClass()
Returns the response class.
|
CompletableFuture<List<Project>> |
UserEndpoints.getUserFollowedProjects(String id)
Gets the followed projects of a user by their ID
|
CompletableFuture<List<Project>> |
UserEndpoints.getUserProjects(String id)
Gets the projects of a user by their ID
|
Copyright © 2026. All rights reserved.