Create the following endpoint(s), with similar functionality presented in the Hello Books API:
As a client, I want to send a request...
- ...to get one existing
planet
, so that I can see theid
,name
,description
, and other data of theplanet
. - ... such that trying to get one non-existing
planet
responds with get a404
response, so that I know theplanet
resource was not found. - ... such that trying to get one
planet
with an invalidplanet_id
responds with get a400
response, so that I know theplanet_id
was invalid.