mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-23 10:06:44 +00:00
24 lines
618 B
Plaintext
24 lines
618 B
Plaintext
created: 20181002124430552
|
|
modified: 20181002124755134
|
|
tags: [[WebServer API]]
|
|
title: WebServer API: Get Wiki
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Get the main wiki
|
|
|
|
```
|
|
GET /
|
|
```
|
|
|
|
The wiki is composed by rendering the tiddler identified in the [[root-tiddler|WebServer Parameter: root-tiddler]] parameter with the render type in the [[root-render-type|WebServer Parameter: root-render-type]] parameter. This is then served with the content type from the [[root-serve-type|WebServer Parameter: root-serve-type]] parameter.
|
|
|
|
Parameters:
|
|
|
|
* none
|
|
|
|
Response:
|
|
|
|
* 200 OK
|
|
*> `Content-Type: text/html`
|
|
*> Body: data retrieved from file
|