Download OpenAPI specification:Download
API for VILLASweb. Documentation in progress... please be patient
Return a JSON representation of all simulations
Simulations received successfully TODO CHECK CODE!
Unable to receive simulations
Simulation object to add to DB
Name required | string |
Running | boolean |
Models | Array of object (SimulationModel) |
Projects | Array of object (Project) |
UserID required | integer |
User | object (User) |
StartParameters | object |
Unable to find user or unable to create simulation
Unable to save user
SimulationID required | integer ID of a simulation |
Simulation object with new properties
Name required | string |
Running | boolean |
Models | Array of object (SimulationModel) |
Projects | Array of object (Project) |
UserID required | integer |
User | object (User) |
StartParameters | object |
PUT Simulation Unknown for ID or unable to save simulation
Unable to find user or unable to save user or
SimulationID required | integer ID of a simulation |
Simulation received successfully (TODO CHECK CODE)
Counts successful (TODO CHECK IF CODE CORRECT!)
Files obtained successfully (TODO CHECK CODE!)
Could not retrieve user's files
FileID required | integer ID of a file |
File received successfully (TODO CHECK CODE)
GET Unknown file for ID
Projects received successfully TODO CHECK CODE!
Unable to receive projects
Project object to add to DB
Name required | string |
UserID required | integer |
User | object (User) |
SimulationID required | integer |
Simulation | object (Simulation) |
Visualizations | Array of object (Visualization) |
Unable to find user or unable to save user or unknown project for id
Unable to create project or unable to save project
ProjectID required | integer ID of a project |
Project object with new properties
Name required | string |
UserID required | integer |
User | object (User) |
SimulationID required | integer |
Simulation | object (Simulation) |
Visualizations | Array of object (Visualization) |
PUT Simulation Unknown for ID
Unable to find user or unable to save user or unable to find simulation of project or unable to save simulation of project or unable to save project
ProjectID required | integer ID of a project |
Project received successfully (TODO CHECK CODE)
GET Unknown project for ID
SimulationModel received successfully TODO CHECK CODE!
Unable to find SimulationModel
SimulationModel object to add to DB
Name required | string |
OutputLength required | integer |
InputLength required | integer |
BelongsToSimulationID required | integer |
BelongsToSimulation | object (Simulation) |
BelongsToSimulatorID required | integer |
BelongsToSimulator | object (Simulator) |
StartParameters | object |
OutputMapping | Array of object (Signal) |
InputMapping | Array of object (Signal) |
Unable to find Simulation
Unable to save simulation or unable to create simulation model
SimulationModelID required | integer ID of a SimulationModel |
SimulationModel object with new properties
Name required | string |
OutputLength required | integer |
InputLength required | integer |
BelongsToSimulationID required | integer |
BelongsToSimulation | object (Simulation) |
BelongsToSimulatorID required | integer |
BelongsToSimulator | object (Simulator) |
StartParameters | object |
OutputMapping | Array of object (Signal) |
InputMapping | Array of object (Signal) |
Unable to find SimulationModel
Unable to save SimulationModel
SimulationModelID required | integer ID of a SimulationModel |
SimulationModel received successfully (TODO CHECK CODE)
GET Unknown SimulationModel for ID
SimulationModelID required | integer ID of a SimulationModel |
DELETE Unknown SimulationModel
Unable to find Simulation or unable to save changed simulation or unable to remove SimulationModel
Simulators received successfully TODO CHECK CODE!
Unable to find Simulators
Simulator object to add to DB
UUID required | string |
Host required | string |
ModelType required | string |
UpTime | integer |
State | string |
StateUpdateAt | string |
Properties | object |
RawProperties | object |
Unable to create simulator
SimulatorID required | integer ID of a Simulator |
Simulator object with new properties
UUID required | string |
Host required | string |
ModelType required | string |
UpTime | integer |
State | string |
StateUpdateAt | string |
Properties | object |
RawProperties | object |
PUT Unknown simulator
PUT ERROR finding simulator or Unable to save Simulator
SimulatorID required | integer ID of a Simulator |
Simulator received successfully (TODO CHECK CODE)
GET Unknown Simulator for ID
SimulatorID required | integer ID of a Simulator |
Array containing simulator actions
POST unknown simulator
Unable to send actions to simulator
File object to upload TODO CHANGE TO FORM
Name required | string |
Path required | string |
Type required | string |
Size required | integer |
ImageHeight | integer |
ImageWidth | integer |
UserID required | integer |
User | object (User) |
Date required | string |
File could not be uploaded because unable to process incoming form
File could not be uploaded and GET unable to find user or unable to save reference file or unable to save user or unable to create directory
User object to add to DB
Username required | string |
Password required | string |
Role required | string |
Mail required | string |
Projects | Array of object (Project) |
Simulations | Array of object (Simulation) |
Files | Array of object (File) |
Unable to create user with existing username, username is already taken
Unable to create user
UserID required | integer ID of a User |
User object with new properties
Username required | string |
Password required | string |
Role required | string |
Mail required | string |
Projects | Array of object (Project) |
Simulations | Array of object (Simulation) |
Files | Array of object (File) |
Username is already taken
Invalid authorization
Unable to find user
PUT Unknown user
UserID required | integer ID of a User |
User received successfully (TODO CHECK CODE)
GET Unknown User for ID
User received successfully (TODO CHECK CODE)
GET Unknown User for ID (TODO CHECK CODE)
User object to authenticate
Username required | string |
Password required | string |
Role required | string |
Mail required | string |
Projects | Array of object (Project) |
Simulations | Array of object (Simulation) |
Files | Array of object (File) |
Authentication successful (TODO CHECK CODE and TOKEN)
Unable to create user with existing username, username is already taken
Invalid or missing credentials, unkown username or wrong password
Unable to compare passwords, internal server error
Return a JSON representation of all visualizations
Visualizations received successfully TODO CHECK CODE!
Unable to receive visualizations
Visualization object to add to DB
Name required | string |
Grid required | integer |
UserID required | integer |
User | object (User) |
ProjectID required | integer |
Project | object (Project) |
Widgets | Array of object (Widget) |
Unable to find project
Unable to save project or unable to create visualization
VisualizationID required | integer ID of a Visualization |
Visualization object with new properties
Name required | string |
Grid required | integer |
UserID required | integer |
User | object (User) |
ProjectID required | integer |
Project | object (Project) |
Widgets | Array of object (Widget) |
PUT Unknown Visualization
Unable to save Visualization
VisualizationID required | integer ID of a Visualization |
Visualization received successfully (TODO CHECK CODE)
GET Unknown Visualization
VisualizationID required | integer ID of a Visualization |
DELETE Unknown Visualization or unable to find project
Unable to remove Visualization or Unable to save project