Reference
Java API
Reference for consuming the public EnderDash Java API from a Java plugin or integration.
Source of truth
Use the hosted Javadocs as the primary source of truth for the public Java surface.
- Maven repository:
https://repo.enderdash.com - Javadocs:
https://jd.enderdash.com
If this page and the Javadocs ever disagree, trust the Javadocs.
Dependency coordinates
Replace VERSION with the released version you want to target.
<repositories>
<repository>
<id>enderdash</id>
<url>https://repo.enderdash.com</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.enderdash</groupId>
<artifactId>enderdash-api</artifactId>
<version>VERSION</version>
</dependency>
</dependencies>Minimal integration example
import com.enderdash.agent.api.EnderDashApi;
public final class EnderDashIntegration {
private final EnderDashApi api;
public EnderDashIntegration(EnderDashApi api) {
this.api = api;
}
public EnderDashApi api() {
return api;
}
}Notes
- Pin a released version instead of tracking moving snapshots.
- Agent keys are not part of Java API authentication.
- If you need HTTP endpoints for scripts or dashboards, use HTTP API instead.
Was this page helpful?
Send a quick note if anything is missing or unclear.
Last updated on