link
Extract path parameters
Get item by ID
@app.get("/items/{item_id}") def read_item(item_id: int): return {"item_id": item_id}