epfl-api is a basic webservice linked with the EPFL services (mainly ldap), to be able to retrieve the organisational info easily.
- Users
- Units
- GET http://localhost:3000/api/public/users/sciper/150938
- GET http://localhost:3000/api/public/users/name/nicolas
- GET http://localhost:3000/api/public/users/search/nico
- GET http://localhost:3000/api/internal/users/name/nicolas (Internal should be replaced with an api key)
- GET http://localhost:3000/api/public/units/name/sti-it
- GET http://localhost:3000/api/public/units/search/sti
- Split api in modules (npm)
- epfl-ldap (with a model mapper)
- epfl-error-handler
- epfl-exceptions
- Cache
- Implement test suite
- Done thanks to mocha
- Conventions
- Manage cycle of life of api by a version management
- Manage a subscription to services to allow access only on granted request (by unique GID in the url)
- Error management
- Add HTTPS by default
- Extend API to more services (i.e. inventory numbers, epnet, ...)
It should be used in the intranet and it shouldn't be published outside DIODE
The [public]
parameter in the url has to be replaced by a personal GUID managed in keyDataFilter.js