mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
update
parent
392850da24
commit
047c3da6aa
1 changed files with 52 additions and 5 deletions
|
@ -65,14 +65,20 @@ tcp6 0 0 ::1:5232 :::* LISTEN
|
||||||
- config section: `[web]`
|
- config section: `[web]`
|
||||||
- config option: `type`
|
- config option: `type`
|
||||||
|
|
||||||
Example:
|
### Redirect to landing page
|
||||||
|
|
||||||
|
```
|
||||||
|
curl http://localhost:5232/
|
||||||
|
Redirected to /.web
|
||||||
|
```
|
||||||
|
|
||||||
|
### WebUI
|
||||||
|
|
||||||
```
|
```
|
||||||
curl http://localhost:5232/.web/
|
curl http://localhost:5232/.web/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Connection test to user's collection
|
||||||
## Connection test to any existing calendar
|
|
||||||
|
|
||||||
Successful result depends on auth and permission
|
Successful result depends on auth and permission
|
||||||
- config section: `[auth]`
|
- config section: `[auth]`
|
||||||
|
@ -80,8 +86,49 @@ Successful result depends on auth and permission
|
||||||
- config section: `[rights]`
|
- config section: `[rights]`
|
||||||
- config option: `type` + `file`
|
- config option: `type` + `file`
|
||||||
|
|
||||||
Example:
|
|
||||||
|
### Without autentication
|
||||||
|
|
||||||
```
|
```
|
||||||
curl http://localhost:5232/testcalendar/
|
curl -s --request PROPFIND http://localhost:5232/
|
||||||
|
Access to the requested resource forbidden.
|
||||||
|
```
|
||||||
|
|
||||||
|
### With autentication
|
||||||
|
|
||||||
|
#### Depth: 0
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -s --request PROPFIND -u USER1:USERPASS1 http://localhost:5232/ | xmllint --format -
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<multistatus xmlns="DAV:">
|
||||||
|
<response>
|
||||||
|
...
|
||||||
|
</response>
|
||||||
|
</multistatus>
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Depth: 1
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -s --header 'Depth: 1' --request PROPFIND -u USER1:USERPASS1 http://localhost:5232/ | xmllint --format -
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<multistatus xmlns="DAV:">
|
||||||
|
<response>
|
||||||
|
...
|
||||||
|
</response>
|
||||||
|
</multistatus>
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Depth: 1 / extending URI by user
|
||||||
|
|
||||||
|
(example)
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -s --header 'Depth: 1' --request PROPFIND -u USER1:USERPASS1 http://localhost:5232/USER1/ | xmllint --format - | grep displayname
|
||||||
|
<displayname>MyCalendar1</displayname>
|
||||||
|
<displayname>Feiertage Bayern</displayname>
|
||||||
|
<displayname>MyCalendar2</displayname>
|
||||||
|
<displayname>MySharedCalendar1</displayname>
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue