Skip to content

Commit

Permalink
clean: endpoint non réalisés
Browse files Browse the repository at this point in the history
  • Loading branch information
herve.le-bars committed Jun 7, 2024
1 parent b99166b commit e1d6ca3
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions backend/bloom/services/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,36 +270,6 @@ async def get_zone(zones_id:int):
with db.session() as session:
return zone_repository.get_zone_by_id(session,zones_id)



@app.get("/statics/{zones}")
async def get_statics_zones():
return {}

@app.get("/maptiles/mpa")
async def get_maptile_mpa():
return {"data":{}}

@app.get("/maptiles/territorial")
async def get_maptile_territorial():
return {"data":{}}

@app.get("/maptiles/coastal")
async def get_maptile_coastal():
return {"data":{}}

@app.get("/maptiles")
async def list_maptiles(request:Request):
return {
"mpa": f"{request.url_for('get_maptile_mpa')}",
"territorial": f"{request.url_for('get_maptile_territorial')}",
"coastal": f"{request.url_for('get_maptile_coastal')}",
}

@app.get("/maptiles")
async def list_maptiles():
return {"data":{}}

@app.get("/")
async def root(request:Request):
return {
Expand Down

0 comments on commit e1d6ca3

Please sign in to comment.