Przejdź do treści
SoulFire LogoSoulFire

Get registry entry

Ten poradnik jest dostępny tylko po angielsku.

GET
/v1/registry/entry

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Query Parameters

kind?string
Value in"REGISTRY_KIND_UNSPECIFIED""REGISTRY_KIND_BLOCK""REGISTRY_KIND_ITEM""REGISTRY_KIND_ENTITY_TYPE""REGISTRY_KIND_BIOME""REGISTRY_KIND_DIMENSION""REGISTRY_KIND_RECIPE""REGISTRY_KIND_ENCHANTMENT""REGISTRY_KIND_EFFECT""REGISTRY_KIND_ATTRIBUTE""REGISTRY_KIND_GAME_EVENT""REGISTRY_KIND_SOUND""REGISTRY_KIND_PARTICLE""REGISTRY_KIND_CONTAINER"
id?string
instance_id?|
Formatuuid
bot_id?|
Formatuuid

Response Body

Successful response.

application/json
  1. response
entry?
registryHash?string
Example Request
curl -X GET 'http://127.0.0.1:38765/v1/registry/entry'
Example Response
{
  "entry": {
    "kind": "REGISTRY_KIND_UNSPECIFIED",
    "id": "string",
    "numericId": 0,
    "displayName": "string",
    "properties": {},
    "tags": [
      "string"
    ]
  },
  "registryHash": "string"
}

Czy ta strona jest pomocna?