Frontend/documentation/mojang/endpoint-status.md
Liam e6a28ed268
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m38s
mostly completed docs
2024-04-21 05:47:52 +01:00

1.1 KiB

title summary
Mojang - Endpoint Status Get the status of the Mojang APIs.

Mojang - Endpoint Status

The Mojang endpoint status endpoint allows you to get the status of the Mojang APIs.

Endpoint

GET /mojang/status

Example

curl -X GET "https://api.mcutils.xyz/mojang/status" -H "accept: application/json"

Response

{
  "cache": {
    "cached": false,
    "cachedTime": -1
  },
  "endpoints": [
    {
      "name": "Minecraft Textures",
      "hostname": "textures.minecraft.net",
      "status": "ONLINE"
    },
    {
      "name": "Minecraft Libraries",
      "hostname": "libraries.minecraft.net",
      "status": "ONLINE"
    },
    {
      "name": "Minecraft Services",
      "hostname": "api.minecraftservices.com",
      "status": "ONLINE"
    },
    {
      "name": "Mojang Assets",
      "hostname": "assets.mojang.com",
      "status": "ONLINE"
    },
    {
      "name": "Mojang API",
      "hostname": "api.mojang.com",
      "status": "ONLINE"
    },
    {
      "name": "Mojang Session Server",
      "hostname": "sessionserver.mojang.com",
      "status": "ONLINE"
    }
  ]
}