API REST

Endpoints de varredura

6 min de leitura

Os principais endpoints ficam sob o prefixo /api/v1 e retornam JSON paginado.

  • GET /api/v1/scans — lista suas varreduras.
  • POST /api/v1/scans — cria uma nova varredura.
  • GET /api/v1/scans/{id} — detalhes e status.
  • GET /api/v1/scans/{id}/vulnerabilities — vulnerabilidades.
curl -X POST https://protez.app/api/v1/scans \
  -H "Authorization: Bearer SEU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"target_url": "https://exemplo.com"}'

Este artigo foi útil? Precisa de mais ajuda?