mirror of
https://gitlab.aliens-lyon.fr/encartes/backend.git
synced 2026-03-17 22:51:04 +01:00
Precise API which was unclear
This commit is contained in:
parent
ce3563f627
commit
a84bf895f3
6
API.md
6
API.md
@ -37,7 +37,7 @@ __Errors :__
|
||||
|
||||
---------------------
|
||||
|
||||
### /api/map/
|
||||
### /api/map/get_all_floors/
|
||||
> Return every sites, buildings and floors of the DB.
|
||||
|
||||
__The json will look like :__
|
||||
@ -151,9 +151,9 @@ __Errors :__
|
||||
---------------------
|
||||
### /api/map/get_all_editions
|
||||
|
||||
> Return a list of all editions currently pending.
|
||||
> Return a list of all editions currently pending. ie returns a table of dict, each representing en edition.
|
||||
|
||||
__Each place is a dict :__
|
||||
__Each edition is a dict :__
|
||||
```json
|
||||
{
|
||||
'id': int // id of the edition,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user