Skip to content

APIKeys & Monitoring - #114

Merged
JacksonTheMaster merged 7 commits into
nightlyfrom
feat-monitoring-apikeys
Oct 4, 2025
Merged

APIKeys & Monitoring#114
JacksonTheMaster merged 7 commits into
nightlyfrom
feat-monitoring-apikeys

Conversation

@JacksonTheMaster

Copy link
Copy Markdown
Member

This PR adds a basic implementation of API keys that can be obtained from {{base_url}}/api/v2/auth/setup/apikey.
If the endpoint receives a GET, it issues an API key with one month validity.
If it receives a POST with {"durationMonths": 6}, it issues a key with six months of validity and so on. Negative values are not allowed.

This also refactors the internal serverrun check to use a global in config where applicable to reduce backend load.

This also adds a monitoring endpoint on {{base_url}}/api/v2/monitor/gameserver/status that responds with a 200 OK and json like this: {"isRunning":false} // {"isRunning":true}.

@JacksonTheMaster JacksonTheMaster added the enhancement New feature or request label Sep 30, 2025
@JacksonTheMaster
JacksonTheMaster changed the base branch from main to nightly September 30, 2025 18:11

@mitoskalandiel mitoskalandiel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't see any issues with this from my (admittedly limited) perspective.

@JacksonTheMaster
JacksonTheMaster merged commit 38213fb into nightly Oct 4, 2025
1 check passed
@JacksonTheMaster
JacksonTheMaster deleted the feat-monitoring-apikeys branch October 4, 2025 16:31
JacksonTheMaster added a commit that referenced this pull request Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants