forked from ScoDoc/ScoDoc
API: missing routes /etudiant/ine/<string:ine>/formsemestre/<int:formsemestre_id>/bulletin/pdf et .../nip/...
This commit is contained in:
parent
3ab3d398df
commit
64f9de95a5
@ -218,7 +218,6 @@ def etudiant_formsemestres(etudid: int = None, nip: int = None, ine: int = None)
|
|||||||
methods=["GET"],
|
methods=["GET"],
|
||||||
defaults={"version": "long", "pdf": False},
|
defaults={"version": "long", "pdf": False},
|
||||||
)
|
)
|
||||||
# Version PDF non testée
|
|
||||||
@bp.route(
|
@bp.route(
|
||||||
"/etudiant/etudid/<int:etudid>/formsemestre/<int:formsemestre_id>/bulletin/pdf",
|
"/etudiant/etudid/<int:etudid>/formsemestre/<int:formsemestre_id>/bulletin/pdf",
|
||||||
methods=["GET"],
|
methods=["GET"],
|
||||||
@ -254,6 +253,16 @@ def etudiant_formsemestres(etudid: int = None, nip: int = None, ine: int = None)
|
|||||||
methods=["GET"],
|
methods=["GET"],
|
||||||
defaults={"version": "short", "pdf": True},
|
defaults={"version": "short", "pdf": True},
|
||||||
)
|
)
|
||||||
|
@bp.route(
|
||||||
|
"/etudiant/nip/<string:nip>/formsemestre/<int:formsemestre_id>/bulletin/pdf",
|
||||||
|
methods=["GET"],
|
||||||
|
defaults={"version": "long", "pdf": True},
|
||||||
|
)
|
||||||
|
@bp.route(
|
||||||
|
"/etudiant/ine/<string:ine>/formsemestre/<int:formsemestre_id>/bulletin/pdf",
|
||||||
|
methods=["GET"],
|
||||||
|
defaults={"version": "long", "pdf": True},
|
||||||
|
)
|
||||||
@api_web_bp.route(
|
@api_web_bp.route(
|
||||||
"/etudiant/etudid/<int:etudid>/formsemestre/<int:formsemestre_id>/bulletin",
|
"/etudiant/etudid/<int:etudid>/formsemestre/<int:formsemestre_id>/bulletin",
|
||||||
methods=["GET"],
|
methods=["GET"],
|
||||||
@ -269,7 +278,6 @@ def etudiant_formsemestres(etudid: int = None, nip: int = None, ine: int = None)
|
|||||||
methods=["GET"],
|
methods=["GET"],
|
||||||
defaults={"version": "long", "pdf": False},
|
defaults={"version": "long", "pdf": False},
|
||||||
)
|
)
|
||||||
# Version PDF non testée
|
|
||||||
@api_web_bp.route(
|
@api_web_bp.route(
|
||||||
"/etudiant/etudid/<int:etudid>/formsemestre/<int:formsemestre_id>/bulletin/pdf",
|
"/etudiant/etudid/<int:etudid>/formsemestre/<int:formsemestre_id>/bulletin/pdf",
|
||||||
methods=["GET"],
|
methods=["GET"],
|
||||||
|
Loading…
Reference in New Issue
Block a user