bottle
show bottle
Changed onRetrieve bottle with given id
get/cellar/accounts/{accountID}/bottles/{bottleID}
Request
- Base URLhttp://localhost:8081
- URLhttp://localhost:8081/cellar/accounts/{accountID}/bottles/{bottleID}
- Authnone declared
Path parameters
accountIDinteger required
Account ID
bottleIDinteger required
Response
OK
Example response
{
"account": {
"href": "/accounts/1",
"id": 1,
"name": "test"
},
"href": "/accounts/1/bottles/1",
"id": 1,
"links": {
"account": {
"href": "/accounts/1",
"id": 1
}
},
"name": "Number 8",
"rating": 3,
"varietal": "Merlot",
"vineyard": "Asti",
"vintage": 2012
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking