diff options
author | Thomas Citharel <tcit@tcit.fr> | 2020-03-28 20:25:20 +0300 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2020-03-28 20:25:20 +0300 |
commit | 02e4b056447aa048a6dcef84c1c8752f4875f458 (patch) | |
tree | 217e095c5ee833904b6ec49c42892d901d3c997d /ocs | |
parent | df463f90be01be2d38f6cdd5b2b1a20900696b54 (diff) |
Allow to have multiple links per public calendarfeature/20096/calendar-publishing-multiple-links
Adding a public link is still the old way:
```xml
<o:publish-calendar xmlns:o="http://calendarserver.org/ns/"/>
```
Removing all public links is just like we used to unpublish
```xml
<o:unpublish-calendar xmlns:o="http://calendarserver.org/ns/"/>
```
We now have the following for unpublishing a specific link
```xml
<o:unpublish-calendar xmlns:o="http://nextcloud.com/ns/">urltounpublish</o:unpublish-calendar>
```
The public URLs are exposed this way:
```xml
<x1:publish-urls xmlns:d="DAV:" xmlns:x1="http://nextcloud.com/ns/">
<d:href>urltopublish</d:href>
<d:href>secondurltopublish</d:href>
</x1:publish-urls>
```
`publish-url` is still available and give the first URL
```xml
<x1:publish-url xmlns:d="DAV:" xmlns:x1="http://calendarserver.org/ns/">
<d:href>urltopublish</d:href>
</x1:publish-url>
```
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'ocs')
0 files changed, 0 insertions, 0 deletions