L'intra d'Epitech (intra.epitech.eu
) possède une API assez vaste mais malheureusement non documentée.
J'ai regroupé ici un certains nombres d'urls concernant cette API.
- POST /
- &login=login_x (obligatoire)
- &password=password_unix (obligatoire)
- &remember_me=on (optionnel)
-
GET /
-
GET /user/notification/coming
-
GET /user/notification/message
-
GET /user/notification/alert
-
GET /user/
LOGIN_X
-
GET /user/
LOGIN_X
/notes -
GET /user/
LOGIN_X
/netsoul
Le forum fonctionne avec un système de nodes
.
On est d'abord situé à /
. Si on consulte la catégorie Bocal
, on se retrouve dans /bocal
.
-
GET /forum/node/list
-
&nodes[]=path_node (obligatoire). Le path correspond au path de la catégorie dans laquelle on se situe (exemple: /bocal ou /Administration)
-
GET /forum/index/get
-
GET /forum/index/dashboard
-
GET /forum/thread/list
-
&node=path_node (obligatoire)
-
GET /forum/post/list
-
&thread=path_du_thread (si mon thread s'appelle
Salut
et qu'il se trouve dans la catégorieBocal
, path_du_thread sera/bocal/salut
. Le nom du thread s'obtient via le listing des threads).
Frère tu gères