---
name: swagger-api-rest-for-patrowl-engines
description: "Swagger API-REST for Patrowl Engines API skill. Use when working with Swagger API-REST for Patrowl Engines for root, liveness, readiness. Covers 14 endpoints."
version: 1.0.0
generator: lapsh
---

# Swagger API-REST for Patrowl Engines
API version: 1.0.0

## Auth
No authentication required.

## Base URL
http://localhost:5001/engines/nmap/

## Setup
1. No auth setup needed
2. GET / -- index page
3. POST /startscan -- create first startscan

## Endpoints
14 endpoints across 12 groups. See references/api-spec.lap for full details.

### Root
| Method | Path | Description |
|--------|------|-------------|
| GET | / | Index page |

### Liveness
| Method | Path | Description |
|--------|------|-------------|
| GET | /liveness | Liveness page |

### Readiness
| Method | Path | Description |
|--------|------|-------------|
| GET | /readiness | Readiness page |

### Test
| Method | Path | Description |
|--------|------|-------------|
| GET | /test | Test page |

### Reloadconfig
| Method | Path | Description |
|--------|------|-------------|
| GET | /reloadconfig | Configuration reloading page |

### Info
| Method | Path | Description |
|--------|------|-------------|
| GET | /info | Engine info page |

### Clean
| Method | Path | Description |
|--------|------|-------------|
| GET | /clean | Clean all scans |
| GET | /clean/{scanId} | Clean scan |

### Status
| Method | Path | Description |
|--------|------|-------------|
| GET | /status | Status on all scans |
| GET | /status/{scanId} | Status of a scan |

### Stopscans
| Method | Path | Description |
|--------|------|-------------|
| GET | /stopscans | Stop all scans |

### Stop
| Method | Path | Description |
|--------|------|-------------|
| GET | /stop/{scanId} | Stop a scan |

### Getfindings
| Method | Path | Description |
|--------|------|-------------|
| GET | /getfindings/{scanId} | Get findings on finished scans |

### Startscan
| Method | Path | Description |
|--------|------|-------------|
| POST | /startscan | Start a new scan |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all resource?" -> GET /
- "List all liveness?" -> GET /liveness
- "List all readiness?" -> GET /readiness
- "List all test?" -> GET /test
- "List all reloadconfig?" -> GET /reloadconfig
- "List all info?" -> GET /info
- "List all clean?" -> GET /clean
- "Get clean details?" -> GET /clean/{scanId}
- "List all status?" -> GET /status
- "Get status details?" -> GET /status/{scanId}
- "List all stopscans?" -> GET /stopscans
- "Get stop details?" -> GET /stop/{scanId}
- "Get getfinding details?" -> GET /getfindings/{scanId}
- "Create a startscan?" -> POST /startscan

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints return the modified resource on success

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
