Add version to REST API url

This commit is contained in:
Ashwin Bharambe 2024-11-18 18:53:06 -08:00
parent 7693786322
commit c73fe390ad
18 changed files with 32837 additions and 6032 deletions

View file

@ -46,7 +46,7 @@ class ShieldStore(Protocol):
class Safety(Protocol):
shield_store: ShieldStore
@webmethod(route="/safety/run_shield")
@webmethod(route="/safety/run-shield")
async def run_shield(
self,
shield_id: str,