{"openapi":"3.1.0","info":{"title":"Create Tactics ThreeJS Sprite","version":"0.1.0","description":"Sprite tables and tools for tactical RPG style sprites. Every response is public and read-only. Sheets sent to the check route are not stored. The sheet and the tables are MIT: see the `notice` field of /api/v1.","license":{"name":"MIT","url":"https://3d.internet.dev/LICENSE.md"}},"servers":[{"url":"https://3d.internet.dev"}],"paths":{"/api/v1":{"get":{"summary":"Manifest: version, counts, notice and links","parameters":[],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/data":{"get":{"summary":"All of tactics-sprite-data.json","parameters":[],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/cells":{"get":{"summary":"Every sprite cell","parameters":[],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/cells/{id}":{"get":{"summary":"One cell","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Cell id, for example P1"}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/frames":{"get":{"summary":"Every SHP frame","parameters":[],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/frames/{index}":{"get":{"summary":"One SHP frame, tiles back to front","parameters":[{"name":"index","in":"path","required":true,"schema":{"type":"string"},"description":"0-363"}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/sequences":{"get":{"summary":"Every SEQ sequence","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"Filter by name"}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/sequences/{seq}":{"get":{"summary":"One sequence","parameters":[{"name":"seq","in":"path","required":true,"schema":{"type":"string"},"description":"0-217"}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/animations":{"get":{"summary":"Every named animation","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"Filter by name"},{"name":"category","in":"query","required":false,"schema":{"type":"string"},"description":"One of: Idle, Walk, Float, Walk To, Rotation, Status Poses, Jump, Charging / Status, Singing / Dancing, Casting, Frozen Walk, Reactions, Unarmed, Swing, Item Throw, Poke, Gun, Bow, Book / Instrument, Shield, Abilities, Dragoon Jump, Cloth / Bag, Spin Punch"}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/animations/{name}":{"get":{"summary":"One animation with its two sequences","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"},"description":"Animation name, for example Swing High"}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/draw":{"get":{"summary":"The tiles one moment draws, for testing a port","parameters":[{"name":"animation","in":"query","required":true,"schema":{"type":"string"},"description":"Animation name"},{"name":"view","in":"query","required":false,"schema":{"type":"string"},"description":"0-7, default 1"},{"name":"tick","in":"query","required":false,"schema":{"type":"string"},"description":"Ticks since it started, default 0"},{"name":"loop","in":"query","required":false,"schema":{"type":"string"},"description":"true or false, default the animation’s own"},{"name":"water","in":"query","required":false,"schema":{"type":"string"},"description":"true or false, default the animation’s own"}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/kit.tar.gz":{"get":{"summary":"The kit: runtime, data, a1.png, item models, checker, layout template, notice","parameters":[],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/sheet-template.svg":{"get":{"summary":"The 256x488 layout as labeled boxes","parameters":[{"name":"scale","in":"query","required":false,"schema":{"type":"string"},"description":"1-8, default 4"}],"responses":{"200":{"description":"OK"},"400":{"description":"Invalid parameter"},"404":{"description":"Not found"}}}},"/api/v1/sheets/check":{"post":{"summary":"Check a sheet PNG against the tile layout. It is read and dropped, never stored","requestBody":{"required":true,"content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"A report with ok, errors, warnings, colors and emptyCells"},"413":{"description":"Over 1 MiB"}}}}}}