toppings
Get all toppings
Returns a list of all toppings
get/toppings
Request
- Base URL<BURGER_API_HOST>/api (relative, and the document was published on a file host, not at the API’s origin)
- URL<BURGER_API_HOST>/api/toppings
- Authnone declared
Query parameters
categorystring
Filter toppings by category
Response
List of toppings
Example response
[
{
"id": "burger-1",
"name": "Margherita Burger",
"description": "Classic burger with tomato sauce and mozzarella",
"price": 12.99
}
]Changes
No recorded changes to this operation across all 5 revisions of this API.