API Reference Overview
All public REST API endpoints in the ConformaESG Integration Service.
Base URL
Authentication Headers
| Header | Required | Description |
|---|
X-API-Key | ✅ all requests | Service authentication |
X-User-Id | ✅ POST / PATCH | Operator ID for audit logging |
Content-Type | ✅ write requests | application/json |
Response Codes
| Code | Meaning |
|---|
200 OK | Success (GET, PATCH) |
201 Created | Resource created (POST) |
400 Bad Request | Validation error |
401 Unauthorized | Missing/invalid API key |
404 Not Found | Resource not found |
500 Internal Server Error | Server error |
Error Format
{ "error": "Supplier not found with id: 999" }
Pagination
| Param | Type | Default | Description |
|---|
page | integer | 0 | Zero-based page index |
size | integer | varies | Items per page (see each resource) |
Available Resources
Swagger UI
http://localhost:8080/q/swagger-ui
http://localhost:8080/q/openapi