List a server's plugins
const url = 'https://example.com/api/v1/servers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/plugins?unmanaged=false';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/servers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/plugins?unmanaged=false' \ --cookie __Host-shardkeep_session=<__Host-shardkeep_session>Needs plugins.read. The plugins Shardkeep manages on the server, with any denylist entry and the newest
compatible catalog version when it is newer. With unmanaged=true, the server’s Agent is also asked for the jars
users placed in plugins/ themselves; a jar declaring the same plugin name as a managed plugin is flagged, since
the server would load only one of them.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The plugins.
object
object
The installation’s ID.
The catalog plugin ID, or upload:<name> for an uploaded jar.
False for uploads.
False when it was installed with force, or is an upload.
True when it was installed because another plugin requires it.
Plugin IDs of installed plugins that require this one.
Set when the catalog’s denylist names this version.
object
The newest catalog version compatible with the server, when it is newer than this one.
object
True while the running server has plugin or software changes waiting for its next start.
object
False when the server’s Agent could not be asked (its Node is not connected, or it has no container yet).
object
From the jar’s plugin.yml; absent when it has none.
A managed plugin installation declaring the same plugin name.
Example
{ "items": [ { "pluginId": "modrinth:Vebnzrzj", "source": "CATALOG" } ]}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"}Signed in, but not allowed.
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.