burgers

Get burger by ID

Retrieves a specific burger by its ID

get/burgers/{id}

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/burgers/{id}
  • Auth
    none declared

Path parameters

idstring required

ID of the burger

Response

Burger details found

idstring required
category'burger' | 'drink' | 'side' | 'topping' required
namestring required
descriptionstring required
pricenumber float required

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.