Frontend/documentation/mojang/endpoint-status.md

63 lines
1.1 KiB
Markdown
Raw Normal View History

2024-04-21 05:47:52 +01:00
---
2024-04-22 20:07:53 +01:00
title: Mojang Endpoint Status
2024-04-21 05:47:52 +01:00
summary: Get the status of the Mojang APIs.
---
2024-04-22 20:07:53 +01:00
# Overview
2024-04-21 05:47:52 +01:00
The Mojang endpoint status endpoint allows you to get the status of the Mojang APIs.
## Endpoint
```
GET /mojang/status
```
## Example
```bash
curl -X GET "https://api.mcutils.xyz/mojang/status" -H "accept: application/json"
```
## Response
```json
{
"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"
}
]
}
```