bottle
create bottle
Changed onRecord new bottle
post/cellar/accounts/{accountID}/bottles
Request
- Base URLhttp://localhost:8081
- URLhttp://localhost:8081/cellar/accounts/{accountID}/bottles
- Authnone declared
Path parameters
accountIDinteger required
Account ID
Request body
Example request
{
"color": "white",
"country": "USA",
"name": "Number 8",
"region": "Napa Valley",
"review": "Great and inexpensive",
"sweetness": 1,
"varietal": "Merlot",
"vineyard": "Asti",
"vintage": 2012
}Response
Resource created
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking