API Reference

Abydonian exposes REST endpoints for license management, update checks, and release publishing. All endpoints return JSON responses.

Endpoints Overview

MethodEndpointAuthDescription
POST/api/license/activateNoneActivate a machine on a license
POST/api/license/validateNoneCheck if a license is valid for a machine
POST/api/license/deactivateNoneDeactivate a machine from a license
GET/api/update/{productSlug}/{target}/{arch}/{currentVersion}NoneTauri-compatible update check
POST/api/releases/publishAPI KeyPublish releases from CI

Authentication

License and Update endpoints require no authentication — they are designed to be called directly from client applications.

Release Publishing requires an API key with the releases:write scope. Pass it in the Authorization header:

Authorization: Bearer <your-api-key>

API keys can be created from the Abydonian admin dashboard under Admin → API Keys.

Error Responses

All error responses return a JSON object with an error field:

{
  "error": "Human-readable error message"
}

Common HTTP Status Codes

CodeMeaning
200Success
204No update available (update endpoint)
400Bad request — missing or invalid fields
401Invalid or missing API key
403Forbidden — license inactive, expired, or machine limit reached
404Resource not found (license, product, etc.)
409Conflict — invalid version format
500Internal server error

Rate Limits

The following rate limits apply per IP address:

EndpointLimit
License (activate/validate/deactivate)60 requests/minute
Update check120 requests/minute
Release publish10 requests/minute