Package-level declarations
Contains the code related to the Macrocosm HTTP API implementation
Types
Link copied to clipboard
Type of permission for an API Key
Link copied to clipboard
object AsyncLauncherKotlin
Utility object to be called from space.maxus.macrocosm.workarounds.AsyncLauncher
Link copied to clipboard
data class InlinedKeyData(val format: APIState, val createdAt: Instant, val permissions: List<APIPermission>, val owner: UUID)
Represents byte-inlined data (previously) stored in the key as base64
Link copied to clipboard
Macrocosm API Access Key data
Link copied to clipboard
object KeyManager
A global key manage for operations with API Keys
Functions
Link copied to clipboard
Builds up the embedded macrocosm Rest API server using the Netty ktor backend
Link copied to clipboard
Spins up the macrocosm Rest API, basically wrapping serverSpin in coroutine scope