Skip to content

API Overview

The Mayo ASPM REST API provides programmatic access to all platform features.

Base URL

https://mayoaspm.com/api

Interactive Documentation

Response Format

All responses are JSON. Paginated endpoints return:

{
  "items": [...],
  "total": 100,
  "page": 1,
  "page_size": 50,
  "total_pages": 2
}

Error Responses

{
  "detail": "Error message"
}

Common status codes:

Code Meaning
200 Success
201 Created
400 Bad request
401 Unauthorized (missing/invalid auth)
403 Forbidden (insufficient permissions)
404 Not found
409 Conflict (duplicate)
429 Rate limited (queue full)
502 Upstream service unavailable