Skip to content

Commit a44babb

Browse files
authored
Merge branch 'main' into author-editor-affiliation
2 parents ef2adfa + 39d17f9 commit a44babb

10 files changed

Lines changed: 3315 additions & 28 deletions

File tree

lws10-core/Discovery.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ <h4>Data Model</h4>
1212

1313
<ul>
1414
<li>
15-
<dfn>id</dfn> - the <code>id</code> property is REQUIRED. Its value MUST be a URI that identifies the storage.
15+
<strong>`id`</strong> - the <code>id</code> property is REQUIRED. Its value MUST be a URI that identifies the storage.
1616
</li>
1717
<li>
18-
<dfn>type</dfn> - the <code>type</code> property is REQUIRED. Its value MUST be a string that equals
18+
<strong>`type`</strong> - the <code>type</code> property is REQUIRED. Its value MUST be a string that equals
1919
<code>Storage</code> or a set of strings that contains an item equal to <code>Storage</code> (case-sensitive).
2020
</li>
2121
<li>
22-
<dfn>capability</dfn> - the <code>capability</code> property is OPTIONAL. Its value MUST be a set of
22+
<strong>`capability`</strong> - the <code>capability</code> property is OPTIONAL. Its value MUST be a set of
2323
capabilities, where each capability is described by a map containing the following properties.
2424
Additional properties MAY be present.
2525
<ul>
26-
<li><dfn>id</dfn> - the <code>id</code> property is OPTIONAL. If present, its value MUST be a URI.</li>
27-
<li><dfn>type</dfn> - the <code>type</code> property is REQUIRED. Its value MUST be a string or a set of strings.</li>
26+
<li><strong>`id`</strong> - the <code>id</code> property is OPTIONAL. If present, its value MUST be a URI.</li>
27+
<li><strong>`type`</strong> - the <code>type</code> property is REQUIRED. Its value MUST be a string or a set of strings.</li>
2828
</ul>
2929
</li>
3030
<li>
31-
<dfn>service</dfn> - the <code>service</code> property is REQUIRED. Its value MUST be a set of services,
31+
<strong>`service`</strong> - the <code>service</code> property is REQUIRED. Its value MUST be a set of services,
3232
where each service is described by a map containing the following properties. Additional properties MAY be present.
3333
<ul>
34-
<li><dfn>id</dfn> - the <code>id</code> property is OPTIONAL. If present, its value MUST be a URI.</li>
35-
<li><dfn>type</dfn> - the <code>type</code> property is REQUIRED. Its value MUST be a string or a set of strings.</li>
36-
<li><dfn>serviceEndpoint</dfn> - the <code>serviceEndpoint</code> property is REQUIRED. Its value MUST be a URI.</li>
34+
<li><strong>`id`</strong> - the <code>id</code> property is OPTIONAL. If present, its value MUST be a URI.</li>
35+
<li><strong>`type`</strong> - the <code>type</code> property is REQUIRED. Its value MUST be a string or a set of strings.</li>
36+
<li><strong>`serviceEndpoint`</strong> - the <code>serviceEndpoint</code> property is REQUIRED. Its value MUST be a URI.</li>
3737
</ul>
3838
</li>
3939
</ul>

lws10-core/Operations/create-resource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The **create resource** operation adds a new [served resource](#dfn-served-resou
1414

1515
**Possible Responses:**
1616

17-
* **Created:** The operation succeeded. The server returns the final identifier of the newly created resource.
17+
* <strong id="dfn-created">Created:</strong> The operation succeeded. The server returns the final identifier of the newly created resource.
1818
* **Target Not Found:** The specified target container does not exist.
1919
* **Not Permitted:** The client's identity is known, but they do not have permission to create resources in this container.
2020
* **Unknown Requester:** The server does not recognize the client's identity and requires authentication.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
For each core operation (create, read, update, delete), we describe the HTTP method(s) to use, required headers or special considerations (including concurrency controls via ETags, content negotiation, and pagination for container listings), and what the server should do and return. Standard HTTP status codes are used to indicate outcomes with additional mappings for scenarios such as quota exceeded (507 Insufficient Storage) or precondition failures (412 Precondition Failed). The binding tries to adhere to HTTP/1.1 and relevant RFCs (such as [[!RFC7231]] for HTTP semantics, [[!RFC7233]] for range requests, [[!RFC5789]] for PATCH, [[!RFC8288]] for Web Linking, and [[!RFC9264]] for Link Sets) so that it integrates naturally with web standards. Discoverability is emphasized through mechanisms like Link headers and WWW-Authenticate headers on 401 responses, avoiding hardcoded URI locations. Metadata integration is required across operations, ensuring atomicity and use of Link Sets for server-managed and user-managed properties.
22

3-
**Note:** As all examples in this specifications, examples given in this section (HTTP request and response snippets) are **non-normative**, meant to illustrate typical usage. The actual requirements are stated in the descriptive text and tables. Also, while this binding covers HTTP (as the initial target protocol), the LWS operations could in principle be bound to other protocols in the future. Servers MUST support content negotiation for `application/lws+json`, `application/ld+json`, and `application/json` for container representations (see [Container Media Type](#container-media-type)). Servers MAY additionally support formats like Turtle.
3+
**Note:** As all examples in this specifications, examples given in this section (HTTP request and response snippets) are **non-normative**, meant to illustrate typical usage. The actual requirements are stated in the descriptive text and tables. Also, while this binding covers HTTP (as the initial target protocol), the LWS operations could in principle be bound to other protocols in the future. Servers MUST support content negotiation for `application/lws+json`, `application/ld+json`, and `application/json` for container representations (see [](#lws-media-type)). Servers MAY additionally support formats like Turtle.

0 commit comments

Comments
 (0)