[Backend] As a user, I can see the coin’s detailed information on the Detail screen
nkhanh44 opened this issue · 0 comments
nkhanh44 commented
Why
- The user should be able to see coin’s detailed information on the Detail screen.
Acceptance Criteria
- When the user navigates to the Detail screen, the following API is called:
GET /coins/{id}
. - If the API returns success, the user will see the coins items (handled in integrate stories #11, #14).
- If the API returns error, the user will see the error state using default alert with title is
Error
, message's content is from API response and the confirm button's title isOk
.
The error response will look as follows:
{
"error": "Could not find coin with the given id"
}