@rathnasgala2/schemas 3.34.0 → 3.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +12 -0
- package/docs/catalogs/schema-inventory.json +3 -3
- package/examples/valid/problem/rules.json +13 -0
- package/fixtures/boundary/problem/rules.json +35 -0
- package/fixtures/invalid/problem/SCHEMA_ARRAY_DUPLICATE/cases.json +11 -0
- package/fixtures/invalid/problem/SCHEMA_ARRAY_TOO_LONG/cases.json +13 -0
- package/fixtures/invalid/problem/SCHEMA_ARRAY_TOO_SHORT/cases.json +15 -0
- package/fixtures/invalid/problem/SCHEMA_TYPE_INVALID/cases.json +9 -0
- package/fixtures/manifest.json +94 -2
- package/fixtures/unknown-field/problem/rules.json +4 -0
- package/generated/browser/validator-core.mjs +1 -1
- package/generated/typescript/contracts/problem.d.ts +1 -0
- package/openapi/http-catalog.json +15 -2
- package/openapi/openapi.yaml +381 -0
- package/package.json +1 -1
- package/sbom.cdx.json +23 -23
- package/schemas/problem.schema.json +8 -0
|
@@ -64,6 +64,7 @@ export type ProblemUrlHttps = string;
|
|
|
64
64
|
export type ProblemUrn = string;
|
|
65
65
|
|
|
66
66
|
export type ProblemDocument = Readonly<{
|
|
67
|
+
readonly changeIds?: ReadonlyArray<ProblemStableId>;
|
|
67
68
|
readonly code: ProblemProblemCode;
|
|
68
69
|
readonly correlationId: ProblemStableId;
|
|
69
70
|
readonly detail: ProblemPlainText;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "2.0.0",
|
|
3
3
|
"sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
|
|
4
|
-
"openApiDigest": "sha256:
|
|
4
|
+
"openApiDigest": "sha256:9396c5d3158cde50bdde111c8f8d54c0dd7bcda29ff84e4f8623f21e18330baa",
|
|
5
5
|
"operations": [
|
|
6
6
|
{
|
|
7
7
|
"operationId": "getInternalHealth",
|
|
@@ -2055,6 +2055,19 @@
|
|
|
2055
2055
|
"apiKeyScope": "content:write",
|
|
2056
2056
|
"sourceFragment": "organizations"
|
|
2057
2057
|
},
|
|
2058
|
+
{
|
|
2059
|
+
"operationId": "postOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdDiscard",
|
|
2060
|
+
"method": "POST",
|
|
2061
|
+
"path": "/v2/organizations/{organizationId}/publications/{publicationId}/repository-changes/{changeId}:discard",
|
|
2062
|
+
"purpose": "discard a waiting change",
|
|
2063
|
+
"capabilityKey": "publication.source.write",
|
|
2064
|
+
"conditionalCapabilityKeys": [],
|
|
2065
|
+
"activationGate": "MVP",
|
|
2066
|
+
"assuranceClass": "SESSION",
|
|
2067
|
+
"actionGrant": "none",
|
|
2068
|
+
"apiKeyScope": null,
|
|
2069
|
+
"sourceFragment": "organizations"
|
|
2070
|
+
},
|
|
2058
2071
|
{
|
|
2059
2072
|
"operationId": "postOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdDismiss",
|
|
2060
2073
|
"method": "POST",
|
|
@@ -3687,5 +3700,5 @@
|
|
|
3687
3700
|
"sourceFragment": "workloads"
|
|
3688
3701
|
}
|
|
3689
3702
|
],
|
|
3690
|
-
"digest": "sha256:
|
|
3703
|
+
"digest": "sha256:7e7dc62fce8fb34e8df325a9bb23d3b65fda0294ec59b4122e31a9d577ef3513"
|
|
3691
3704
|
}
|
package/openapi/openapi.yaml
CHANGED
|
@@ -16758,6 +16758,14 @@ components:
|
|
|
16758
16758
|
PortableProblemDocument:
|
|
16759
16759
|
additionalProperties: false
|
|
16760
16760
|
properties:
|
|
16761
|
+
changeIds:
|
|
16762
|
+
description: "SCHEMA-3.35.0, optional, carried by a CANONICAL_BASE_MISMATCH problem and absent from every other: the ids of the waiting changes whose saved copy of `gala/publication.json` carries a different site address than the one the site is served at, in request order (the same id format as the publish request's `changeIds`). Present only when the server could not rewrite those changes' address itself right now (publish again in a moment) or when main itself still carries the old address."
|
|
16763
|
+
items:
|
|
16764
|
+
$ref: "#/components/schemas/PortableProblemStableId"
|
|
16765
|
+
maxItems: 20
|
|
16766
|
+
minItems: 1
|
|
16767
|
+
type: array
|
|
16768
|
+
uniqueItems: true
|
|
16761
16769
|
code:
|
|
16762
16770
|
$ref: "#/components/schemas/PortableProblemProblemCode"
|
|
16763
16771
|
correlationId:
|
|
@@ -38088,6 +38096,18 @@ paths:
|
|
|
38088
38096
|
verified (after the Pages CNAME is set and before the certificate
|
|
38089
38097
|
serves); it resolves on its own, and the domain read's `nextStep` says
|
|
38090
38098
|
what is being waited on.
|
|
38099
|
+
|
|
38100
|
+
SCHEMA-3.35.0: `409 CANONICAL_BASE_MISMATCH` also carries the optional
|
|
38101
|
+
member `changeIds`: an array of change ids (the same format as this
|
|
38102
|
+
request's `changeIds`), in request order, naming the waiting changes
|
|
38103
|
+
whose saved copy of `gala/publication.json` carries a different site
|
|
38104
|
+
address than the one the site is served at. When main already carries
|
|
38105
|
+
the right address the server rewrites those changes' address itself
|
|
38106
|
+
(same change id) and publishes; the problem is returned with
|
|
38107
|
+
`changeIds` only when that rewrite could not be done right now
|
|
38108
|
+
(publish again in a moment) or when main itself still carries the old
|
|
38109
|
+
address (then the server includes or proposes the Site address change
|
|
38110
|
+
as before).
|
|
38091
38111
|
operationId: postOrganizationsByOrganizationIdPublicationsByPublicationIdChangesPublish
|
|
38092
38112
|
parameters:
|
|
38093
38113
|
- $ref: "#/components/parameters/XCorrelationId"
|
|
@@ -38272,6 +38292,8 @@ paths:
|
|
|
38272
38292
|
CANONICAL_BASE_MISMATCH:
|
|
38273
38293
|
summary: CANONICAL_BASE_MISMATCH
|
|
38274
38294
|
value:
|
|
38295
|
+
changeIds:
|
|
38296
|
+
- 018f0000-0000-7000-8000-000000000001
|
|
38275
38297
|
code: CANONICAL_BASE_MISMATCH
|
|
38276
38298
|
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
38277
38299
|
detail: See the operation contract.
|
|
@@ -57305,6 +57327,18 @@ paths:
|
|
|
57305
57327
|
`remedy` without parsing `detail`. The server first tries to fix the
|
|
57306
57328
|
mismatch itself by including the pending "Site address" change in the
|
|
57307
57329
|
publish; the problem is returned only when it cannot.
|
|
57330
|
+
|
|
57331
|
+
SCHEMA-3.35.0: `409 CANONICAL_BASE_MISMATCH` also carries the optional
|
|
57332
|
+
member `changeIds`: an array of change ids (the same format as this
|
|
57333
|
+
request's `changeIds`), in request order, naming the waiting changes
|
|
57334
|
+
whose saved copy of `gala/publication.json` carries a different site
|
|
57335
|
+
address than the one the site is served at. When main already carries
|
|
57336
|
+
the right address the server rewrites those changes' address itself
|
|
57337
|
+
(same change id) and publishes; the problem is returned with
|
|
57338
|
+
`changeIds` only when that rewrite could not be done right now
|
|
57339
|
+
(publish again in a moment) or when main itself still carries the old
|
|
57340
|
+
address (then the server includes or proposes the Site address change
|
|
57341
|
+
as before).
|
|
57308
57342
|
operationId: postOrganizationsByOrganizationIdPublicationsByPublicationIdPublishes
|
|
57309
57343
|
parameters:
|
|
57310
57344
|
- $ref: "#/components/parameters/XCorrelationId"
|
|
@@ -57489,6 +57523,8 @@ paths:
|
|
|
57489
57523
|
CANONICAL_BASE_MISMATCH:
|
|
57490
57524
|
summary: CANONICAL_BASE_MISMATCH
|
|
57491
57525
|
value:
|
|
57526
|
+
changeIds:
|
|
57527
|
+
- 018f0000-0000-7000-8000-000000000001
|
|
57492
57528
|
code: CANONICAL_BASE_MISMATCH
|
|
57493
57529
|
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
57494
57530
|
detail: See the operation contract.
|
|
@@ -60208,6 +60244,351 @@ paths:
|
|
|
60208
60244
|
- RepositoryChange:AWAITING_CONFIRMATION -> COMMIT_REQUESTED
|
|
60209
60245
|
x-gala-success-category: async
|
|
60210
60246
|
x-gala-tenant-scope: ORGANIZATION_AND_PUBLICATION_PATH
|
|
60247
|
+
/v2/organizations/{organizationId}/publications/{publicationId}/repository-changes/{changeId}:discard:
|
|
60248
|
+
post:
|
|
60249
|
+
description: |
|
|
60250
|
+
SCHEMA-3.35.0. Discards a waiting change: closes its pull request on
|
|
60251
|
+
GitHub and deletes its branch `gala/candidate/<id>`. A change whose
|
|
60252
|
+
pull request is OPEN is closed on GitHub, its branch is deleted, and
|
|
60253
|
+
the change is recorded closed and dismissed, so its pending-change row
|
|
60254
|
+
and attention item disappear everywhere. A change already CLOSED on
|
|
60255
|
+
GitHub is simply recorded dismissed (the same effect as `:dismiss`). A
|
|
60256
|
+
change already MERGED on GitHub cannot be discarded because it is on
|
|
60257
|
+
main: `409 CHANGE_NOT_DISCARDABLE`. When GitHub cannot be reached,
|
|
60258
|
+
`503 DEPENDENCY_UNAVAILABLE` (retryable) and nothing is recorded.
|
|
60259
|
+
`204` with no body. `404 CHANGE_NOT_FOUND` when `changeId` does not
|
|
60260
|
+
exist on this publication. A replay with the same `Idempotency-Key`
|
|
60261
|
+
returns `204` again.
|
|
60262
|
+
operationId: postOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdDiscard
|
|
60263
|
+
parameters:
|
|
60264
|
+
- $ref: "#/components/parameters/XCorrelationId"
|
|
60265
|
+
- example: 018f0000-0000-7000-8000-000000000001
|
|
60266
|
+
in: path
|
|
60267
|
+
name: organizationId
|
|
60268
|
+
required: true
|
|
60269
|
+
schema:
|
|
60270
|
+
format: uuid
|
|
60271
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
60272
|
+
type: string
|
|
60273
|
+
- example: 018f0000-0000-7000-8000-000000000001
|
|
60274
|
+
in: path
|
|
60275
|
+
name: publicationId
|
|
60276
|
+
required: true
|
|
60277
|
+
schema:
|
|
60278
|
+
format: uuid
|
|
60279
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
60280
|
+
type: string
|
|
60281
|
+
- example: 018f0000-0000-7000-8000-000000000001
|
|
60282
|
+
in: path
|
|
60283
|
+
name: changeId
|
|
60284
|
+
required: true
|
|
60285
|
+
schema:
|
|
60286
|
+
format: uuid
|
|
60287
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
60288
|
+
type: string
|
|
60289
|
+
- $ref: "#/components/parameters/IdempotencyKey"
|
|
60290
|
+
- $ref: "#/components/parameters/XCsrfToken"
|
|
60291
|
+
responses:
|
|
60292
|
+
"204":
|
|
60293
|
+
description: discard a waiting change succeeded
|
|
60294
|
+
headers:
|
|
60295
|
+
Cache-Control:
|
|
60296
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
60297
|
+
X-Correlation-Id:
|
|
60298
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
60299
|
+
"400":
|
|
60300
|
+
content:
|
|
60301
|
+
application/problem+json:
|
|
60302
|
+
examples:
|
|
60303
|
+
REQUEST_FIELD_UNKNOWN:
|
|
60304
|
+
summary: REQUEST_FIELD_UNKNOWN
|
|
60305
|
+
value:
|
|
60306
|
+
code: REQUEST_FIELD_UNKNOWN
|
|
60307
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60308
|
+
detail: See the operation contract.
|
|
60309
|
+
errors: []
|
|
60310
|
+
retryable: false
|
|
60311
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60312
|
+
schemaVersion: 2.0.0
|
|
60313
|
+
status: 400
|
|
60314
|
+
title: REQUEST_FIELD_UNKNOWN
|
|
60315
|
+
type: urn:gala:problem:request-field-unknown
|
|
60316
|
+
VALIDATION_FAILED:
|
|
60317
|
+
summary: VALIDATION_FAILED
|
|
60318
|
+
value:
|
|
60319
|
+
code: VALIDATION_FAILED
|
|
60320
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60321
|
+
detail: See the operation contract.
|
|
60322
|
+
errors: []
|
|
60323
|
+
retryable: false
|
|
60324
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60325
|
+
schemaVersion: 2.0.0
|
|
60326
|
+
status: 400
|
|
60327
|
+
title: VALIDATION_FAILED
|
|
60328
|
+
type: urn:gala:problem:validation-failed
|
|
60329
|
+
schema:
|
|
60330
|
+
$ref: "#/components/schemas/Problem"
|
|
60331
|
+
description: REQUEST_FIELD_UNKNOWN, VALIDATION_FAILED
|
|
60332
|
+
headers:
|
|
60333
|
+
Cache-Control:
|
|
60334
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
60335
|
+
X-Correlation-Id:
|
|
60336
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
60337
|
+
x-gala-problem-codes:
|
|
60338
|
+
- REQUEST_FIELD_UNKNOWN
|
|
60339
|
+
- VALIDATION_FAILED
|
|
60340
|
+
"401":
|
|
60341
|
+
content:
|
|
60342
|
+
application/problem+json:
|
|
60343
|
+
examples:
|
|
60344
|
+
AUTHENTICATION_REQUIRED:
|
|
60345
|
+
summary: AUTHENTICATION_REQUIRED
|
|
60346
|
+
value:
|
|
60347
|
+
code: AUTHENTICATION_REQUIRED
|
|
60348
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60349
|
+
detail: See the operation contract.
|
|
60350
|
+
errors: []
|
|
60351
|
+
retryable: false
|
|
60352
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60353
|
+
schemaVersion: 2.0.0
|
|
60354
|
+
status: 401
|
|
60355
|
+
title: AUTHENTICATION_REQUIRED
|
|
60356
|
+
type: urn:gala:problem:authentication-required
|
|
60357
|
+
schema:
|
|
60358
|
+
$ref: "#/components/schemas/Problem"
|
|
60359
|
+
description: AUTHENTICATION_REQUIRED
|
|
60360
|
+
headers:
|
|
60361
|
+
Cache-Control:
|
|
60362
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
60363
|
+
X-Correlation-Id:
|
|
60364
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
60365
|
+
x-gala-problem-codes:
|
|
60366
|
+
- AUTHENTICATION_REQUIRED
|
|
60367
|
+
"403":
|
|
60368
|
+
content:
|
|
60369
|
+
application/problem+json:
|
|
60370
|
+
examples:
|
|
60371
|
+
AUTHORIZATION_DENIED:
|
|
60372
|
+
summary: AUTHORIZATION_DENIED
|
|
60373
|
+
value:
|
|
60374
|
+
code: AUTHORIZATION_DENIED
|
|
60375
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60376
|
+
detail: See the operation contract.
|
|
60377
|
+
errors: []
|
|
60378
|
+
retryable: false
|
|
60379
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60380
|
+
schemaVersion: 2.0.0
|
|
60381
|
+
status: 403
|
|
60382
|
+
title: AUTHORIZATION_DENIED
|
|
60383
|
+
type: urn:gala:problem:authorization-denied
|
|
60384
|
+
schema:
|
|
60385
|
+
$ref: "#/components/schemas/Problem"
|
|
60386
|
+
description: AUTHORIZATION_DENIED
|
|
60387
|
+
headers:
|
|
60388
|
+
Cache-Control:
|
|
60389
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
60390
|
+
X-Correlation-Id:
|
|
60391
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
60392
|
+
x-gala-problem-codes:
|
|
60393
|
+
- AUTHORIZATION_DENIED
|
|
60394
|
+
"404":
|
|
60395
|
+
content:
|
|
60396
|
+
application/problem+json:
|
|
60397
|
+
examples:
|
|
60398
|
+
CHANGE_NOT_FOUND:
|
|
60399
|
+
summary: CHANGE_NOT_FOUND
|
|
60400
|
+
value:
|
|
60401
|
+
code: CHANGE_NOT_FOUND
|
|
60402
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60403
|
+
detail: See the operation contract.
|
|
60404
|
+
errors: []
|
|
60405
|
+
retryable: false
|
|
60406
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60407
|
+
schemaVersion: 2.0.0
|
|
60408
|
+
status: 404
|
|
60409
|
+
title: CHANGE_NOT_FOUND
|
|
60410
|
+
type: urn:gala:problem:change-not-found
|
|
60411
|
+
RESOURCE_NOT_FOUND:
|
|
60412
|
+
summary: RESOURCE_NOT_FOUND
|
|
60413
|
+
value:
|
|
60414
|
+
code: RESOURCE_NOT_FOUND
|
|
60415
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60416
|
+
detail: See the operation contract.
|
|
60417
|
+
errors: []
|
|
60418
|
+
retryable: false
|
|
60419
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60420
|
+
schemaVersion: 2.0.0
|
|
60421
|
+
status: 404
|
|
60422
|
+
title: RESOURCE_NOT_FOUND
|
|
60423
|
+
type: urn:gala:problem:resource-not-found
|
|
60424
|
+
schema:
|
|
60425
|
+
$ref: "#/components/schemas/Problem"
|
|
60426
|
+
description: CHANGE_NOT_FOUND, RESOURCE_NOT_FOUND
|
|
60427
|
+
headers:
|
|
60428
|
+
Cache-Control:
|
|
60429
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
60430
|
+
X-Correlation-Id:
|
|
60431
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
60432
|
+
x-gala-problem-codes:
|
|
60433
|
+
- CHANGE_NOT_FOUND
|
|
60434
|
+
- RESOURCE_NOT_FOUND
|
|
60435
|
+
"409":
|
|
60436
|
+
content:
|
|
60437
|
+
application/problem+json:
|
|
60438
|
+
examples:
|
|
60439
|
+
CHANGE_NOT_DISCARDABLE:
|
|
60440
|
+
summary: CHANGE_NOT_DISCARDABLE
|
|
60441
|
+
value:
|
|
60442
|
+
code: CHANGE_NOT_DISCARDABLE
|
|
60443
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60444
|
+
detail: See the operation contract.
|
|
60445
|
+
errors: []
|
|
60446
|
+
retryable: false
|
|
60447
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60448
|
+
schemaVersion: 2.0.0
|
|
60449
|
+
status: 409
|
|
60450
|
+
title: CHANGE_NOT_DISCARDABLE
|
|
60451
|
+
type: urn:gala:problem:change-not-discardable
|
|
60452
|
+
COMMAND_REPLAY_CONFLICT:
|
|
60453
|
+
summary: COMMAND_REPLAY_CONFLICT
|
|
60454
|
+
value:
|
|
60455
|
+
code: COMMAND_REPLAY_CONFLICT
|
|
60456
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60457
|
+
detail: See the operation contract.
|
|
60458
|
+
errors: []
|
|
60459
|
+
retryable: false
|
|
60460
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60461
|
+
schemaVersion: 2.0.0
|
|
60462
|
+
status: 409
|
|
60463
|
+
title: COMMAND_REPLAY_CONFLICT
|
|
60464
|
+
type: urn:gala:problem:command-replay-conflict
|
|
60465
|
+
TRANSFER_PENDING:
|
|
60466
|
+
summary: TRANSFER_PENDING
|
|
60467
|
+
value:
|
|
60468
|
+
code: TRANSFER_PENDING
|
|
60469
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60470
|
+
detail: See the operation contract.
|
|
60471
|
+
errors: []
|
|
60472
|
+
retryable: false
|
|
60473
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60474
|
+
schemaVersion: 2.0.0
|
|
60475
|
+
status: 409
|
|
60476
|
+
title: TRANSFER_PENDING
|
|
60477
|
+
type: urn:gala:problem:transfer-pending
|
|
60478
|
+
schema:
|
|
60479
|
+
$ref: "#/components/schemas/Problem"
|
|
60480
|
+
description: CHANGE_NOT_DISCARDABLE, COMMAND_REPLAY_CONFLICT, TRANSFER_PENDING
|
|
60481
|
+
headers:
|
|
60482
|
+
Cache-Control:
|
|
60483
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
60484
|
+
X-Correlation-Id:
|
|
60485
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
60486
|
+
x-gala-problem-codes:
|
|
60487
|
+
- CHANGE_NOT_DISCARDABLE
|
|
60488
|
+
- COMMAND_REPLAY_CONFLICT
|
|
60489
|
+
- TRANSFER_PENDING
|
|
60490
|
+
"429":
|
|
60491
|
+
content:
|
|
60492
|
+
application/problem+json:
|
|
60493
|
+
examples:
|
|
60494
|
+
RATE_LIMITED:
|
|
60495
|
+
summary: RATE_LIMITED
|
|
60496
|
+
value:
|
|
60497
|
+
code: RATE_LIMITED
|
|
60498
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60499
|
+
detail: See the operation contract.
|
|
60500
|
+
errors: []
|
|
60501
|
+
retryable: true
|
|
60502
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60503
|
+
schemaVersion: 2.0.0
|
|
60504
|
+
status: 429
|
|
60505
|
+
title: RATE_LIMITED
|
|
60506
|
+
type: urn:gala:problem:rate-limited
|
|
60507
|
+
schema:
|
|
60508
|
+
$ref: "#/components/schemas/Problem"
|
|
60509
|
+
description: RATE_LIMITED
|
|
60510
|
+
headers:
|
|
60511
|
+
Cache-Control:
|
|
60512
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
60513
|
+
Retry-After:
|
|
60514
|
+
$ref: "#/components/headers/RetryAfter"
|
|
60515
|
+
X-Correlation-Id:
|
|
60516
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
60517
|
+
x-gala-problem-codes:
|
|
60518
|
+
- RATE_LIMITED
|
|
60519
|
+
"503":
|
|
60520
|
+
content:
|
|
60521
|
+
application/problem+json:
|
|
60522
|
+
examples:
|
|
60523
|
+
CAPABILITY_UNAVAILABLE:
|
|
60524
|
+
summary: CAPABILITY_UNAVAILABLE
|
|
60525
|
+
value:
|
|
60526
|
+
code: CAPABILITY_UNAVAILABLE
|
|
60527
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60528
|
+
detail: See the operation contract.
|
|
60529
|
+
errors: []
|
|
60530
|
+
retryable: false
|
|
60531
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60532
|
+
schemaVersion: 2.0.0
|
|
60533
|
+
status: 503
|
|
60534
|
+
title: CAPABILITY_UNAVAILABLE
|
|
60535
|
+
type: urn:gala:problem:capability-unavailable
|
|
60536
|
+
DEPENDENCY_UNAVAILABLE:
|
|
60537
|
+
summary: DEPENDENCY_UNAVAILABLE
|
|
60538
|
+
value:
|
|
60539
|
+
code: DEPENDENCY_UNAVAILABLE
|
|
60540
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
60541
|
+
detail: See the operation contract.
|
|
60542
|
+
errors: []
|
|
60543
|
+
retryable: true
|
|
60544
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
60545
|
+
schemaVersion: 2.0.0
|
|
60546
|
+
status: 503
|
|
60547
|
+
title: DEPENDENCY_UNAVAILABLE
|
|
60548
|
+
type: urn:gala:problem:dependency-unavailable
|
|
60549
|
+
schema:
|
|
60550
|
+
$ref: "#/components/schemas/Problem"
|
|
60551
|
+
description: CAPABILITY_UNAVAILABLE, DEPENDENCY_UNAVAILABLE
|
|
60552
|
+
headers:
|
|
60553
|
+
Cache-Control:
|
|
60554
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
60555
|
+
X-Correlation-Id:
|
|
60556
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
60557
|
+
x-gala-problem-codes:
|
|
60558
|
+
- CAPABILITY_UNAVAILABLE
|
|
60559
|
+
- DEPENDENCY_UNAVAILABLE
|
|
60560
|
+
security:
|
|
60561
|
+
- browserSession: []
|
|
60562
|
+
summary: discard a waiting change
|
|
60563
|
+
tags:
|
|
60564
|
+
- organizations
|
|
60565
|
+
x-gala-activation-gate: MVP
|
|
60566
|
+
x-gala-activation-guards:
|
|
60567
|
+
- Active binding epoch and admitted author-source contract
|
|
60568
|
+
x-gala-capability-key: publication.source.write
|
|
60569
|
+
x-gala-concurrency: binding-epoch
|
|
60570
|
+
x-gala-conditional-capabilities: []
|
|
60571
|
+
x-gala-example-profile: NOMINAL_SUCCESS_AND_EACH_REACHABLE_PROBLEM
|
|
60572
|
+
x-gala-nullability: required-and-nullable-are-explicit
|
|
60573
|
+
x-gala-purpose: discard a waiting change
|
|
60574
|
+
x-gala-reachable-problems:
|
|
60575
|
+
- AUTHENTICATION_REQUIRED
|
|
60576
|
+
- AUTHORIZATION_DENIED
|
|
60577
|
+
- CAPABILITY_UNAVAILABLE
|
|
60578
|
+
- CHANGE_NOT_DISCARDABLE
|
|
60579
|
+
- CHANGE_NOT_FOUND
|
|
60580
|
+
- COMMAND_REPLAY_CONFLICT
|
|
60581
|
+
- DEPENDENCY_UNAVAILABLE
|
|
60582
|
+
- RATE_LIMITED
|
|
60583
|
+
- REQUEST_FIELD_UNKNOWN
|
|
60584
|
+
- RESOURCE_NOT_FOUND
|
|
60585
|
+
- TRANSFER_PENDING
|
|
60586
|
+
- VALIDATION_FAILED
|
|
60587
|
+
x-gala-replay-identity: idempotency-key
|
|
60588
|
+
x-gala-state-guards:
|
|
60589
|
+
- NONE
|
|
60590
|
+
x-gala-success-category: delete
|
|
60591
|
+
x-gala-tenant-scope: ORGANIZATION_AND_PUBLICATION_PATH
|
|
60211
60592
|
/v2/organizations/{organizationId}/publications/{publicationId}/repository-changes/{changeId}:dismiss:
|
|
60212
60593
|
post:
|
|
60213
60594
|
description: |
|
package/package.json
CHANGED
package/sbom.cdx.json
CHANGED
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"type": "library",
|
|
98
98
|
"name": "schemas",
|
|
99
99
|
"group": "@rathnasgala2",
|
|
100
|
-
"version": "3.
|
|
101
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
100
|
+
"version": "3.35.0",
|
|
101
|
+
"bom-ref": "@rathnasgala2/schemas@3.35.0",
|
|
102
102
|
"description": "Executable JSON Schema and OpenAPI contracts for Galascribe",
|
|
103
103
|
"licenses": [
|
|
104
104
|
{
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
],
|
|
111
|
-
"purl": "pkg:npm/%40rathnasgala2/schemas@3.
|
|
111
|
+
"purl": "pkg:npm/%40rathnasgala2/schemas@3.35.0?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2Frathnasgala2%2Fschema.git",
|
|
112
112
|
"externalReferences": [
|
|
113
113
|
{
|
|
114
114
|
"url": "https://github.com/rathnasgala2/schema/issues",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"type": "library",
|
|
154
154
|
"name": "ajv-formats",
|
|
155
155
|
"version": "3.0.1",
|
|
156
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
156
|
+
"bom-ref": "@rathnasgala2/schemas@3.35.0|ajv-formats@3.0.1",
|
|
157
157
|
"licenses": [
|
|
158
158
|
{
|
|
159
159
|
"license": {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"type": "library",
|
|
188
188
|
"name": "ajv",
|
|
189
189
|
"version": "8.20.0",
|
|
190
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
190
|
+
"bom-ref": "@rathnasgala2/schemas@3.35.0|ajv@8.20.0",
|
|
191
191
|
"licenses": [
|
|
192
192
|
{
|
|
193
193
|
"license": {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"type": "library",
|
|
222
222
|
"name": "fast-deep-equal",
|
|
223
223
|
"version": "3.1.3",
|
|
224
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
224
|
+
"bom-ref": "@rathnasgala2/schemas@3.35.0|fast-deep-equal@3.1.3",
|
|
225
225
|
"licenses": [
|
|
226
226
|
{
|
|
227
227
|
"license": {
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"type": "library",
|
|
256
256
|
"name": "fast-uri",
|
|
257
257
|
"version": "3.1.8",
|
|
258
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
258
|
+
"bom-ref": "@rathnasgala2/schemas@3.35.0|fast-uri@3.1.8",
|
|
259
259
|
"licenses": [
|
|
260
260
|
{
|
|
261
261
|
"license": {
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"type": "library",
|
|
290
290
|
"name": "json-schema-traverse",
|
|
291
291
|
"version": "1.0.0",
|
|
292
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
292
|
+
"bom-ref": "@rathnasgala2/schemas@3.35.0|json-schema-traverse@1.0.0",
|
|
293
293
|
"licenses": [
|
|
294
294
|
{
|
|
295
295
|
"license": {
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"type": "library",
|
|
324
324
|
"name": "require-from-string",
|
|
325
325
|
"version": "2.0.2",
|
|
326
|
-
"bom-ref": "@rathnasgala2/schemas@3.
|
|
326
|
+
"bom-ref": "@rathnasgala2/schemas@3.35.0|require-from-string@2.0.2",
|
|
327
327
|
"licenses": [
|
|
328
328
|
{
|
|
329
329
|
"license": {
|
|
@@ -1064,10 +1064,10 @@
|
|
|
1064
1064
|
],
|
|
1065
1065
|
"dependencies": [
|
|
1066
1066
|
{
|
|
1067
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1067
|
+
"ref": "@rathnasgala2/schemas@3.35.0",
|
|
1068
1068
|
"dependsOn": [
|
|
1069
|
-
"@rathnasgala2/schemas@3.
|
|
1070
|
-
"@rathnasgala2/schemas@3.
|
|
1069
|
+
"@rathnasgala2/schemas@3.35.0|ajv-formats@3.0.1",
|
|
1070
|
+
"@rathnasgala2/schemas@3.35.0|ajv@8.20.0",
|
|
1071
1071
|
"pkg:npm/semver@7.8.5",
|
|
1072
1072
|
"urn:gala:source-data:iana-ipv4-special-registry",
|
|
1073
1073
|
"urn:gala:source-data:iana-ipv6-special-registry",
|
|
@@ -1089,31 +1089,31 @@
|
|
|
1089
1089
|
]
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1092
|
+
"ref": "@rathnasgala2/schemas@3.35.0|ajv-formats@3.0.1",
|
|
1093
1093
|
"dependsOn": [
|
|
1094
|
-
"@rathnasgala2/schemas@3.
|
|
1094
|
+
"@rathnasgala2/schemas@3.35.0|ajv@8.20.0"
|
|
1095
1095
|
]
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1098
|
+
"ref": "@rathnasgala2/schemas@3.35.0|ajv@8.20.0",
|
|
1099
1099
|
"dependsOn": [
|
|
1100
|
-
"@rathnasgala2/schemas@3.
|
|
1101
|
-
"@rathnasgala2/schemas@3.
|
|
1102
|
-
"@rathnasgala2/schemas@3.
|
|
1103
|
-
"@rathnasgala2/schemas@3.
|
|
1100
|
+
"@rathnasgala2/schemas@3.35.0|fast-deep-equal@3.1.3",
|
|
1101
|
+
"@rathnasgala2/schemas@3.35.0|fast-uri@3.1.8",
|
|
1102
|
+
"@rathnasgala2/schemas@3.35.0|json-schema-traverse@1.0.0",
|
|
1103
|
+
"@rathnasgala2/schemas@3.35.0|require-from-string@2.0.2"
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1107
|
+
"ref": "@rathnasgala2/schemas@3.35.0|fast-deep-equal@3.1.3"
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1110
|
+
"ref": "@rathnasgala2/schemas@3.35.0|fast-uri@3.1.8"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1113
|
+
"ref": "@rathnasgala2/schemas@3.35.0|json-schema-traverse@1.0.0"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
|
-
"ref": "@rathnasgala2/schemas@3.
|
|
1116
|
+
"ref": "@rathnasgala2/schemas@3.35.0|require-from-string@2.0.2"
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
1119
|
"ref": "pkg:npm/semver@7.8.5"
|
|
@@ -55,6 +55,14 @@
|
|
|
55
55
|
"maxLength": 80,
|
|
56
56
|
"description": "SCHEMA-3.17.0, optional, carried by a CANONICAL_BASE_MISMATCH problem and absent from every other: the state of the site's custom-domain binding that decided `expectedBase` (a `DomainBindingState` value such as `CERTIFICATE_PENDING` or `ACTIVE`), absent when the site has no custom domain. A client shows a value it does not know as is."
|
|
57
57
|
},
|
|
58
|
+
"changeIds": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": { "$ref": "#/$defs/stableId" },
|
|
61
|
+
"minItems": 1,
|
|
62
|
+
"maxItems": 20,
|
|
63
|
+
"uniqueItems": true,
|
|
64
|
+
"description": "SCHEMA-3.35.0, optional, carried by a CANONICAL_BASE_MISMATCH problem and absent from every other: the ids of the waiting changes whose saved copy of `gala/publication.json` carries a different site address than the one the site is served at, in request order (the same id format as the publish request's `changeIds`). Present only when the server could not rewrite those changes' address itself right now (publish again in a moment) or when main itself still carries the old address."
|
|
65
|
+
},
|
|
58
66
|
"details": {
|
|
59
67
|
"type": "object",
|
|
60
68
|
"description": "SCHEMA-3.25.1, optional, carried by a PAGE_LOSS_GUARD problem and absent from every other: the counts behind the refusal, the same members as the `PageLossGuardDetails` operation `reasonDetails`. The candidate build has fewer pages than the last successful deployment; `lostPageCount` is `previousPageCount - candidatePageCount` and `permittedLoss` is the loss the platform settings allow.",
|