Skip to content

06 02 SIMVA API

Julio SANTILARIO BERTHILIER edited this page Jan 19, 2024 · 2 revisions

06.02. SIMVA API

The SIMVA API is a REST API in OpenAPI format that can be found documented at https://github.com/e-ucm/simva/blob/master/api.yaml.

SIMVA API is accessible to comunicate at https://simva-api.external.test/ using RestFox or Postman.

Those API call are for admin and default login : Screenshot

Those API call are for student access: Screenshot

Those API call are for teacher access: Screenshot

A validation of input parameters with express-body-schema from the schemas from api.yaml is used via a script accessible at https://github.com/e-ucm/simva/blob/master/src/lib/utils/validator.js

The mongoose model is excluded via :

x-swagger-mongoose:
    exclude-schema: true
Clone this wiki locally