Pagination

The GET /api/v1/stigs endpoint supports pagination to handle large lists of STIGs.

Parameters

ParameterTypeDescription
pagequeryPage number (default: 1)
limitqueryItems per page (default: 100, max: 500)

Response Format

The response includes a pagination object with metadata about the current page and total results.

{
  "stigs": [...],
  "pagination": {
    "page": 1,
    "limit": 100,
    "total": 371,
    "totalPages": 4
  }
}

Examples

# Get the second page, 50 items per page
curl "https://www.stigviewer.com/api/v1/stigs?page=2&limit=50"

Was this page helpful?