REST API interface#

HEAD /simulators/pydss/instances#

Returns UUIDs of all the instances currently running on the server

Status Codes:
  • 200 OK – UUIDs of all currently running PyDSS instances have been returned

  • 204 No Content – No active PyDSS instance found

GET /simulators/pydss/instances#

Returns UUIDs of all the instances currently running on the server

Status Codes:
  • 200 OK – UUIDs of all currently running PyDSS instances have been returned

  • 204 No Content – No active PyDSS instance found

HEAD /simulators/pydss/status/uuid/{uuid}#

Returns states of process of with UUID matching the passed UUID

Parameters:
  • uuid (string) –

Status Codes:
  • 200 OK – PyDSS instance with the provided UUID is currently running

  • 204 No Content – PyDSS instance with the provided UUID does not exist

GET /simulators/pydss/status/uuid/{uuid}#

Returns states of process of with UUID matching the passed UUID

Parameters:
  • uuid (string) –

Status Codes:
  • 200 OK – PyDSS instance with the provided UUID is currently running

  • 204 No Content – PyDSS instance with the provided UUID does not exist

HEAD /simulators/pydss/info#

Returns a dictionary of valid project and scenarios in the provided path

Query Parameters:
  • path (string) – (Required)

Status Codes:
GET /simulators/pydss/info#

Returns a dictionary of valid project and scenarios in the provided path

Query Parameters:
  • path (string) – (Required)

Status Codes:
PUT /simulators/pydss#

Run a command on an active instance of PyDSS

Status Codes:
POST /simulators/pydss#

Creates an instance of PyDSS and runs the simulation

Status Codes:
DELETE /simulators/pydss#

Deletes an active instance of PyDSS

Parameters:
  • uuid (string) –

Status Codes:
  • 200 OK – Successfully retrieved project information

  • 403 Forbidden – Provided path does not exist

POST /simulators/pydss/create#

Creates a new project for PyDSS (User uploads a zipped OpenDSS model)

Status Codes:
  • 200 OK – Successfully retrieved project information

  • 403 Forbidden – Provided path does not exist