API v1

API v1#

The OpenAPI specicification should be avaible with Swagger UI at the address: http://127.0.0.1:8000/api/v1/swagger-ui/

OpenAPI specicification#

GET /api/v1/company/#

List all the companies.

Status Codes:
GET /api/v1/incident/#

List all the incidents.

Status Codes:
GET /api/v1/schema/#

OpenApi3 schema for this API. Format can be selected via content negotiation.

  • YAML: application/vnd.oai.openapi

  • JSON: application/vnd.oai.openapi+json

Query Parameters:
  • format (string) –

  • lang (string) –

Status Codes:
GET /api/v1/user/#

List all the users.

Status Codes:
POST /api/v1/user/#

Create a new user.

Status Codes:
PUT /api/v1/user/{id}#

Update an existing user.

Parameters:
  • id (integer) –

Status Codes:
DELETE /api/v1/user/{id}#

Delete a user.

Parameters:
  • id (integer) –

Status Codes: