Check recipe materials
Ten poradnik jest dostępny tylko po angielsku.
POST
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
application/json- body
scope?recipeId?stringcount?integerFormat
int32Successful response.
application/json- response
canCraft?booleanmaximumCraftCount?integerFormat
int32missing?array<>requiredStation?string|nullcurl -X POST 'http://127.0.0.1:38765/v1/recipes:canCraft' \
-H 'Content-Type: application/json' \
-d '{
"recipeId": "",
"count": 0
}'Example Response
{
"canCraft": true,
"maximumCraftCount": 0,
"missing": [
{
"ingredient": {
"itemIds": [
"string"
],
"tags": [
"string"
],
"count": 0
},
"available": 0,
"missing": 0
}
],
"requiredStation": "string"
}Czy ta strona jest pomocna?
