Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incident Management API

Python Flask PostgreSQL REST

A RESTful API for managing incident reports with full CRUD functionality, built with Flask and PostgreSQL.

Features

  • Create new incident reports
  • List all reported incidents
  • Get specific incident details
  • Update incident status
  • Delete incident reports
  • Data validation and error handling
  • PostgreSQL database integration

API Endpoints

Method Endpoint Description
POST /incidents Create new incident
GET /incidents List all incidents
GET /incidents/{id} Get specific incident
PUT /incidents/{id} Update incident status
DELETE /incidents/{id} Delete incident

Data Structure

Each incident contains:

{
    "id": 1,
    "reporter": "John Doe",
    "description": "Server is not responding",
    "status": "pending",
    "created_at": "2023-05-20T12:00:00.000000"
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages