Mythical Platform
Mythical Platform
  • The Mythical Platform API
  • Quick start
    • Authenticate
    • Create a guest player
    • Create an item type
    • Grant an item to a player
    • Update item metadata
    • Use webhooks for real time messages
    • Buy a listed item
  • API Reference
    • Players
    • Item Types
    • Items
    • Marketplace
      • Listings
      • Offers
      • Quick trade
      • Transaction history
      • Exchange rate
    • Webhook management
    • System
Powered by GitBook
On this page
  1. API Reference

System

PreviousWebhook management

Last updated 6 months ago

Retrieve an authentication token

post

Retrieve an authentication token to be used for API communication.

Header parameters
clientIdstring · uuidRequired
clientSecretstringRequired
Responses
200
Success
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
post
POST /v1/auth/token HTTP/1.1
Host: 
clientId: 123e4567-e89b-12d3-a456-426614174000
clientSecret: text
Accept: */*
{
  "bearerToken": "jwtToken"
}

Check the health of the system

get

Check the health of the system

Authorizations
Header parameters
x-mythical-environment-idstring · uuidRequired

Identifier for the environment that this request should interact with

Responses
200
Success
application/json
get
GET /v1/system/health HTTP/1.1
Host: 
Authorization: Bearer JWT
x-mythical-environment-id: 123e4567-e89b-12d3-a456-426614174000
Accept: */*
200

Success

{
  "redisServices": "Healthy",
  "databaseServices": "Healthy"
}
  • POSTRetrieve an authentication token
  • GETCheck the health of the system