feat(serve): per-api-key cdm and service config with server-side identity cache

serve.users.<key>.cdm and service_config give each API key its own device and service config. Service.IDENTITY_CACHE keys route to a per-key directory that clients never receive
This commit is contained in:
imSp4rky
2026-11-16 13:31:17 -07:00
parent 08481d3a33
commit f1e4081313
16 changed files with 508 additions and 63 deletions
+2 -1
View File
@@ -1224,7 +1224,8 @@ async def download(request: web.Request) -> web.Response:
description: Invalid request
'403':
description: >-
A gated parameter is not permitted (FORBIDDEN), or the job goes above the
A gated parameter is not permitted, or the API key has its own cdm or
service_config entry for the service (FORBIDDEN), or the job goes above the
server_cdm_max_height of the API key (SERVER_CDM_CAPPED)
"""
data = await json_body(request)