API Reference

Explore ReqMapper’s RESTful API endpoints.

GET

/api/projects

Retrieve a list of all projects.

Example Response:
[
  {
    "id": 1,
    "name": "Login System",
    "status": "Active"
  },
  {
    "id": 2,
    "name": "Payment Gateway",
    "status": "Archived"
  }
]
      
POST

/api/projects

Create a new project.

Request Body:
{
  "name": "New Project",
  "description": "Optional description"
}
      
Response:
{
  "id": 3,
  "name": "New Project",
  "status": "Active"
}
      
DELETE

/api/projects/{id}

Delete a specific project by its ID.

Response:
{
  "message": "Project deleted successfully."
}