Skip to content

Commit 88c29cb

Browse files
committed
Example: add property-update trigger
1 parent fe554f6 commit 88c29cb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

content.mkd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ This section describes how a client can detect
131131

132132
To provide information about WebDAV-Push support, new properties are defined. A WebDAV-Push server is REQUIRED to provide the `transports`, `topic` and `supported-triggers` properties for collections that support WebDAV-Push.
133133

134-
The `transports` element contains push transports are supported by the server (one child element per transport). Within the scope of this document, the only supported transport is `web-push` (see {{transport-web-push}}).
134+
The `transports` element lists available push transports. Although the property is defined on every collection, its value is usually the same for every collection on the server. Within the scope of this document, the only supported transport is `web-push` (see {{transport-web-push}}).
135135

136136
The `topic` is a globally unique identifier for the collection. A specific collection could be reachable at different URLs, but it can only have one push topic. A server could for instance use a server-internal ID that is not going to change or a random UUID per collection.
137137

@@ -158,7 +158,9 @@ HTTP/1.1 207 Multi-Status
158158
{::include xml/sample-propfind-multistatus.xml}
159159
~~~
160160

161-
In this case, the requested collection supports WebDAV-Push in general (because it has a push topic). It supports the Web Push transport. [^todo vapid key] Push notifications can be requested for content updates of internal members.
161+
[^todo] vapid key
162+
163+
In this case, the requested collection supports WebDAV-Push in general (because it has a push topic). It supports the Web Push transport. Push notifications can be requested on content updates of internal members and on property updates of the collection itself.
162164

163165
The comment shows how support for some other (not yet defined) transport could be advertised together with additional specific information that is required to use it.
164166

xml/sample-propfind-multistatus.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
<P:content-update>
1616
<sync-level>1</sync-level>
1717
</P:content-update>
18+
<P:property-update>
19+
<depth>0</depth>
20+
</P:property-update>
1821
</P:supported-triggers>
1922
</prop>
2023
</response>

0 commit comments

Comments
 (0)