@rathnasgala2/schemas 3.32.0 → 3.32.1
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.
|
@@ -229,9 +229,9 @@
|
|
|
229
229
|
"version": "2.0.0",
|
|
230
230
|
"path": "openapi/openapi.yaml",
|
|
231
231
|
"materialized": true,
|
|
232
|
-
"sourceDigest": "sha256:
|
|
232
|
+
"sourceDigest": "sha256:89a4d81902028eb532e614d60aae21afcd249c70a73a340b8475f4454945404c",
|
|
233
233
|
"typescriptRootType": null
|
|
234
234
|
}
|
|
235
235
|
],
|
|
236
|
-
"digest": "sha256:
|
|
236
|
+
"digest": "sha256:c22c7c2914c4c5d3671137d3a2cc0d0eba1c7da55206dfaf6b3a5a4cbcfce39a"
|
|
237
237
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "2.0.0",
|
|
3
3
|
"sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
|
|
4
|
-
"openApiDigest": "sha256:
|
|
4
|
+
"openApiDigest": "sha256:89a4d81902028eb532e614d60aae21afcd249c70a73a340b8475f4454945404c",
|
|
5
5
|
"operations": [
|
|
6
6
|
{
|
|
7
7
|
"operationId": "getInternalHealth",
|
|
@@ -3531,5 +3531,5 @@
|
|
|
3531
3531
|
"sourceFragment": "workloads"
|
|
3532
3532
|
}
|
|
3533
3533
|
],
|
|
3534
|
-
"digest": "sha256:
|
|
3534
|
+
"digest": "sha256:a53c2539b9281e32c8f2e91cb6f4721baa2df50adde3c2c3a0c4822250c619dd"
|
|
3535
3535
|
}
|
package/openapi/openapi.yaml
CHANGED
|
@@ -4556,6 +4556,13 @@ components:
|
|
|
4556
4556
|
maxItems: 200
|
|
4557
4557
|
type: array
|
|
4558
4558
|
uniqueItems: true
|
|
4559
|
+
createdAt:
|
|
4560
|
+
description: |-
|
|
4561
|
+
SCHEMA-3.32.1: when the publication was created. Optional so a server that has not recorded it, and every 3.32.0 response, still validates; a client treats absent as unknown.
|
|
4562
|
+
|
|
4563
|
+
Canonical Gala instant: the UTC millisecond subset of RFC 3339, exactly `YYYY-MM-DDThh:mm:ss.sssZ`. Stated here rather than as a `pattern` because a generated `OffsetDateTime` cannot carry one (LOCAL-56).
|
|
4564
|
+
format: date-time
|
|
4565
|
+
type: string
|
|
4559
4566
|
name:
|
|
4560
4567
|
maxLength: 80
|
|
4561
4568
|
minLength: 1
|
|
@@ -7566,12 +7573,20 @@ components:
|
|
|
7566
7573
|
format: uuid
|
|
7567
7574
|
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
7568
7575
|
type: string
|
|
7576
|
+
likeCount:
|
|
7577
|
+
description: "SCHEMA-3.32.1: how many readers like the comment; absent counts as 0."
|
|
7578
|
+
format: int64
|
|
7579
|
+
minimum: 0
|
|
7580
|
+
type: integer
|
|
7569
7581
|
parentId:
|
|
7570
7582
|
oneOf:
|
|
7571
7583
|
- format: uuid
|
|
7572
7584
|
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
7573
7585
|
type: string
|
|
7574
7586
|
- type: "null"
|
|
7587
|
+
pinned:
|
|
7588
|
+
description: "SCHEMA-3.32.1: true for the one root comment the site owner pinned to the top of the article; absent counts as false."
|
|
7589
|
+
type: boolean
|
|
7575
7590
|
state:
|
|
7576
7591
|
$ref: "#/components/schemas/CommentInternalState"
|
|
7577
7592
|
required:
|
|
@@ -51036,7 +51051,7 @@ paths:
|
|
|
51036
51051
|
/v2/organizations/{organizationId}/publications/{publicationId}/newsletter-subscribers:import:
|
|
51037
51052
|
post:
|
|
51038
51053
|
description: |
|
|
51039
|
-
Needs `publication.audience.manage`. The body is the addresses the owner's file held, already parsed by the App (at most 5000 per call), with `attestation: true`: the owner states that every address agreed to hear from them. Each address that is new becomes a `pending` subscriber and is sent the same confirmation email a reader who signs up receives; nobody is subscribed until they confirm. An address that is already known (`pending`, `confirmed`, `unsubscribed` or `suppressed`) is skipped and counted in `skippedKnown`, so repeating a call is harmless. `invalid` counts entries that are not usable addresses and `overCapacity` those left out because the organization's subscriber allowance was reached. A call without `attestation: true` is `400 VALIDATION_FAILED`.
|
|
51054
|
+
Needs `publication.audience.manage`. The body is the addresses the owner's file held, already parsed by the App (at most 5000 per call), with `attestation: true`: the owner states that every address agreed to hear from them. Each address that is new becomes a `pending` subscriber and is sent the same confirmation email a reader who signs up receives; nobody is subscribed until they confirm. An address that is already known (`pending`, `confirmed`, `unsubscribed` or `suppressed`) is skipped and counted in `skippedKnown`, so repeating a call is harmless. `invalid` counts entries that are not usable addresses and `overCapacity` those left out because the organization's subscriber allowance was reached. A call without `attestation: true` is `400 VALIDATION_FAILED`. `409 NEWSLETTER_UNAVAILABLE` when the site takes no subscribers (it is not in Galascribe newsletter mode).
|
|
51040
51055
|
operationId: postOrganizationsByOrganizationIdPublicationsByPublicationIdNewsletterSubscribersImport
|
|
51041
51056
|
parameters:
|
|
51042
51057
|
- $ref: "#/components/parameters/XCorrelationId"
|
|
@@ -51162,6 +51177,33 @@ paths:
|
|
|
51162
51177
|
$ref: "#/components/responses/AuthorizationDenied"
|
|
51163
51178
|
"404":
|
|
51164
51179
|
$ref: "#/components/responses/ResourceNotFound"
|
|
51180
|
+
"409":
|
|
51181
|
+
content:
|
|
51182
|
+
application/problem+json:
|
|
51183
|
+
examples:
|
|
51184
|
+
NEWSLETTER_UNAVAILABLE:
|
|
51185
|
+
summary: NEWSLETTER_UNAVAILABLE
|
|
51186
|
+
value:
|
|
51187
|
+
code: NEWSLETTER_UNAVAILABLE
|
|
51188
|
+
correlationId: 018f0000-0000-7000-8000-000000000001
|
|
51189
|
+
detail: See the operation contract.
|
|
51190
|
+
errors: []
|
|
51191
|
+
retryable: false
|
|
51192
|
+
schemaId: urn:gala:schema:problem:2.0.0
|
|
51193
|
+
schemaVersion: 2.0.0
|
|
51194
|
+
status: 409
|
|
51195
|
+
title: NEWSLETTER_UNAVAILABLE
|
|
51196
|
+
type: urn:gala:problem:newsletter-unavailable
|
|
51197
|
+
schema:
|
|
51198
|
+
$ref: "#/components/schemas/Problem"
|
|
51199
|
+
description: NEWSLETTER_UNAVAILABLE
|
|
51200
|
+
headers:
|
|
51201
|
+
Cache-Control:
|
|
51202
|
+
$ref: "#/components/headers/CacheControlNoStore"
|
|
51203
|
+
X-Correlation-Id:
|
|
51204
|
+
$ref: "#/components/headers/XCorrelationId"
|
|
51205
|
+
x-gala-problem-codes:
|
|
51206
|
+
- NEWSLETTER_UNAVAILABLE
|
|
51165
51207
|
"413":
|
|
51166
51208
|
$ref: "#/components/responses/RequestTooLarge"
|
|
51167
51209
|
"415":
|
|
@@ -51183,6 +51225,7 @@ paths:
|
|
|
51183
51225
|
x-gala-reachable-problems:
|
|
51184
51226
|
- AUTHENTICATION_REQUIRED
|
|
51185
51227
|
- AUTHORIZATION_DENIED
|
|
51228
|
+
- NEWSLETTER_UNAVAILABLE
|
|
51186
51229
|
- REQUEST_FIELD_UNKNOWN
|
|
51187
51230
|
- RESOURCE_NOT_FOUND
|
|
51188
51231
|
- VALIDATION_FAILED
|
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.32.
|
|
101
|
-
"bom-ref": "@rathnasgala2/schemas@3.32.
|
|
100
|
+
"version": "3.32.1",
|
|
101
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.1",
|
|
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.32.
|
|
111
|
+
"purl": "pkg:npm/%40rathnasgala2/schemas@3.32.1?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.32.
|
|
156
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.1|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.32.
|
|
190
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.1|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.32.
|
|
224
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.1|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.32.
|
|
258
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.1|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.32.
|
|
292
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.1|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.32.
|
|
326
|
+
"bom-ref": "@rathnasgala2/schemas@3.32.1|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.32.
|
|
1067
|
+
"ref": "@rathnasgala2/schemas@3.32.1",
|
|
1068
1068
|
"dependsOn": [
|
|
1069
|
-
"@rathnasgala2/schemas@3.32.
|
|
1070
|
-
"@rathnasgala2/schemas@3.32.
|
|
1069
|
+
"@rathnasgala2/schemas@3.32.1|ajv-formats@3.0.1",
|
|
1070
|
+
"@rathnasgala2/schemas@3.32.1|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.32.
|
|
1092
|
+
"ref": "@rathnasgala2/schemas@3.32.1|ajv-formats@3.0.1",
|
|
1093
1093
|
"dependsOn": [
|
|
1094
|
-
"@rathnasgala2/schemas@3.32.
|
|
1094
|
+
"@rathnasgala2/schemas@3.32.1|ajv@8.20.0"
|
|
1095
1095
|
]
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1098
|
+
"ref": "@rathnasgala2/schemas@3.32.1|ajv@8.20.0",
|
|
1099
1099
|
"dependsOn": [
|
|
1100
|
-
"@rathnasgala2/schemas@3.32.
|
|
1101
|
-
"@rathnasgala2/schemas@3.32.
|
|
1102
|
-
"@rathnasgala2/schemas@3.32.
|
|
1103
|
-
"@rathnasgala2/schemas@3.32.
|
|
1100
|
+
"@rathnasgala2/schemas@3.32.1|fast-deep-equal@3.1.3",
|
|
1101
|
+
"@rathnasgala2/schemas@3.32.1|fast-uri@3.1.8",
|
|
1102
|
+
"@rathnasgala2/schemas@3.32.1|json-schema-traverse@1.0.0",
|
|
1103
|
+
"@rathnasgala2/schemas@3.32.1|require-from-string@2.0.2"
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1107
|
+
"ref": "@rathnasgala2/schemas@3.32.1|fast-deep-equal@3.1.3"
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1110
|
+
"ref": "@rathnasgala2/schemas@3.32.1|fast-uri@3.1.8"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1113
|
+
"ref": "@rathnasgala2/schemas@3.32.1|json-schema-traverse@1.0.0"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
|
-
"ref": "@rathnasgala2/schemas@3.32.
|
|
1116
|
+
"ref": "@rathnasgala2/schemas@3.32.1|require-from-string@2.0.2"
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
1119
|
"ref": "pkg:npm/semver@7.8.5"
|