clean: Removed wiki config section

This commit is contained in:
Maniload
2024-03-05 00:25:01 +01:00
parent f9ed6281b4
commit 014a345b10
4 changed files with 0 additions and 96 deletions
-17
View File
@@ -63,13 +63,6 @@ export default {
{ text: 'User', link: '/auth/user/' }
],
},
{
text: 'Config',
items: [
{ text: 'Index', link: '/config/' },
{ text: 'Wiki', link: '/config/wiki/' }
]
},
{
text: 'Document',
items: [
@@ -213,16 +206,6 @@ export default {
]
}
],
'/config/': [
{
text: 'Wiki Config',
collapsed: true,
items: [
{ text: 'Resource', link: '/config/wiki/' },
{ text: 'Show', link: '/config/wiki/show/' }
]
}
],
'/document/': [
{
text: 'Page',
-15
View File
@@ -1,15 +0,0 @@
---
title: Config
---
# Config
---
Config API resources pertain to site configuration.
## Resources
**[Wiki](/config/wiki/)**
The config wiki API resource contains the list of settings that impact animethemes-web functionalities.
-25
View File
@@ -1,25 +0,0 @@
---
title: Wiki
---
# Wiki
---
The config wiki API resource contains the list of settings that impact animethemes-web functionalities.
## Fields
| Name | Type | Nullable | Default | Description |
| :------------: | :----: | :------: | :-----: | :-------------------------------------------------------------------- |
| featured_theme | String | Yes | Yes | The theme played in the background on the homepage of the wiki client |
## Allowed Include Paths
None
### Endpoints
**[Wiki Show](/config/wiki/show/)**
The Wiki Show endpoint return the wiki resource.
-39
View File
@@ -1,39 +0,0 @@
---
title: Wiki Show
---
# Wiki Show Endpoint
The wiki show endpoint returns the wiki resource.
## URL
```sh
GET /config/wiki
```
## Authentication
None
## Parameters
| Name | Required | Description |
| :-----: | :------: | :------------------------------------------------------ |
| fields | No | Sparse fieldsets for resource types |
## Response
```json
{
wiki: {
featured_theme: "featured_theme",
}
}
```
## Example
```bash
curl https://api.animethemes.moe/config/wiki
```