Epitech's API is located at https://intra.epitech.eu/
and for the most part is any intranet page with the format=json
param added.
To access most endpoints a PHPSESSID
cookie must be set to an authenticated session. Authentification can be done with an autologin code or via Office 365 oauth.
API endpoints and what they require and do. JSON file of endpoints below the documentation.
General API endpoints
GET /?format=json
SESSION REQUIRED
Return general information
GET /user/notification/coming?format=json
SESSION REQUIRED
Return upcoming appointments
GET /user/notification/message?format=json
SESSION REQUIRED
Return notification messages
GET /user/notification/alert?format=json
SESSION REQUIRED
Return notification alerts
GET /user/notification/missed?format=json
SESSION REQUIRED
Return notification alerts
API endpoints related to user sessions
Authenticate with a autologin link code
{path} | given at the admin autolog endpoint |
---|
POST /logout?format=json
SESSION REQUIRED
Unauthenticate current session
API endpoints related to Epitech users
GET /user/?format=json
SESSION REQUIRED
Return authenticated user's profile
GET /user/{login}/?format=json
SESSION REQUIRED
Return a user's profile
{login} | login of an Epitech user |
---|
GET /user/{login}/notes?format=json
SESSION REQUIRED
Return a user's grades
{login} | login of an Epitech user |
---|
GET /user/{login}/binome?format=json
SESSION REQUIRED
Return a user's partners in past projects
{login} | login of an Epitech user |
---|
GET /user/{login}/netsoul?format=json
SESSION REQUIRED
Return a user's netsoul values
{login} | login of an Epitech user |
---|
GET /module/{year}/{module}/{instance}/{activity}/project/?format=json
SESSION REQUIRED
Return an Epitech project's information
Name | Description |
---|---|
{year} | Project year |
{module} | Module code |
{instance} | Module instance |
{activity} | Activity code |
GET /module/{year}/{module}/{instance}/{activity}/file/?format=json
SESSION REQUIRED
Return an Epitech project's files
Name | Description |
---|---|
{year} | Project year |
{module} | Module code |
{instance} | Module instance |
{activity} | Activity code |
GET /module/{year}/{module}/{instance}/{activity}/rdv/?format=json
SESSION REQUIRED
Return an Epitech project's appointments
Name | Description |
---|---|
{year} | Project year |
{module} | Module code |
{instance} | Module instance |
{activity} | Activity code |
GET /admin/autolog?format=json
SESSION REQUIRED
Return a user's autolog URL