ShortU provides an interactive API documentation interface powered by Swagger UI at /api/docs/.
What is Swagger UI?
Swagger UI is a web-based tool that displays all available API endpoints, their parameters and expected responses. You can test API calls directly from the browser without writing any code.
Accessing the API documentation:
/api/docs/What you can do in Swagger UI:
Authenticating in Swagger UI:
Token YOUR_TOKEN_HEREOpenAPI specification:
The raw OpenAPI YAML spec is available at /api/openapi.yaml. You can import it into tools like Postman, Insomnia or any OpenAPI-compatible client.
For a step-by-step guide to getting an API token, see How to generate an API token.