List cached artifacts
const url = 'https://example.com/api/v1/artifacts';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/artifacts \ --cookie __Host-shardkeep_session=<__Host-shardkeep_session>Global administrators only. Every server jar in the Controller’s cache, newest first.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The cached artifacts.
object
object
Empty for software without builds (Vanilla) or uploads without one.
Lowercase hex SHA-256 of the jar.
UPSTREAM was downloaded from the publisher; UPLOAD was uploaded by an administrator.
Checked against the checksum the publisher published. Uploads never are.
Example
{ "items": [ { "source": "UPSTREAM" } ]}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"}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.