@shoalrun/cli 0.1.0-alpha.12 → 0.1.0-alpha.13
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/CHANGELOG.md +45 -0
- package/README.md +45 -5
- package/agent-docs/.well-known/shoalrun/navigation/project-updates-50f26fe22670.txt +3 -1
- package/agent-docs/SNAPSHOT.json +5 -5
- package/agent-docs/api-docs/support.md +11 -10
- package/agent-docs/author/components.md +13 -1
- package/agent-docs/author/frontmatter-reference.md +28 -25
- package/agent-docs/author/frontmatter-reference.sections/choose-a-publication-and-visibility.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/control-output-details.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/global-defaults-and-enforced-values.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/html-markdown-and-agents.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/identify-and-route-a-page.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/point-agents-to-it.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/project-defined-fields.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/related-reading.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/use-the-local-files-while-authoring.md +3 -1
- package/agent-docs/author/frontmatter-reference.sections/when-the-files-update.md +3 -1
- package/agent-docs/author/frontmatter.md +5 -2
- package/agent-docs/author/frontmatter.sections/audience-badges.md +1 -1
- package/agent-docs/author/frontmatter.sections/give-deprecation-guidance.md +1 -1
- package/agent-docs/author/frontmatter.sections/global-defaults-and-enforced-values.md +1 -1
- package/agent-docs/author/frontmatter.sections/optional-native-fields.md +5 -2
- package/agent-docs/author/frontmatter.sections/publication-fields.md +1 -1
- package/agent-docs/author/frontmatter.sections/publishing-policy.md +1 -1
- package/agent-docs/author/frontmatter.sections/related-metadata-tasks.md +1 -1
- package/agent-docs/author/frontmatter.sections/related-reading.md +1 -1
- package/agent-docs/author/frontmatter.sections/required-after-inheritance.md +1 -1
- package/agent-docs/author/frontmatter.sections/seo-fields.md +1 -1
- package/agent-docs/author/frontmatter.sections/validation-rules.md +1 -1
- package/agent-docs/author/markdown-metadata.md +13 -5
- package/agent-docs/author/navigation.md +12 -1
- package/agent-docs/author/navigation.sections/arrange-authored-pages.md +1 -1
- package/agent-docs/author/navigation.sections/fill-an-api-tag-group.md +1 -1
- package/agent-docs/author/navigation.sections/hide-group-page-counts.md +12 -1
- package/agent-docs/author/navigation.sections/html-markdown-and-agents.md +1 -1
- package/agent-docs/author/navigation.sections/local-api-preview.md +1 -1
- package/agent-docs/author/navigation.sections/mix-guides-and-api-references.md +1 -1
- package/agent-docs/author/navigation.sections/optionally-split-a-large-menu-into-files.md +1 -1
- package/agent-docs/author/navigation.sections/reach-navigation-while-reading.md +1 -1
- package/agent-docs/author/navigation.sections/related-reading.md +1 -1
- package/agent-docs/author/navigation.sections/split-navigation-into-tabs.md +1 -1
- package/agent-docs/author/navigation.sections/subject-lifecycle-labels.md +1 -1
- package/agent-docs/author/templates.md +10 -2
- package/agent-docs/author/templates.sections/built-in-feature-templates.md +1 -1
- package/agent-docs/author/templates.sections/built-in-templates.md +1 -1
- package/agent-docs/author/templates.sections/choose-formatting-enforcement-for-your-project.md +1 -1
- package/agent-docs/author/templates.sections/create-or-edit-a-project-template.md +10 -2
- package/agent-docs/author/templates.sections/keep-the-four-shapes-distinct.md +1 -1
- package/agent-docs/author/templates.sections/project-added-templates.md +1 -1
- package/agent-docs/author/templates.sections/related-reading.md +1 -1
- package/agent-docs/author/templates.sections/scaffold-a-page.md +1 -1
- package/agent-docs/author/templates.sections/short-cli-and-derived-values.md +1 -1
- package/agent-docs/author/templates.sections/what-every-template-gives-you.md +1 -1
- package/agent-docs/author/workspace.md +7 -1
- package/agent-docs/author/writing-style.md +13 -1
- package/agent-docs/author/writing-style.sections/adapt-this-example.md +1 -1
- package/agent-docs/author/writing-style.sections/choose-components-by-reader-need.md +1 -1
- package/agent-docs/author/writing-style.sections/evidence-and-uncertainty.md +1 -1
- package/agent-docs/author/writing-style.sections/example-audience-and-scope.md +1 -1
- package/agent-docs/author/writing-style.sections/feature-availability.md +36 -0
- package/agent-docs/author/writing-style.sections/ingredients-recipes-and-cookbooks.md +1 -1
- package/agent-docs/author/writing-style.sections/page-purpose-and-structure.md +1 -1
- package/agent-docs/author/writing-style.sections/procedures-and-examples.md +1 -1
- package/agent-docs/author/writing-style.sections/related-reading.md +1 -1
- package/agent-docs/author/writing-style.sections/review-a-draft.md +1 -1
- package/agent-docs/author/writing-style.sections/reviewed-writing-examples.md +1 -1
- package/agent-docs/author/writing-style.sections/voice-and-explanations.md +1 -1
- package/agent-docs/changelog/2026-10-28.md +89 -0
- package/agent-docs/changelog.md +9 -1
- package/agent-docs/config/outputs.md +15 -11
- package/agent-docs/config/outputs.sections/exports.md +14 -11
- package/agent-docs/config/outputs.sections/metadata.md +1 -1
- package/agent-docs/config/outputs.sections/related-reading.md +1 -1
- package/agent-docs/content-delivery/agents.md +86 -0
- package/agent-docs/content-delivery/api.md +130 -0
- package/agent-docs/content-delivery/client.md +79 -0
- package/agent-docs/content-delivery/http-api/operations/get-content-representation-fa1d2e3f.md +394 -0
- package/agent-docs/content-delivery/http-api/operations/get-content-representation-head-4052375c.md +256 -0
- package/agent-docs/content-delivery/http-api/operations/get-content-resource-849f1c49.md +911 -0
- package/agent-docs/content-delivery/http-api/operations/get-content-resource-head-0a352acd.md +246 -0
- package/agent-docs/content-delivery/http-api/operations/list-content-resources-8e977ec7.md +913 -0
- package/agent-docs/content-delivery/http-api/operations/list-content-resources-head-b67cbad9.md +236 -0
- package/agent-docs/content-delivery/http-api.md +78 -0
- package/agent-docs/content-delivery/manifest.md +79 -0
- package/agent-docs/content-delivery/publish.md +72 -0
- package/agent-docs/content-delivery/render.md +73 -0
- package/agent-docs/content-delivery/rest.md +108 -0
- package/agent-docs/content-delivery/sections.md +110 -0
- package/agent-docs/content-delivery/select.md +100 -0
- package/agent-docs/content-delivery.md +79 -0
- package/agent-docs/documents.json +6748 -5073
- package/agent-docs/provenance.json +4 -4
- package/agent-docs/publish/content-export.md +32 -16
- package/agent-docs/publish/content-export.sections/assets-downloads-and-notices.md +3 -3
- package/agent-docs/publish/content-export.sections/check-the-result.md +2 -2
- package/agent-docs/publish/content-export.sections/export-selected-pages.md +12 -9
- package/agent-docs/publish/content-export.sections/inspect-the-manifest.md +5 -3
- package/agent-docs/publish/content-export.sections/prerequisites.md +3 -3
- package/agent-docs/publish/content-export.sections/related-reading.md +2 -2
- package/agent-docs/publish/content-export.sections/review-exported-api-material.md +3 -3
- package/agent-docs/publish/content-export.sections/try-the-help-drawer-example.md +3 -3
- package/agent-docs/publish/content-export.sections/upgrade-an-existing-integration.md +34 -0
- package/agent-docs/publish/content-export.sections/what-the-representations-retain.md +4 -4
- package/agent-docs/publish/mcp.md +3 -1
- package/agent-docs/publish/mcp.sections/check-budgets-and-errors.md +1 -1
- package/agent-docs/publish/mcp.sections/choose-the-documentation-source.md +1 -1
- package/agent-docs/publish/mcp.sections/configure-the-client.md +1 -1
- package/agent-docs/publish/mcp.sections/generate-a-vercel-endpoint.md +1 -1
- package/agent-docs/publish/mcp.sections/related-reading.md +3 -1
- package/agent-docs/publish/mcp.sections/search-then-read.md +1 -1
- package/agent-docs/publish/mcp.sections/serve-a-public-endpoint-on-node.md +1 -1
- package/agent-docs/publish/mcp.sections/verify-the-connection.md +1 -1
- package/agent-docs/publish/mcp.sections/why-offer-mcp-for-public-docs.md +1 -1
- package/agent-docs/publish/seo.md +16 -2
- package/agent-docs/publish/seo.sections/related-reading.md +28 -0
- package/agent-docs/publish/seo.sections/set-the-public-address.md +36 -0
- package/agent-docs/publish/seo.sections/what-agents-receive.md +28 -0
- package/agent-docs/publish/seo.sections/what-the-build-adds.md +42 -0
- package/agent-docs/publish/seo.sections/write-the-page-title-and-summary.md +43 -0
- package/agent-docs/search-index.json +1 -1
- package/agent-docs/styling/layouts.md +21 -3
- package/agent-docs/styling/layouts.sections/build-a-landing-page.md +6 -3
- package/agent-docs/styling/layouts.sections/build-a-splash-page.md +6 -3
- package/agent-docs/styling/layouts.sections/control-navigation-tabs.md +6 -3
- package/agent-docs/styling/layouts.sections/customize-the-hero.md +6 -3
- package/agent-docs/styling/layouts.sections/hero.md +6 -3
- package/agent-docs/styling/layouts.sections/hide-the-table-of-contents-or-give-content-more-room.md +54 -0
- package/agent-docs/styling/layouts.sections/html-markdown-and-agents.md +6 -3
- package/agent-docs/styling/layouts.sections/related-reading.md +6 -3
- package/dist/api.js +70 -3
- package/dist/authoring-hints.d.ts +3 -0
- package/dist/authoring-hints.js +35 -0
- package/dist/authoring-project.d.ts +1 -1
- package/dist/authoring-project.js +2 -0
- package/dist/authoring-validation.js +2 -0
- package/dist/code-samples.js +22 -11
- package/dist/compiler-config.d.ts +1 -0
- package/dist/compiler-config.js +13 -0
- package/dist/compiler.js +2 -1
- package/dist/component-names.js +1 -1
- package/dist/component-transform.js +7 -1
- package/dist/content-delivery-contract.d.ts +108 -0
- package/dist/content-delivery-contract.js +15 -0
- package/dist/content-delivery-transport.d.ts +3 -0
- package/dist/content-delivery-transport.js +47 -0
- package/dist/content-delivery-validation.d.ts +7 -0
- package/dist/content-delivery-validation.js +122 -0
- package/dist/content-delivery.d.ts +21 -0
- package/dist/content-delivery.js +119 -0
- package/dist/content-export-anchors.d.ts +11 -0
- package/dist/content-export-anchors.js +79 -0
- package/dist/content-export-command.d.ts +4 -2
- package/dist/content-export-command.js +15 -2
- package/dist/content-export-comparison.d.ts +16 -0
- package/dist/content-export-comparison.js +48 -0
- package/dist/content-export-config.d.ts +17 -0
- package/dist/content-export-config.js +47 -3
- package/dist/content-export-render.js +20 -1
- package/dist/content-export.d.ts +5 -1
- package/dist/content-export.js +193 -40
- package/dist/content-mount.d.ts +11 -0
- package/dist/content-mount.js +73 -0
- package/dist/content-rest-client.d.ts +12 -0
- package/dist/content-rest-client.js +162 -0
- package/dist/content-rest-contract.d.ts +27 -0
- package/dist/content-rest-contract.js +9 -0
- package/dist/content-rest-server.d.ts +7 -0
- package/dist/content-rest-server.js +99 -0
- package/dist/content-source.d.ts +3 -1
- package/dist/frontmatter.js +8 -7
- package/dist/html-renderer.js +25 -0
- package/dist/markdown-sections.d.ts +2 -1
- package/dist/markdown-sections.js +8 -18
- package/dist/page-renderer.js +5 -3
- package/dist/publication-plan.js +2 -1
- package/dist/scaffold-placeholders.d.ts +2 -0
- package/dist/scaffold-placeholders.js +19 -0
- package/dist/section-identity.d.ts +24 -0
- package/dist/section-identity.js +137 -0
- package/examples/content-delivery/README.md +87 -0
- package/examples/content-delivery/app.js +91 -0
- package/examples/content-delivery/content/billing.mdx +22 -0
- package/examples/content-delivery/docs.config.yaml +36 -0
- package/examples/content-delivery/index.html +25 -0
- package/examples/content-delivery/preview.mjs +86 -0
- package/examples/content-delivery/snippets/refund-window.mdx +3 -0
- package/examples/help-drawer/README.md +2 -2
- package/examples/help-drawer/app.js +3 -3
- package/package.json +6 -3
- package/schemas/content-export.schema.json +469 -33
- package/schemas/content-rest.openapi.json +1627 -0
- package/skills/shoalrun-author/SKILL.md +2 -0
- package/styles/site.css +4 -1
|
@@ -0,0 +1,913 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: reference.content-rest.listContentResources
|
|
3
|
+
title: List resource metadata
|
|
4
|
+
summary: GET /resources
|
|
5
|
+
type: api-reference
|
|
6
|
+
area: api
|
|
7
|
+
subarea: api-reference
|
|
8
|
+
canonical: /content-delivery/http-api/operations/list-content-resources-8e977ec7
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# List resource metadata
|
|
12
|
+
|
|
13
|
+
> Documentation index: [llms.min.txt](https://www.shoalrun.com/llms.min.txt) · Document manifest: [documents.json](https://www.shoalrun.com/documents.json)
|
|
14
|
+
|
|
15
|
+
Navigation section: [Reference](https://www.shoalrun.com/.well-known/shoalrun/navigation/reference-tab-50f26fe22670.txt) (ID: reference-tab). [All sections and pages](https://www.shoalrun.com/llms.min.txt)
|
|
16
|
+
|
|
17
|
+
Breadcrumbs: [Reference](https://www.shoalrun.com/cli.md) > Content delivery > Content REST API > Other > List resource metadata
|
|
18
|
+
|
|
19
|
+
**Updated: 2026-09-27.**
|
|
20
|
+
|
|
21
|
+
This reference is generated from the OpenAPI description. It shows the operation contract; follow any related guides below for task steps and context.
|
|
22
|
+
|
|
23
|
+
OpenAPI for this operation: [Download JSON](https://www.shoalrun.com/api/operations/production/current/en/content-rest-listcontentresources-b664cb30bd0fc4c2a4b13ada9e7591355af7d9f084fa9def4c21b785fece1861.json).
|
|
24
|
+
|
|
25
|
+
## GET /resources
|
|
26
|
+
|
|
27
|
+
List resource metadata
|
|
28
|
+
|
|
29
|
+
Query parameters are single-valued; unknown or duplicate parameters are rejected. Publication and revision checks run before conditional ETag checks. No pagination, search, writes, authentication, or cross-origin policy is supplied by this reference adapter.
|
|
30
|
+
|
|
31
|
+
### Servers
|
|
32
|
+
|
|
33
|
+
`/content/v1`
|
|
34
|
+
|
|
35
|
+
### Parameters
|
|
36
|
+
|
|
37
|
+
#### channel (query)
|
|
38
|
+
|
|
39
|
+
Required
|
|
40
|
+
|
|
41
|
+
Exact publication channel. No default or fallback.
|
|
42
|
+
|
|
43
|
+
string; minLength: 1; maxLength: 2048
|
|
44
|
+
|
|
45
|
+
**Default example**: `"production"`
|
|
46
|
+
|
|
47
|
+
#### version (query)
|
|
48
|
+
|
|
49
|
+
Required
|
|
50
|
+
|
|
51
|
+
Exact publication version. No default or fallback.
|
|
52
|
+
|
|
53
|
+
string; minLength: 1; maxLength: 2048
|
|
54
|
+
|
|
55
|
+
**Default example**: `"current"`
|
|
56
|
+
|
|
57
|
+
#### language (query)
|
|
58
|
+
|
|
59
|
+
Required
|
|
60
|
+
|
|
61
|
+
Exact publication language. No default or fallback.
|
|
62
|
+
|
|
63
|
+
string; minLength: 1; maxLength: 2048
|
|
64
|
+
|
|
65
|
+
**Default example**: `"en"`
|
|
66
|
+
|
|
67
|
+
#### revision (query)
|
|
68
|
+
|
|
69
|
+
Optional
|
|
70
|
+
|
|
71
|
+
Omit to discover the currently supplied snapshot. Supply to require that exact revision.
|
|
72
|
+
|
|
73
|
+
string; pattern: ^\[a-f0-9]{64}$
|
|
74
|
+
|
|
75
|
+
**Default example**: `"0770e6d70db51967fac8dcc7bb4ff5a5bff87378eb2e2bbb63dea93d090c82e8"`
|
|
76
|
+
|
|
77
|
+
#### If-None-Match (header)
|
|
78
|
+
|
|
79
|
+
Optional
|
|
80
|
+
|
|
81
|
+
An ETag, comma-separated ETags, or \*. Weak comparison is supported for GET and HEAD.
|
|
82
|
+
|
|
83
|
+
string
|
|
84
|
+
|
|
85
|
+
### Example request
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
curl --request GET \
|
|
89
|
+
--url 'https://YOUR_API_HOST/content/v1/resources?channel=YOUR_CHANNEL&version=YOUR_VERSION&language=YOUR_LANGUAGE'
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Responses
|
|
93
|
+
|
|
94
|
+
#### 200: OK
|
|
95
|
+
|
|
96
|
+
`application/json`
|
|
97
|
+
|
|
98
|
+
The selected resource or inventory.
|
|
99
|
+
|
|
100
|
+
##### Response headers
|
|
101
|
+
|
|
102
|
+
###### ETag
|
|
103
|
+
|
|
104
|
+
Optional
|
|
105
|
+
|
|
106
|
+
Strong SHA-256 validator of the exact UTF-8 response bytes.
|
|
107
|
+
|
|
108
|
+
Serialization: simple; explode: false.
|
|
109
|
+
|
|
110
|
+
string
|
|
111
|
+
|
|
112
|
+
###### Cache-Control
|
|
113
|
+
|
|
114
|
+
Optional
|
|
115
|
+
|
|
116
|
+
Unpinned discovery uses no-cache. Revision-pinned success uses public, max-age=31536000, immutable. Errors use no-store.
|
|
117
|
+
|
|
118
|
+
Serialization: simple; explode: false.
|
|
119
|
+
|
|
120
|
+
string
|
|
121
|
+
|
|
122
|
+
4 properties
|
|
123
|
+
|
|
124
|
+
- `schemaVersion` `number` **always present** 
|
|
125
|
+
|
|
126
|
+
const: 1
|
|
127
|
+
|
|
128
|
+
- `revision` `string` **always present** 
|
|
129
|
+
|
|
130
|
+
pattern: ^\[a-f0-9]{64}$
|
|
131
|
+
|
|
132
|
+
- `publication` `object` **always present** 
|
|
133
|
+
|
|
134
|
+
3 properties
|
|
135
|
+
|
|
136
|
+
- `channel` `string` **always present** 
|
|
137
|
+
|
|
138
|
+
minLength: 1
|
|
139
|
+
|
|
140
|
+
- `version` `string` **always present** 
|
|
141
|
+
|
|
142
|
+
minLength: 1
|
|
143
|
+
|
|
144
|
+
- `language` `string` **always present** 
|
|
145
|
+
|
|
146
|
+
minLength: 1
|
|
147
|
+
|
|
148
|
+
Additional properties: not allowed.
|
|
149
|
+
|
|
150
|
+
- `resources` `list of object` **always present** 
|
|
151
|
+
|
|
152
|
+
Array items:
|
|
153
|
+
|
|
154
|
+
2 properties
|
|
155
|
+
|
|
156
|
+
- `key` `string` **always present** 
|
|
157
|
+
|
|
158
|
+
Opaque stable typed-reference key. Use the returned key. It is k\_ followed by unpadded base64url of UTF-8 JSON for \["page",documentId], \["section",documentId,sectionId], or \["snippet",id]. Publication and revision are separate selectors.
|
|
159
|
+
|
|
160
|
+
pattern: ^k\_\[A-Za-z0-9\_-]+$
|
|
161
|
+
|
|
162
|
+
- `resource` `object` **always present** 
|
|
163
|
+
|
|
164
|
+
10 properties
|
|
165
|
+
|
|
166
|
+
- `publication` `object` **always present** 
|
|
167
|
+
|
|
168
|
+
3 properties
|
|
169
|
+
|
|
170
|
+
- `channel` `string` **always present** 
|
|
171
|
+
|
|
172
|
+
minLength: 1
|
|
173
|
+
|
|
174
|
+
- `version` `string` **always present** 
|
|
175
|
+
|
|
176
|
+
minLength: 1
|
|
177
|
+
|
|
178
|
+
- `language` `string` **always present** 
|
|
179
|
+
|
|
180
|
+
minLength: 1
|
|
181
|
+
|
|
182
|
+
Additional properties: not allowed.
|
|
183
|
+
|
|
184
|
+
- `title` `string` **always present** 
|
|
185
|
+
|
|
186
|
+
- `summary` `string` **always present** 
|
|
187
|
+
|
|
188
|
+
- `type` `string` **always present** 
|
|
189
|
+
|
|
190
|
+
- `canonicalUrl` `string` **may be absent** 
|
|
191
|
+
|
|
192
|
+
format: uri
|
|
193
|
+
|
|
194
|
+
- `representations` `object` **always present** 
|
|
195
|
+
|
|
196
|
+
minProperties: 1
|
|
197
|
+
|
|
198
|
+
2 properties
|
|
199
|
+
|
|
200
|
+
- `html` `object` **may be absent** 
|
|
201
|
+
|
|
202
|
+
6 properties
|
|
203
|
+
|
|
204
|
+
- `path` `string` **always present** 
|
|
205
|
+
|
|
206
|
+
pattern: ^(?:NOTICES\\.txt|(?:content|assets)/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+(?:/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+)\*)$
|
|
207
|
+
|
|
208
|
+
- `bytes` `integer` **always present** 
|
|
209
|
+
|
|
210
|
+
minimum: 0
|
|
211
|
+
|
|
212
|
+
- `digest` `string` **always present** 
|
|
213
|
+
|
|
214
|
+
pattern: ^\[a-f0-9]{64}$
|
|
215
|
+
|
|
216
|
+
- `mediaType` `string` **always present** 
|
|
217
|
+
|
|
218
|
+
- `anchors` `list of object` **always present** 
|
|
219
|
+
|
|
220
|
+
Array items:
|
|
221
|
+
|
|
222
|
+
object
|
|
223
|
+
|
|
224
|
+
3 properties
|
|
225
|
+
|
|
226
|
+
- `id` `string` **always present** 
|
|
227
|
+
|
|
228
|
+
- `exportedId` `string` **always present** 
|
|
229
|
+
|
|
230
|
+
- `title` `string` **may be absent** 
|
|
231
|
+
|
|
232
|
+
Additional properties: not allowed.
|
|
233
|
+
|
|
234
|
+
- `links` `list of one of several types` **always present** 
|
|
235
|
+
|
|
236
|
+
Array items:
|
|
237
|
+
|
|
238
|
+
The response has exactly one of these shapes:
|
|
239
|
+
|
|
240
|
+
**Shape 1** · 6 properties
|
|
241
|
+
|
|
242
|
+
object
|
|
243
|
+
|
|
244
|
+
6 properties
|
|
245
|
+
|
|
246
|
+
- `key` `string` **always present** 
|
|
247
|
+
|
|
248
|
+
- `kind` `enum<string>` **always present** 
|
|
249
|
+
|
|
250
|
+
Available options: `"resource"`
|
|
251
|
+
|
|
252
|
+
- `href` `string` **always present** 
|
|
253
|
+
|
|
254
|
+
- `fragment` `string` **may be absent** 
|
|
255
|
+
|
|
256
|
+
- `query` `string` **may be absent** 
|
|
257
|
+
|
|
258
|
+
- `ref` `one of several types` **always present** 
|
|
259
|
+
|
|
260
|
+
The response has exactly one of these shapes:
|
|
261
|
+
|
|
262
|
+
**Shape 1** · 2 properties
|
|
263
|
+
|
|
264
|
+
object
|
|
265
|
+
|
|
266
|
+
2 properties
|
|
267
|
+
|
|
268
|
+
- `kind` `string` **always present** 
|
|
269
|
+
|
|
270
|
+
const: "page"
|
|
271
|
+
|
|
272
|
+
- `documentId` `string` **always present** 
|
|
273
|
+
|
|
274
|
+
minLength: 1
|
|
275
|
+
|
|
276
|
+
Additional properties: not allowed.
|
|
277
|
+
|
|
278
|
+
**Shape 2** · 3 properties
|
|
279
|
+
|
|
280
|
+
object
|
|
281
|
+
|
|
282
|
+
3 properties
|
|
283
|
+
|
|
284
|
+
- `kind` `string` **always present** 
|
|
285
|
+
|
|
286
|
+
const: "section"
|
|
287
|
+
|
|
288
|
+
- `documentId` `string` **always present** 
|
|
289
|
+
|
|
290
|
+
minLength: 1
|
|
291
|
+
|
|
292
|
+
- `sectionId` `string` **always present** 
|
|
293
|
+
|
|
294
|
+
pattern: ^\[a-z0-9]\[a-z0-9-]{0,511}$
|
|
295
|
+
|
|
296
|
+
Additional properties: not allowed.
|
|
297
|
+
|
|
298
|
+
**Shape 3** · 2 properties
|
|
299
|
+
|
|
300
|
+
object
|
|
301
|
+
|
|
302
|
+
2 properties
|
|
303
|
+
|
|
304
|
+
- `kind` `string` **always present** 
|
|
305
|
+
|
|
306
|
+
const: "snippet"
|
|
307
|
+
|
|
308
|
+
- `id` `string` **always present** 
|
|
309
|
+
|
|
310
|
+
pattern: ^\[A-Za-z\_]\[A-Za-z0-9\_.-]\*$
|
|
311
|
+
|
|
312
|
+
Additional properties: not allowed.
|
|
313
|
+
|
|
314
|
+
Additional properties: not allowed.
|
|
315
|
+
|
|
316
|
+
**Shape 2** · 6 properties
|
|
317
|
+
|
|
318
|
+
object
|
|
319
|
+
|
|
320
|
+
6 properties
|
|
321
|
+
|
|
322
|
+
- `key` `string` **always present** 
|
|
323
|
+
|
|
324
|
+
- `kind` `enum<string>` **always present** 
|
|
325
|
+
|
|
326
|
+
Available options: `"asset"`
|
|
327
|
+
|
|
328
|
+
- `href` `string` **always present** 
|
|
329
|
+
|
|
330
|
+
- `fragment` `string` **may be absent** 
|
|
331
|
+
|
|
332
|
+
- `query` `string` **may be absent** 
|
|
333
|
+
|
|
334
|
+
- `asset` `string` **always present** 
|
|
335
|
+
|
|
336
|
+
pattern: ^(?:NOTICES\\.txt|(?:content|assets)/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+(?:/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+)\*)$
|
|
337
|
+
|
|
338
|
+
Additional properties: not allowed.
|
|
339
|
+
|
|
340
|
+
**Shape 3** · 5 properties
|
|
341
|
+
|
|
342
|
+
object
|
|
343
|
+
|
|
344
|
+
5 properties
|
|
345
|
+
|
|
346
|
+
- `key` `string` **always present** 
|
|
347
|
+
|
|
348
|
+
- `kind` `enum<string>` **always present** 
|
|
349
|
+
|
|
350
|
+
Available options: `"canonical"`, `"external"`
|
|
351
|
+
|
|
352
|
+
- `href` `string` **always present** 
|
|
353
|
+
|
|
354
|
+
- `fragment` `string` **may be absent** 
|
|
355
|
+
|
|
356
|
+
- `query` `string` **may be absent** 
|
|
357
|
+
|
|
358
|
+
Additional properties: not allowed.
|
|
359
|
+
|
|
360
|
+
Additional properties: not allowed.
|
|
361
|
+
|
|
362
|
+
- `markdown` `object` **may be absent** 
|
|
363
|
+
|
|
364
|
+
6 properties
|
|
365
|
+
|
|
366
|
+
- `path` `string` **always present** 
|
|
367
|
+
|
|
368
|
+
pattern: ^(?:NOTICES\\.txt|(?:content|assets)/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+(?:/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+)\*)$
|
|
369
|
+
|
|
370
|
+
- `bytes` `integer` **always present** 
|
|
371
|
+
|
|
372
|
+
minimum: 0
|
|
373
|
+
|
|
374
|
+
- `digest` `string` **always present** 
|
|
375
|
+
|
|
376
|
+
pattern: ^\[a-f0-9]{64}$
|
|
377
|
+
|
|
378
|
+
- `mediaType` `string` **always present** 
|
|
379
|
+
|
|
380
|
+
- `anchors` `list of object` **always present** 
|
|
381
|
+
|
|
382
|
+
Array items:
|
|
383
|
+
|
|
384
|
+
object
|
|
385
|
+
|
|
386
|
+
3 properties
|
|
387
|
+
|
|
388
|
+
- `id` `string` **always present** 
|
|
389
|
+
|
|
390
|
+
- `exportedId` `string` **always present** 
|
|
391
|
+
|
|
392
|
+
- `title` `string` **may be absent** 
|
|
393
|
+
|
|
394
|
+
Additional properties: not allowed.
|
|
395
|
+
|
|
396
|
+
- `links` `list of one of several types` **always present** 
|
|
397
|
+
|
|
398
|
+
Array items:
|
|
399
|
+
|
|
400
|
+
The response has exactly one of these shapes:
|
|
401
|
+
|
|
402
|
+
**Shape 1** · 6 properties
|
|
403
|
+
|
|
404
|
+
object
|
|
405
|
+
|
|
406
|
+
6 properties
|
|
407
|
+
|
|
408
|
+
- `key` `string` **always present** 
|
|
409
|
+
|
|
410
|
+
- `kind` `enum<string>` **always present** 
|
|
411
|
+
|
|
412
|
+
Available options: `"resource"`
|
|
413
|
+
|
|
414
|
+
- `href` `string` **always present** 
|
|
415
|
+
|
|
416
|
+
- `fragment` `string` **may be absent** 
|
|
417
|
+
|
|
418
|
+
- `query` `string` **may be absent** 
|
|
419
|
+
|
|
420
|
+
- `ref` `one of several types` **always present** 
|
|
421
|
+
|
|
422
|
+
The response has exactly one of these shapes:
|
|
423
|
+
|
|
424
|
+
**Shape 1** · 2 properties
|
|
425
|
+
|
|
426
|
+
object
|
|
427
|
+
|
|
428
|
+
2 properties
|
|
429
|
+
|
|
430
|
+
- `kind` `string` **always present** 
|
|
431
|
+
|
|
432
|
+
const: "page"
|
|
433
|
+
|
|
434
|
+
- `documentId` `string` **always present** 
|
|
435
|
+
|
|
436
|
+
minLength: 1
|
|
437
|
+
|
|
438
|
+
Additional properties: not allowed.
|
|
439
|
+
|
|
440
|
+
**Shape 2** · 3 properties
|
|
441
|
+
|
|
442
|
+
object
|
|
443
|
+
|
|
444
|
+
3 properties
|
|
445
|
+
|
|
446
|
+
- `kind` `string` **always present** 
|
|
447
|
+
|
|
448
|
+
const: "section"
|
|
449
|
+
|
|
450
|
+
- `documentId` `string` **always present** 
|
|
451
|
+
|
|
452
|
+
minLength: 1
|
|
453
|
+
|
|
454
|
+
- `sectionId` `string` **always present** 
|
|
455
|
+
|
|
456
|
+
pattern: ^\[a-z0-9]\[a-z0-9-]{0,511}$
|
|
457
|
+
|
|
458
|
+
Additional properties: not allowed.
|
|
459
|
+
|
|
460
|
+
**Shape 3** · 2 properties
|
|
461
|
+
|
|
462
|
+
object
|
|
463
|
+
|
|
464
|
+
2 properties
|
|
465
|
+
|
|
466
|
+
- `kind` `string` **always present** 
|
|
467
|
+
|
|
468
|
+
const: "snippet"
|
|
469
|
+
|
|
470
|
+
- `id` `string` **always present** 
|
|
471
|
+
|
|
472
|
+
pattern: ^\[A-Za-z\_]\[A-Za-z0-9\_.-]\*$
|
|
473
|
+
|
|
474
|
+
Additional properties: not allowed.
|
|
475
|
+
|
|
476
|
+
Additional properties: not allowed.
|
|
477
|
+
|
|
478
|
+
**Shape 2** · 6 properties
|
|
479
|
+
|
|
480
|
+
object
|
|
481
|
+
|
|
482
|
+
6 properties
|
|
483
|
+
|
|
484
|
+
- `key` `string` **always present** 
|
|
485
|
+
|
|
486
|
+
- `kind` `enum<string>` **always present** 
|
|
487
|
+
|
|
488
|
+
Available options: `"asset"`
|
|
489
|
+
|
|
490
|
+
- `href` `string` **always present** 
|
|
491
|
+
|
|
492
|
+
- `fragment` `string` **may be absent** 
|
|
493
|
+
|
|
494
|
+
- `query` `string` **may be absent** 
|
|
495
|
+
|
|
496
|
+
- `asset` `string` **always present** 
|
|
497
|
+
|
|
498
|
+
pattern: ^(?:NOTICES\\.txt|(?:content|assets)/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+(?:/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+)\*)$
|
|
499
|
+
|
|
500
|
+
Additional properties: not allowed.
|
|
501
|
+
|
|
502
|
+
**Shape 3** · 5 properties
|
|
503
|
+
|
|
504
|
+
object
|
|
505
|
+
|
|
506
|
+
5 properties
|
|
507
|
+
|
|
508
|
+
- `key` `string` **always present** 
|
|
509
|
+
|
|
510
|
+
- `kind` `enum<string>` **always present** 
|
|
511
|
+
|
|
512
|
+
Available options: `"canonical"`, `"external"`
|
|
513
|
+
|
|
514
|
+
- `href` `string` **always present** 
|
|
515
|
+
|
|
516
|
+
- `fragment` `string` **may be absent** 
|
|
517
|
+
|
|
518
|
+
- `query` `string` **may be absent** 
|
|
519
|
+
|
|
520
|
+
Additional properties: not allowed.
|
|
521
|
+
|
|
522
|
+
Additional properties: not allowed.
|
|
523
|
+
|
|
524
|
+
Additional properties: not allowed.
|
|
525
|
+
|
|
526
|
+
- `assets` `list of string` **always present** 
|
|
527
|
+
|
|
528
|
+
uniqueItems: true
|
|
529
|
+
|
|
530
|
+
Array items:
|
|
531
|
+
|
|
532
|
+
string; pattern: ^(?:NOTICES\\.txt|(?:content|assets)/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+(?:/(?!\\.{1,2}(?:/|$))\[A-Za-z0-9\_.-]+)\*)$
|
|
533
|
+
|
|
534
|
+
- `externalDependencies` `list of object` **always present** 
|
|
535
|
+
|
|
536
|
+
Array items:
|
|
537
|
+
|
|
538
|
+
object
|
|
539
|
+
|
|
540
|
+
2 properties
|
|
541
|
+
|
|
542
|
+
- `url` `string` **always present** 
|
|
543
|
+
|
|
544
|
+
format: uri
|
|
545
|
+
|
|
546
|
+
- `kind` `string` **always present** 
|
|
547
|
+
|
|
548
|
+
const: "image"
|
|
549
|
+
|
|
550
|
+
Additional properties: not allowed.
|
|
551
|
+
|
|
552
|
+
- `ref` `one of several types` **always present** 
|
|
553
|
+
|
|
554
|
+
The response has exactly one of these shapes:
|
|
555
|
+
|
|
556
|
+
**Shape 1** · 2 properties
|
|
557
|
+
|
|
558
|
+
object
|
|
559
|
+
|
|
560
|
+
2 properties
|
|
561
|
+
|
|
562
|
+
- `kind` `string` **always present** 
|
|
563
|
+
|
|
564
|
+
const: "page"
|
|
565
|
+
|
|
566
|
+
- `documentId` `string` **always present** 
|
|
567
|
+
|
|
568
|
+
minLength: 1
|
|
569
|
+
|
|
570
|
+
Additional properties: not allowed.
|
|
571
|
+
|
|
572
|
+
**Shape 2** · 3 properties
|
|
573
|
+
|
|
574
|
+
object
|
|
575
|
+
|
|
576
|
+
3 properties
|
|
577
|
+
|
|
578
|
+
- `kind` `string` **always present** 
|
|
579
|
+
|
|
580
|
+
const: "section"
|
|
581
|
+
|
|
582
|
+
- `documentId` `string` **always present** 
|
|
583
|
+
|
|
584
|
+
minLength: 1
|
|
585
|
+
|
|
586
|
+
- `sectionId` `string` **always present** 
|
|
587
|
+
|
|
588
|
+
pattern: ^\[a-z0-9]\[a-z0-9-]{0,511}$
|
|
589
|
+
|
|
590
|
+
Additional properties: not allowed.
|
|
591
|
+
|
|
592
|
+
**Shape 3** · 2 properties
|
|
593
|
+
|
|
594
|
+
object
|
|
595
|
+
|
|
596
|
+
2 properties
|
|
597
|
+
|
|
598
|
+
- `kind` `string` **always present** 
|
|
599
|
+
|
|
600
|
+
const: "snippet"
|
|
601
|
+
|
|
602
|
+
- `id` `string` **always present** 
|
|
603
|
+
|
|
604
|
+
pattern: ^\[A-Za-z\_]\[A-Za-z0-9\_.-]\*$
|
|
605
|
+
|
|
606
|
+
Additional properties: not allowed.
|
|
607
|
+
|
|
608
|
+
- `source` `object` **may be absent** 
|
|
609
|
+
|
|
610
|
+
minProperties: 1
|
|
611
|
+
|
|
612
|
+
3 properties
|
|
613
|
+
|
|
614
|
+
- `documentId` `string` **may be absent** 
|
|
615
|
+
|
|
616
|
+
minLength: 1
|
|
617
|
+
|
|
618
|
+
- `snippetId` `string` **may be absent** 
|
|
619
|
+
|
|
620
|
+
minLength: 1
|
|
621
|
+
|
|
622
|
+
- `valuesDigest` `string` **may be absent** 
|
|
623
|
+
|
|
624
|
+
pattern: ^\[a-f0-9]{64}$
|
|
625
|
+
|
|
626
|
+
Additional properties: not allowed.
|
|
627
|
+
|
|
628
|
+
Additional properties: not allowed.
|
|
629
|
+
|
|
630
|
+
Additional properties: not allowed.
|
|
631
|
+
|
|
632
|
+
Additional properties: not allowed.
|
|
633
|
+
|
|
634
|
+
##### Example: Illustrative content; discover keys and revision from your own host.
|
|
635
|
+
|
|
636
|
+
Key: illustrative. Location: response 200; application/json. Authored in OpenAPI.
|
|
637
|
+
|
|
638
|
+
```json
|
|
639
|
+
{
|
|
640
|
+
"schemaVersion": 1,
|
|
641
|
+
"revision": "0770e6d70db51967fac8dcc7bb4ff5a5bff87378eb2e2bbb63dea93d090c82e8",
|
|
642
|
+
"publication": {
|
|
643
|
+
"channel": "production",
|
|
644
|
+
"version": "current",
|
|
645
|
+
"language": "en"
|
|
646
|
+
},
|
|
647
|
+
"resources": [
|
|
648
|
+
{
|
|
649
|
+
"key": "k_WyJwYWdlIiwiZ3VpZGUuYmlsbGluZyJd",
|
|
650
|
+
"resource": {
|
|
651
|
+
"ref": {
|
|
652
|
+
"kind": "page",
|
|
653
|
+
"documentId": "guide.billing"
|
|
654
|
+
},
|
|
655
|
+
"publication": {
|
|
656
|
+
"channel": "production",
|
|
657
|
+
"version": "current",
|
|
658
|
+
"language": "en"
|
|
659
|
+
},
|
|
660
|
+
"title": "Billing",
|
|
661
|
+
"summary": "Contact billing support.",
|
|
662
|
+
"type": "guide",
|
|
663
|
+
"representations": {
|
|
664
|
+
"html": {
|
|
665
|
+
"path": "content/resource-example.html",
|
|
666
|
+
"mediaType": "text/html",
|
|
667
|
+
"bytes": 24,
|
|
668
|
+
"digest": "0a97b73701c659be016f97a7be571c14c1cdad440cf79dfc1c8a0238a8b4787f",
|
|
669
|
+
"anchors": [],
|
|
670
|
+
"links": []
|
|
671
|
+
},
|
|
672
|
+
"markdown": {
|
|
673
|
+
"path": "content/resource-example.md",
|
|
674
|
+
"mediaType": "text/markdown",
|
|
675
|
+
"bytes": 17,
|
|
676
|
+
"digest": "d37729e92d86a1133926632326a5d61a3e65610a169d65211726924af02dac5c",
|
|
677
|
+
"anchors": [],
|
|
678
|
+
"links": []
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"assets": [],
|
|
682
|
+
"externalDependencies": []
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
]
|
|
686
|
+
}
|
|
687
|
+
```
|
|
688
|
+
|
|
689
|
+
#### 304: Not Modified
|
|
690
|
+
|
|
691
|
+
The validated selected response matches If-None-Match. No response body.
|
|
692
|
+
|
|
693
|
+
##### Response headers
|
|
694
|
+
|
|
695
|
+
###### ETag
|
|
696
|
+
|
|
697
|
+
Optional
|
|
698
|
+
|
|
699
|
+
Strong SHA-256 validator of the exact UTF-8 response bytes.
|
|
700
|
+
|
|
701
|
+
Serialization: simple; explode: false.
|
|
702
|
+
|
|
703
|
+
string
|
|
704
|
+
|
|
705
|
+
###### Cache-Control
|
|
706
|
+
|
|
707
|
+
Optional
|
|
708
|
+
|
|
709
|
+
Unpinned discovery uses no-cache. Revision-pinned success uses public, max-age=31536000, immutable. Errors use no-store.
|
|
710
|
+
|
|
711
|
+
Serialization: simple; explode: false.
|
|
712
|
+
|
|
713
|
+
string
|
|
714
|
+
|
|
715
|
+
#### 400: Bad Request
|
|
716
|
+
|
|
717
|
+
`application/json`
|
|
718
|
+
|
|
719
|
+
invalid_request: missing, duplicate, unknown, or malformed query parameter.
|
|
720
|
+
|
|
721
|
+
##### Response headers
|
|
722
|
+
|
|
723
|
+
###### Cache-Control
|
|
724
|
+
|
|
725
|
+
Optional
|
|
726
|
+
|
|
727
|
+
Serialization: simple; explode: false.
|
|
728
|
+
|
|
729
|
+
const: "no-store"
|
|
730
|
+
|
|
731
|
+
1 property
|
|
732
|
+
|
|
733
|
+
- `error` `object` **always present** 
|
|
734
|
+
|
|
735
|
+
2 properties
|
|
736
|
+
|
|
737
|
+
- `code` `enum<string>` **always present** 
|
|
738
|
+
|
|
739
|
+
Available options: `"invalid_request"`, `"not_found"`, `"unsupported_format"`, `"stale_revision"`, `"method_not_allowed"`, `"internal_error"`
|
|
740
|
+
|
|
741
|
+
- `message` `string` **always present** 
|
|
742
|
+
|
|
743
|
+
Additional properties: not allowed.
|
|
744
|
+
|
|
745
|
+
Additional properties: not allowed.
|
|
746
|
+
|
|
747
|
+
#### 404: Not Found
|
|
748
|
+
|
|
749
|
+
`application/json`
|
|
750
|
+
|
|
751
|
+
not_found: unknown publication, resource, or route.
|
|
752
|
+
|
|
753
|
+
##### Response headers
|
|
754
|
+
|
|
755
|
+
###### Cache-Control
|
|
756
|
+
|
|
757
|
+
Optional
|
|
758
|
+
|
|
759
|
+
Serialization: simple; explode: false.
|
|
760
|
+
|
|
761
|
+
const: "no-store"
|
|
762
|
+
|
|
763
|
+
1 property
|
|
764
|
+
|
|
765
|
+
- `error` `object` **always present** 
|
|
766
|
+
|
|
767
|
+
2 properties
|
|
768
|
+
|
|
769
|
+
- `code` `enum<string>` **always present** 
|
|
770
|
+
|
|
771
|
+
Available options: `"invalid_request"`, `"not_found"`, `"unsupported_format"`, `"stale_revision"`, `"method_not_allowed"`, `"internal_error"`
|
|
772
|
+
|
|
773
|
+
- `message` `string` **always present** 
|
|
774
|
+
|
|
775
|
+
Additional properties: not allowed.
|
|
776
|
+
|
|
777
|
+
Additional properties: not allowed.
|
|
778
|
+
|
|
779
|
+
#### 405: Method Not Allowed
|
|
780
|
+
|
|
781
|
+
`application/json`
|
|
782
|
+
|
|
783
|
+
method_not_allowed: only GET and HEAD are supported; Allow lists both.
|
|
784
|
+
|
|
785
|
+
##### Response headers
|
|
786
|
+
|
|
787
|
+
###### Cache-Control
|
|
788
|
+
|
|
789
|
+
Optional
|
|
790
|
+
|
|
791
|
+
Serialization: simple; explode: false.
|
|
792
|
+
|
|
793
|
+
const: "no-store"
|
|
794
|
+
|
|
795
|
+
###### Allow
|
|
796
|
+
|
|
797
|
+
Optional
|
|
798
|
+
|
|
799
|
+
Serialization: simple; explode: false.
|
|
800
|
+
|
|
801
|
+
const: "GET, HEAD"
|
|
802
|
+
|
|
803
|
+
1 property
|
|
804
|
+
|
|
805
|
+
- `error` `object` **always present** 
|
|
806
|
+
|
|
807
|
+
2 properties
|
|
808
|
+
|
|
809
|
+
- `code` `enum<string>` **always present** 
|
|
810
|
+
|
|
811
|
+
Available options: `"invalid_request"`, `"not_found"`, `"unsupported_format"`, `"stale_revision"`, `"method_not_allowed"`, `"internal_error"`
|
|
812
|
+
|
|
813
|
+
- `message` `string` **always present** 
|
|
814
|
+
|
|
815
|
+
Additional properties: not allowed.
|
|
816
|
+
|
|
817
|
+
Additional properties: not allowed.
|
|
818
|
+
|
|
819
|
+
#### 406: Not Acceptable
|
|
820
|
+
|
|
821
|
+
`application/json`
|
|
822
|
+
|
|
823
|
+
unsupported_format: unsupported or unavailable representation format.
|
|
824
|
+
|
|
825
|
+
##### Response headers
|
|
826
|
+
|
|
827
|
+
###### Cache-Control
|
|
828
|
+
|
|
829
|
+
Optional
|
|
830
|
+
|
|
831
|
+
Serialization: simple; explode: false.
|
|
832
|
+
|
|
833
|
+
const: "no-store"
|
|
834
|
+
|
|
835
|
+
1 property
|
|
836
|
+
|
|
837
|
+
- `error` `object` **always present** 
|
|
838
|
+
|
|
839
|
+
2 properties
|
|
840
|
+
|
|
841
|
+
- `code` `enum<string>` **always present** 
|
|
842
|
+
|
|
843
|
+
Available options: `"invalid_request"`, `"not_found"`, `"unsupported_format"`, `"stale_revision"`, `"method_not_allowed"`, `"internal_error"`
|
|
844
|
+
|
|
845
|
+
- `message` `string` **always present** 
|
|
846
|
+
|
|
847
|
+
Additional properties: not allowed.
|
|
848
|
+
|
|
849
|
+
Additional properties: not allowed.
|
|
850
|
+
|
|
851
|
+
#### 409: Conflict
|
|
852
|
+
|
|
853
|
+
`application/json`
|
|
854
|
+
|
|
855
|
+
stale_revision: revision unavailable, or source bytes no longer match the pinned snapshot.
|
|
856
|
+
|
|
857
|
+
##### Response headers
|
|
858
|
+
|
|
859
|
+
###### Cache-Control
|
|
860
|
+
|
|
861
|
+
Optional
|
|
862
|
+
|
|
863
|
+
Serialization: simple; explode: false.
|
|
864
|
+
|
|
865
|
+
const: "no-store"
|
|
866
|
+
|
|
867
|
+
1 property
|
|
868
|
+
|
|
869
|
+
- `error` `object` **always present** 
|
|
870
|
+
|
|
871
|
+
2 properties
|
|
872
|
+
|
|
873
|
+
- `code` `enum<string>` **always present** 
|
|
874
|
+
|
|
875
|
+
Available options: `"invalid_request"`, `"not_found"`, `"unsupported_format"`, `"stale_revision"`, `"method_not_allowed"`, `"internal_error"`
|
|
876
|
+
|
|
877
|
+
- `message` `string` **always present** 
|
|
878
|
+
|
|
879
|
+
Additional properties: not allowed.
|
|
880
|
+
|
|
881
|
+
Additional properties: not allowed.
|
|
882
|
+
|
|
883
|
+
#### 500: Internal Server Error
|
|
884
|
+
|
|
885
|
+
`application/json`
|
|
886
|
+
|
|
887
|
+
internal_error: the source could not complete the request.
|
|
888
|
+
|
|
889
|
+
##### Response headers
|
|
890
|
+
|
|
891
|
+
###### Cache-Control
|
|
892
|
+
|
|
893
|
+
Optional
|
|
894
|
+
|
|
895
|
+
Serialization: simple; explode: false.
|
|
896
|
+
|
|
897
|
+
const: "no-store"
|
|
898
|
+
|
|
899
|
+
1 property
|
|
900
|
+
|
|
901
|
+
- `error` `object` **always present** 
|
|
902
|
+
|
|
903
|
+
2 properties
|
|
904
|
+
|
|
905
|
+
- `code` `enum<string>` **always present** 
|
|
906
|
+
|
|
907
|
+
Available options: `"invalid_request"`, `"not_found"`, `"unsupported_format"`, `"stale_revision"`, `"method_not_allowed"`, `"internal_error"`
|
|
908
|
+
|
|
909
|
+
- `message` `string` **always present** 
|
|
910
|
+
|
|
911
|
+
Additional properties: not allowed.
|
|
912
|
+
|
|
913
|
+
Additional properties: not allowed.
|