{"openapi":"3.1.0","info":{"title":"GlowAuth API","version":"1.0.0","description":"Versioned API for developer projects, script versions, access licenses, and usage."},"servers":[{"url":"https://glowauth.pages.dev/api/v1"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"GlowAuth API token"}}},"paths":{"/health":{"get":{"security":[],"summary":"API health","responses":{"200":{"description":"API is responding"}}}},"/plans":{"get":{"security":[],"summary":"List API plans","responses":{"200":{"description":"Plan limits and features"}}}},"/me":{"get":{"summary":"Get developer profile and plan","responses":{"200":{"description":"Developer profile"}}}},"/usage":{"get":{"summary":"Get current monthly usage","responses":{"200":{"description":"Current usage and quota"}}}},"/projects":{"get":{"summary":"List projects","responses":{"200":{"description":"Project list"}}},"post":{"summary":"Create a project","responses":{"201":{"description":"Created project"}}}},"/projects/{project_id}/scripts":{"get":{"summary":"List project scripts","responses":{"200":{"description":"Script list"}}},"post":{"summary":"Create a script","responses":{"201":{"description":"Created script"}}}},"/scripts/{script_id}/publish":{"post":{"summary":"Publish a script version","responses":{"201":{"description":"Published version"}}}},"/projects/{project_id}/licenses":{"get":{"summary":"List licenses","responses":{"200":{"description":"License metadata"}}},"post":{"summary":"Create a license","responses":{"201":{"description":"The license key is returned once"}}}},"/licenses/validate":{"post":{"summary":"Validate a license (optionally bind device_id)","responses":{"200":{"description":"Validation result"}}}},"/licenses/{license_id}/revoke":{"post":{"summary":"Revoke a license","responses":{"200":{"description":"Revocation result"}}}}}}