{"name":"Minecraft Items API","version":"1.0.0","endpoints":{"items":{"GET /api/item/:itemName":"Get item/block image (auto-detects 2D/3D)","GET /api/item/:itemName?glint=true":"With enchantment glint","GET /api/item/:itemName/size=N":"Scaled (1-20x)","GET /api/item/:itemName/left|right":"Rotated 90°","GET /api/item/:itemName/bg=COLOR":"With background (color name or hex)","GET /api/item/:itemName/.../...":"Combine up to 3 parameters","GET /api/items":"List all available items","GET /api/cache":"Cache statistics","GET /api/stats":"API analytics statistics"},"apiKeys":{"POST /api/setup":"Create API key (body: {username})","GET /api/admin/keys?adminKey=KEY":"List all API keys (admin)","DELETE /api/admin/keys/:id?adminKey=KEY":"Deactivate API key (admin)","GET /api/admin/keys/:id/stats?adminKey=KEY":"API key stats (admin)"},"resourcePacks":{"POST /api/setup/resourcepack?apiKey=KEY":"Upload resource pack","GET /api/resourcepack/:packId?apiKey=KEY":"Check pack status","GET /api/resourcepacks?apiKey=KEY":"List your packs","DELETE /api/resourcepack/:packId?apiKey=KEY":"Delete pack"},"mobs":{"GET /api/mobs":"List all available mobs","GET /api/mob/:mobName":"Render full mob model","GET /api/mob/:mobName?glint=true":"With enchantment glint","GET /api/mob/:mobName/size=N":"Scaled mob (1-20x)","GET /api/mob/:mobName/left|right":"Rotated 90°","GET /api/mob/:mobName/bg=COLOR":"With background","GET /api/mob/:mobName/.../...":"Combine up to 3 parameters"},"tooltips":{"POST /api/tooltip":"Render item tooltip (body: {itemName, rarity?, lore?, enchantments?, unbreakable?, attributes?, scale?})","POST /api/tooltip/share":"Create shareable tooltip link (requires apiKey)","GET /api/tooltip/share/:token":"Get shared tooltip (no API key needed)","POST /api/itemtooltip":"Render item + tooltip side by side (body: {itemName, rarity?, lore?, enchantments?, unbreakable?, attributes?, scale?, resourcePackId?, customModelData?})","POST /api/itemtooltip/share":"Create shareable item+tooltip link (requires apiKey)","GET /api/itemtooltip/share/:token":"Get shared item+tooltip (no API key needed)"},"rotatingGif":{"POST /api/item/gif":"Create rotating item GIF (body: {apiKey, itemName, frames?, speed?, scale?, backgroundColor?, glint?, resourcePackId?, customModelData?})","POST /api/item/gif/direct":"Generate and return GIF directly without shareable URL (body: {itemName, frames?, speed?, scale?, backgroundColor?, glint?, resourcePackId?, customModelData?})","GET /api/item/gif/share/:token":"Get shared rotating GIF (no API key needed)"}},"examples":{"flat2D":["/api/item/diamond","/api/item/iron_sword","/api/item/apple"],"blocks3D":["/api/item/dirt","/api/item/grass_block","/api/item/stone"],"skulls":["/api/item/skeleton_skull","/api/item/creeper_head","/api/item/player_head"],"mobs":["/api/mob/zombie","/api/mob/creeper","/api/mob/pig","/api/mob/cow/size=3"],"scaled":["/api/item/diamond/size=10","/api/mob/enderman/size=5"],"rotated":["/api/item/diamond_sword/left","/api/mob/spider/right"],"background":["/api/item/diamond/bg=white","/api/mob/creeper/bg=FF5733"],"combined":["/api/mob/zombie/size=10/left/bg=white","/api/item/dirt/size=5/right/bg=black"],"glint":["/api/item/diamond_sword?glint=true","/api/mob/zombie?glint=true"],"tooltip":"POST /api/tooltip with body: {\"itemName\":\"Diamond Sword\",\"rarity\":\"rare\",\"lore\":[\"A legendary blade\"],\"enchantments\":[{\"name\":\"Sharpness\",\"level\":5}],\"unbreakable\":true,\"attributes\":[{\"type\":\"attack_damage\",\"value\":7},{\"type\":\"attack_speed\",\"value\":1.6}],\"scale\":2}","rotatingGif":"POST /api/item/gif with body: {\"apiKey\":\"YOUR_KEY\",\"itemName\":\"diamond_sword\",\"frames\":36,\"speed\":50,\"scale\":2,\"glint\":true}"},"colors":["white","black","red","green","blue","yellow","orange","purple","pink","gray","transparent","or hex: FF5733"],"caching":"Images cached for 1 hour. Check X-Cache header (HIT/MISS).","documentation":{"apiKeys":"See API_KEYS.md","resourcePacks":"See RESOURCE_PACKS.md","awsSetup":"See AWS_SETUP.md"}}