Skip to content
SoulFire LogoSoulFire

List recipes

GET
/v1/recipes

Authorization

headerAuthorizationBearer <JWT>

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

Query Parameters

result_item_id?string|null
ingredient.item_ids?array<string>
ingredient.tags?array<string>
ingredient.fingerprint?string|null
ingredient.name_contains?string|null
ingredient.enchantment_ids?array<string>
ingredient.minimum_count?|null
ingredient.minimum_remaining_durability?|null
recipe_types?array<string>
page_size?integer
Formatint64
Range0 <= value <= 4294967295
page_token?string
scope.instance_id*string
Formatuuid
scope.bot_id*string
Formatuuid

Response Body

Successful response.

application/json
  1. response
recipes?array<>
nextPageToken?string
registryHash?string
Example Request
curl -X GET 'http://127.0.0.1:38765/v1/recipes?scope.instance_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&scope.bot_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{
  "recipes": [
    {
      "recipeId": "string",
      "recipeType": "string",
      "group": "string",
      "ingredients": [
        {
          "itemIds": [
            "string"
          ],
          "tags": [
            "string"
          ],
          "count": 0
        }
      ],
      "result": {
        "itemId": "string",
        "count": 0,
        "maxStackSize": 0,
        "damage": 0,
        "maxDamage": 0,
        "customName": {
          "plainText": "string",
          "json": "string"
        },
        "lore": [
          {
            "plainText": "string",
            "json": "string"
          }
        ],
        "enchantments": [
          {
            "enchantmentId": "string",
            "level": 0
          }
        ],
        "food": {
          "nutrition": 0,
          "saturationModifier": 0.1,
          "canAlwaysEat": true,
          "eatSeconds": 0.1
        },
        "tool": {
          "toolTags": [
            "string"
          ],
          "defaultMiningSpeed": 0.1,
          "harvestLevel": 0
        },
        "armor": {
          "equipmentSlot": "string",
          "defense": 0,
          "toughness": 0.1,
          "knockbackResistance": 0.1
        },
        "components": {},
        "customDataNbt": "string",
        "fingerprint": "string",
        "potion": {
          "potionId": "string",
          "effects": [
            {
              "effectId": "string",
              "amplifier": 0,
              "durationTicks": 0,
              "ambient": true,
              "visible": true,
              "showIcon": true
            }
          ],
          "color": 0
        }
      },
      "experience": 0.1,
      "cookingTimeTicks": 0,
      "special": true
    }
  ],
  "nextPageToken": "string",
  "registryHash": "string"
}

Was this page helpful?