feat(practice): store code submissions and practice states apart from attempts

This commit is contained in:
shira committed 2026-10-11 14:58:04 +03:00
1 parent d5e169e71b
commit 51770eea6c
61 files changed
+8584 -135

No files matched your search

+21
View File
@@ -140,6 +140,27 @@ NotImplemented:
examples:
not_implemented:
$ref: ./examples.yml#/NotImplemented
ServiceUnavailable:
description: >-
The service cannot serve the request now; code service_unavailable.
Retry-After is sent when a retry after that wait can succeed, for example
when a queue is full, and omitted when a retry cannot help soon, for
example when the feature is not enabled on this server.
headers:
Retry-After:
$ref: ./headers.yml#/RetryAfter
content:
application/problem+json:
schema:
$ref: ./schemas.yml#/Problem
examples:
service_unavailable:
summary: A queue is full.
value:
type: urn:lincodex:problem:service_unavailable
title: Service unavailable
status: 503
code: service_unavailable
Problem:
description: >-
Any error response. The body is a Problem whose `status` equals the HTTP