Skip to content

Commit

Permalink
swn group sites endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
austinorr committed Oct 13, 2021
1 parent 79b61fe commit db106ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lyra/lyra/api/endpoints/hydstra.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ async def get_site_list() -> Dict:
return {"data": response}


@router.get("/swn_sites", response_model=HydstraJSONResponse)
async def get_swn_site_list() -> Dict:
response = await hydstra.api.get_swn_site_list()

return {"data": response}


@router.get("/sites/info", response_model=HydstraJSONResponse)
@router.post("/sites/info", response_model=HydstraJSONResponse)
async def get_sites_db_info(
Expand Down

0 comments on commit db106ae

Please sign in to comment.