Get a catalog plugin with its versions
const url = 'https://example.com/api/v1/catalog/plugin?id=example';const options = { method: 'GET', headers: {cookie: '__Host-shardkeep_session=<__Host-shardkeep_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/catalog/plugin?id=example' \ --cookie __Host-shardkeep_session=<__Host-shardkeep_session>Any signed-in user. A plugin by its catalog ID (modrinth:<project> or hangar:<owner>/<slug>, passed as the
id query parameter since it may contain a slash), with its versions, newest first, and any denylist entries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The plugin.
object
The project page at its source.
object
object
Set when the dependency is in the catalog.
Denylist entries about this plugin; denied versions are not listed.
object
Empty means every version.
Example
{ "id": "modrinth:Vebnzrzj", "source": "modrinth", "versions": [ { "channel": "release" } ]}Not signed in, or the credentials are invalid.
An RFC 9457 problem with a machine-readable code.
object
Stable machine-readable error code.
Example
{ "type": "about:blank", "title": "Conflict", "status": 409, "code": "conflict"}Not found, or not visible to you.
An RFC 9457 problem with a machine-readable code.
object
Stable machine-readable error code.
Example
{ "type": "about:blank", "title": "Conflict", "status": 409, "code": "conflict"}Shardkeep is free software under the AGPL-3.0. Minecraft is a trademark of Mojang AB; Shardkeep is not affiliated with or endorsed by Mojang or Microsoft.