pizzas
Get pizza by ID
Retrieves a specific pizza by its ID
get/pizzas/{id}
Request
- Base URL<PIZZA_API_HOST>/api (relative, and the document was published on a file host, not at the API’s origin)
- URL<PIZZA_API_HOST>/api/pizzas/{id}
- Authnone declared
Path parameters
idstring required
ID of the pizza
Response
Pizza details found
Example response
{
"id": "pizza-1",
"name": "Margherita Pizza",
"description": "Classic pizza with tomato sauce and mozzarella",
"price": 12.99
}Changes
No recorded changes to this operation across all 4 revisions of this API.