HomeGetting startedRegistering with an HTTP keyGetting a credential without DiscordServer claim flowReport rules and the block windowVersion check and 426Authentication and server keysThe blocking modelError handlingRate limitsVersions and compatibilityPOST /v1/servers/claimPOST /v1/servers/reportPOST /v1/servers/revokePOST /plugin/v1/claimPOST /plugin/v1/reportGET /plugin/v1/versionGET /maps/{seed}GET /jobs/{seed}GET /seedsGET /stats/overviewGET /stats/protectionAPI changelog
Blocking API
GET
/api/plugin/v1/version
Returns the latest plugin version and the minimum accepted version. No auth, cached for 5 minutes. This path never returns 500.
Responses
| Status | Body | When |
|---|---|---|
| 200 | {"latest":"1.2.2","minimum":null,"downloadUrl":"https://github.com/as1tself/slmaps-server-plugin/releases/tag/v1.2.2"} | Unknown values are null. latest and downloadUrl come from the latest GitHub release; minimum is an operator setting (null when unset). Cache-Control: public, max-age=300. |
Response fields
| Field | Type | null | Description |
|---|---|---|---|
| latest | string | yes | Latest plugin version (x.y.z) from the newest GitHub release. null when unknown. |
| minimum | string | yes | Minimum accepted version set by the operator. null when unset, in which case 426 never happens. |
| downloadUrl | string | yes | URL of the latest release page. null when unknown. |
Example
curl https://slmaps.com/api/plugin/v1/version -H "User-Agent: MyServer/1.0"
Response example
{
"latest": "1.2.2",
"minimum": null,
"downloadUrl": "https://github.com/as1tself/slmaps-server-plugin/releases/tag/v1.2.2"
}What the plugin does
Asked on start and every 12 hours. Non-200 answers and unknown fields count as "unknown". If pluginVersion is below minimum, claim and report are refused with 426, so the plugin points the operator at downloadUrl.
SLMAPS is the seed-map viewer for SCP: Secret Laboratory. These pages describe the public API of slmaps.com.slmaps.com ·