feat(visibility): add the candidate publication, hiding and search status contract
This commit is contained in:
1 parent
4436f626a3
commit
0529601021
87 files changed
+21456
-83
No files matched your search
Vendored
+2
-2
@@ -224,7 +224,7 @@ components:
|
||||
errors:
|
||||
type: array
|
||||
maxItems: 100
|
||||
description: Field-level reasons for validation_failed. Other codes omit it.
|
||||
description: Field-level reasons. validation_failed always carries them; state_conflict may carry one as a disambiguator when one code covers several conflicts (for example consent_required and limit_reached). Other codes omit it. A problem writer must not strip errors from a non-validation response.
|
||||
items:
|
||||
$ref: "#/components/schemas/ProblemFieldError"
|
||||
ProblemCode:
|
||||
@@ -295,7 +295,7 @@ components:
|
||||
minLength: 1
|
||||
maxLength: 64
|
||||
pattern: ^[a-z][a-z0-9_]*$
|
||||
description: Stable field reason. Current values are `required` (missing value) and `invalid` (malformed value or a value outside the schema). Clients must tolerate new values.
|
||||
description: Stable field reason. Current values are `required` (missing value) and `invalid` (malformed value or a value outside the schema), and, on a state_conflict, `consent_required` (the operation needs a consent that is not active) and `limit_reached` (a per-account bound is reached). Clients must tolerate new values.
|
||||
message:
|
||||
type: string
|
||||
minLength: 1
|
||||
|
||||
Reference in new issue
Block a user