Changes a Play button that is already on somebody's page — where it goes, what it is called, which pack it installs
POST
/api/v1/play/links/edit - Přihlášení
- Bez scope
- Scope
- Žádný
- Nástroj MCP
play.edit
Parametry
Žádné.
Tělo požadavku
| Pole | Typ a význam |
|---|---|
description | string One short paragraph (200 characters) about the server. Plain words |
listed | boolean Show the server in the public list of servers. |
name | string What the place is called |
packFile | string A version id to pin. Left out the newest is installed. |
packId | string The pack's id on that service (a number on CurseForge). |
packSource | string modrinth or curseforge. Empty for a server with no pack. |
server povinné | string The address a player types into Minecraft. host or host:port. |
token povinné | string Which button. From the address of the one you made. |
Odpověď 200
| Pole | Typ a význam |
|---|---|
blocked | boolean |
clicks vždy | integer |
createdAt vždy | string |
description | string |
hidden | boolean |
icon | string |
listed vždy | boolean |
moderationNote | string |
name vždy | string |
packFile | string |
packId | string |
packSource | string |
revoked | boolean |
server vždy | string |
token vždy | string |
url vždy | string |
used vždy | integer |
views vždy | integer |
Chyby
| Stav | Typ a význam |
|---|---|
400 | The request was not understood. |
401 | Sign in and try again. |
404 | There is nothing here, or nothing you may see. |
429 | Too many requests. |
500 | Something on our side went wrong. |
Každá chyba přijde jako { code, message, requestId }. Chyby