14.2.7
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.

no authcache 5 minsince 1.2.0
Responses
StatusBodyWhen
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
FieldTypenullDescription
lateststringyesLatest plugin version (x.y.z) from the newest GitHub release. null when unknown.
minimumstringyesMinimum accepted version set by the operator. null when unset, in which case 426 never happens.
downloadUrlstringyesURL 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 ·