SpaceTradersAPI / issues-and-suggestions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ship info to the /structures/:structureId/deposit endpoint

TheMadBotter opened this issue · comments

The response of POST /game/structures/:structureId/deposit currently has the form of

{ "deposit": {...}, "structure": {...} }

However, this action also modifies the ship's cargo. It would be nice to add this to the response, just like buy and sell orders. Something like

{ "deposit": {...}, "structure": {...}, "ship": {...} }