mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
clean: Removed wiki config section
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user