Skip to content

API Reference Overview ​

This section contains detailed documentation for all API endpoints available in the RYVL application.

Endpoint Categories ​

Public Endpoints (No Authentication Required) ​

Protected Endpoints (Authentication Required) ​

All other endpoints require authentication via bearer token.

Authentication Endpoints ​

Resource Endpoints ​

Development Endpoints ​

  • Logs - Development environment logging (local/staging only)

Response Format ​

All API responses follow a consistent JSON structure:

Success Response ​

json
{
  "data": { ... },
  "message": "Success message (optional)"
}

Error Response ​

json
{
  "message": "Error description",
  "errors": {
    "field": ["validation error"]
  }
}

HTTP Status Codes ​

  • 200 - Success
  • 201 - Created
  • 400 - Bad Request
  • 401 - Unauthorized
  • 403 - Forbidden
  • 404 - Not Found
  • 422 - Validation Error
  • 500 - Server Error