forked from ScoDoc/ScoDoc
Doc API: typos
This commit is contained in:
parent
c0d2f66081
commit
5cefe1a337
@ -38,9 +38,11 @@ from app.scodoc.sco_groups import get_group_members
|
|||||||
@scodoc
|
@scodoc
|
||||||
@permission_required(Permission.ScoView)
|
@permission_required(Permission.ScoView)
|
||||||
def justificatif(justif_id: int = None):
|
def justificatif(justif_id: int = None):
|
||||||
"""Retourne un objet justificatif à partir de son id
|
"""Retourne un objet justificatif à partir de son id.
|
||||||
|
|
||||||
Exemple de résultat:
|
Exemple de résultat:
|
||||||
|
|
||||||
|
```json
|
||||||
{
|
{
|
||||||
"justif_id": 1,
|
"justif_id": 1,
|
||||||
"etudid": 2,
|
"etudid": 2,
|
||||||
@ -52,7 +54,7 @@ def justificatif(justif_id: int = None):
|
|||||||
"entry_date": "2022-10-31T08:00+01:00",
|
"entry_date": "2022-10-31T08:00+01:00",
|
||||||
"user_id": 1 or null,
|
"user_id": 1 or null,
|
||||||
}
|
}
|
||||||
|
```
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return get_model_api_object(
|
return get_model_api_object(
|
||||||
|
Loading…
Reference in New Issue
Block a user