RESTfulMC/postman_collection.json

268 lines
23 KiB
JSON
Raw Normal View History

2024-04-07 00:20:26 -07:00
{
"info": {
"_postman_id": "100e9c6f-d2ea-4b97-bcdd-489789e54ce8",
"name": "RESTfulMC v1",
2024-04-08 21:15:24 -07:00
"description": "StartFragmentA simple, yet useful RESTful API for Minecraft utilizing Springboot.",
2024-04-07 00:20:26 -07:00
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "24401599"
},
"item": [
{
"name": "Player",
"item": [
{
"name": "Query Player",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/player/<query>",
"host": [
"{{endpoint}}"
],
"path": [
"player",
"<query>"
]
}
},
"response": [
{
2024-04-08 21:15:24 -07:00
"name": "Example",
2024-04-07 00:20:26 -07:00
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/player/Rainnny",
"host": [
"{{endpoint}}"
],
"path": [
"player",
"Rainnny"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8"
}
],
"cookie": [],
2024-04-08 21:15:24 -07:00
"body": "{\n \"cached\": -1,\n \"uniqueId\": \"fc1d5fe7-f29b-430d-80bb-3b093a638b0f\",\n \"username\": \"Rainnny\",\n \"skin\": {\n \"url\": \"http://textures.minecraft.net/texture/ac8db1928dc94e332cca7be9567c7bbf4c56563000667d3a58ade257cde34f82\",\n \"model\": \"SLIM\",\n \"parts\": {\n \"HEAD\": \"https://mc.rainnny.club/player/head/fc1d5fe7f29b430d80bb3b093a638b0f.png\"\n }\n },\n \"cape\": {\n \"url\": \"http://textures.minecraft.net/texture/2340c0e03dd24a11b15a8b33c2a7e9e32abb2051b2481d0ba7defd635ca7a933\"\n }\n}"
2024-04-07 00:20:26 -07:00
}
]
},
{
"name": "Skin Part Texture",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/player/head/Rainnny.png?size=256",
"host": [
"{{endpoint}}"
],
"path": [
"player",
"head",
"Rainnny.png"
],
"query": [
{
"key": "size",
"value": "256"
}
]
}
},
"response": []
}
]
},
{
"name": "Server",
"item": [
{
"name": "Query Server",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/server/<platform>/<hostname>",
"host": [
"{{endpoint}}"
],
"path": [
"server",
"<platform>",
"<hostname>"
]
}
},
"response": [
{
2024-04-08 21:15:24 -07:00
"name": "Query Java Server Example",
2024-04-07 00:20:26 -07:00
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/server/java/hypixel.net",
"host": [
"{{endpoint}}"
],
"path": [
"server",
"java",
"hypixel.net"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json;charset=UTF-8"
2024-04-08 21:15:24 -07:00
}
],
"cookie": [],
"body": "{\n \"value\": {\n \"version\": {\n \"name\": \"Requires MC 1.8 / 1.20\",\n \"protocol\": 47,\n \"protocolName\": \"1.8\"\n },\n \"favicon\": {\n \"base64\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAttklEQVR42nV7B3hc5bXt2Oq9Te+9d400TV2yLFndkiXZlm1Z7pY7roCxKcEBktiQhCQkXMilmRoIJYRwk3Ah/eYBCYnBQGICBAImBmPcrfXWf0am3ff8ffs7lkYzc/b61957rf+cIzObAr/qGh47tmDNKrSNLMKGK67B5r3XYtboEqT6hpHuH0Gax9Tno3ceYm3d0jH15de+FI1zR9A4OB3S/0fRNTaGkVXLMLFxFVZeshZrtk9i3aXrsP7TWI8NjI0iLtuATZf//+OS3RuxdfcmbNuzCTv2bsSOKzd9Gtv5u73X78a+A1/Bdd+8Dnuu34NrD1yHic3r0DO29JzDGf29rGNg+J0fP/nw+eu+uZ8nNoH6Pp5k3zz+0TY09A2htr0H0ZZOhBvbEWqYhWB9G4J1rQikmhFIt0jh5/+lSDZ9Gr5k45ei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jHDvYfC+zGQmAGVGVHsUEwEwGVFBJ6tmT1jP5NcZq6XzNBMDOCaAi7atKNRILbKKx8+c2AuQgAHqCFyYAiyZXEQDq7KUbO
},
{
"name": "Query Bedrock Server Example",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/server/bedrock/gateway.wildnetwork.net",
"host": [
"{{endpoint}}"
],
"path": [
"server",
"bedrock",
"gateway.wildnetwork.net"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
2024-04-07 00:20:26 -07:00
{
2024-04-08 21:15:24 -07:00
"key": "Content-Type",
"value": "application/json;charset=UTF-8"
}
],
"cookie": [],
"body": "{\n \"value\": {\n \"uniqueId\": \"7545692553236775078\",\n \"edition\": \"MCPE\",\n \"version\": {\n \"protocol\": 662,\n \"name\": \"1.20.70\"\n },\n \"gamemode\": {\n \"name\": \"Survival\",\n \"numericId\": 1\n },\n \"hostname\": \"gateway.wildnetwork.net\",\n \"ip\": \"198.244.215.7\",\n \"port\": 19132,\n \"players\": {\n \"online\": 6,\n \"max\": 1000\n },\n \"motd\": {\n \"raw\": [\n \"WildNetwork\",\n \"WildNetwork - Prison - SMP\"\n ],\n \"clean\": [\n \"WildNetwork\",\n \"WildNetwork - Prison - SMP\"\n ],\n \"html\": [\n \"WildNetwork\",\n \"WildNetwork - Prison - SMP\"\n ]\n }\n },\n \"cached\": 1712635659910\n}"
}
]
},
{
"name": "Mojang Blocked?",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/server/blocked/<hostname>",
"host": [
"{{endpoint}}"
],
"path": [
"server",
"blocked",
"<hostname>"
]
}
},
"response": [
{
"name": "Example",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/server/blocked/hypixel.net",
"host": [
"{{endpoint}}"
],
"path": [
"server",
"blocked",
"hypixel.net"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
2024-04-07 00:20:26 -07:00
{
2024-04-08 21:15:24 -07:00
"key": "Content-Type",
"value": "application/json;charset=UTF-8"
2024-04-07 00:20:26 -07:00
}
],
"cookie": [],
2024-04-08 21:15:24 -07:00
"body": "{\n \"blocked\": false\n}"
2024-04-07 00:20:26 -07:00
}
]
2024-04-08 21:15:24 -07:00
},
{
"name": "Server Favicon",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{endpoint}}/server/icon/<hostname>",
"host": [
"{{endpoint}}"
],
"path": [
"server",
"icon",
"<hostname>"
]
}
},
"response": []
2024-04-07 00:20:26 -07:00
}
]
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"packages": {},
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"packages": {},
"exec": [
""
]
}
}
],
"variable": [
{
"key": "endpoint",
"value": "https://mc.rainnny.club",
"type": "string"
}
]
}