Skip to content

Commit 3cbf3e5

Browse files
committed
fix
1 parent 685a5fe commit 3cbf3e5

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/api/miscellaneous.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ Use this to create the ics file on your side without relying on any auto-generat
1313
### Potential response
1414

1515
```json
16+
[
17+
"BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-
18+
(...)
19+
\r\nEND:VEVENT\r\nEND:VCALENDAR"
20+
]
1621
```
1722

1823
Add the query param `responseType` with value `object` to retrieve the content as object (will also include the name; or the event series title, if those events can all be included in one single ics file).
@@ -24,6 +29,14 @@ GET /ics/:prokey?responseType=object
2429
### Potential response
2530

2631
```json
32+
[
33+
{
34+
"name": "Event Title",
35+
"ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-
36+
(...)
37+
\r\nEND:VEVENT\r\nEND:VCALENDAR"
38+
}
39+
]
2740
```
2841

2942
## Get custom domains

src/de/api/miscellaneous.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ Nutze dies, um die ics-Datei in deinem System zu erstellen - ohne Abhängigkeit
1313
### Mögliche Response
1414

1515
```json
16+
[
17+
"BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-
18+
(...)
19+
\r\nEND:VEVENT\r\nEND:VCALENDAR"
20+
]
1621
```
1722

1823
Ergänez den Query-Parameter `responseType` mit Wert `object`, um den Inhalt als Objekt zu erhalten (beinhaltet auch den Namen des jeweiligen Events, bzw. der Event-Serie, sofern diese über 1 ics-File ausgeliefert werden kann).
@@ -24,6 +29,14 @@ GET /ics/:prokey?responseType=object
2429
### Mögliche Response
2530

2631
```json
32+
[
33+
{
34+
"name": "Event-Titel",
35+
"ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-
36+
(...)
37+
\r\nEND:VEVENT\r\nEND:VCALENDAR"
38+
}
39+
]
2740
```
2841

2942
## Custom Domains abrufen

0 commit comments

Comments
 (0)