Search

https://catpalm.net/api/search/

Search for Block Records

GET https://catpalm.net/api/search/block/${world.id}/${location}/${page}

Maximum of 50 queries in a single return

Path Parameters

Name
Type
Description

world.id*

int

location*

str

"x,y,z" x, z between +-30050 y between -64 ~ 319

page

int

No greater than 100

Headers

Name
Type
Description

Authorization*

str

{
    "logs": [
        {
            "type": "block_place",
            "player": 1,
            "material": "invisible_light_15",
            "quantity": 1,
            "time": 1670264966000
        },
        {
            "type": "block_break",
            "player": 1,
            "material": "WHITE_WOOL",
            "quantity": 1,
            "time": 1670264908000
        }
    ]
}

Please see Wiki for a list of materials used in the squares.

Block operation type list

block_break block_place block_update item_pickup item_drop container_get container_put entity_damage entity_capture entity_spawn entity_change entity_trade entity_lead

Search for online players in the area

GET https://catpalm.net/api/search/online/${world.id}/${location_a}/${location_b}

Range cannot exceed 30 x 30 x 30

Path Parameters

Name
Type
Description

world.id*

int

location_a*

str

"x,y,z" x, z between +-30050 y between -1000 ~ 1000

location_b*

str

"x,y,z" x, z between +-30050 y between -1000 ~ 1000

Headers

Name
Type
Description

Authorization*

str

{
    "players": [
        {
            "id": 4497,
            "name": "couponaa",
            "x": 947.6999999880791,
            "y": 121,
            "z": -33.30000001192093,
            "yaw": 0,
            "pitch": 0,
            "ping": 41,
            "mode": "adventure",
            "lang": "zh_tw"
        }
    ]
}

Search for a player

POST https://catpalm.net/api/search/player/${type}

Path Parameters

Name
Type
Description

type*

str

name/nick/uuid/discord

Headers

Name
Type
Description

Authorization*

str

Request Body

Name
Type
Description

*

str

Importing content by type

{
    "id": 1,
    "uuid": "63c09d08-a16d-4923-88fc-91df490c9e3b",
    "name": "xuancat0208",
    "nick": "XUAN",
    "phone": true
}

最后更新于