Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 68f1f17

Browse files
committed
Minor update
1 parent 4e96ab1 commit 68f1f17

File tree

3 files changed

+298
-194
lines changed

3 files changed

+298
-194
lines changed

docs/resources/anime.mdx

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import ApiTryIt from '../../src/components/ApiTryIt';
1111
export const endpoints = [
1212
{ method: 'GET', uri: '/v1/anime/:id' },
1313
{ method: 'GET', uri: '/v1/anime' },
14-
{ method: 'GET', uri: '/v1/random/anime/:count' }
14+
{ method: 'GET', uri: '/v1/random/anime/:count/:nsfw' }
1515
];
1616

1717
This is an object representing an Anime show.
@@ -379,7 +379,8 @@ Returns a random Anime list.
379379
### Try it
380380

381381
export const retrieveRandomAnimeParams = [
382-
{ name: ':count', type: 'number', placeholder: ':count', value: '5' }
382+
{ name: ':count', type: 'number', placeholder: ':count', value: '5' },
383+
{ name: ':nsfw', type: 'checkbox', placeholder: 'nsfw', value: true }
383384
];
384385

385386
<ApiTryIt items={retrieveRandomAnimeParams} uri={endpoints[2].uri} />

docs/resources/resource.mdx

+6
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ The source's name inside ***[Episode](episode)***.
7474

7575
---
7676

77+
#### format <Highlight bgColor="#8D46B8" color="white" content="string" />
78+
79+
The source's video encoding format.
80+
81+
---
82+
7783
### Changelog
7884

7985
| Version | Description |

0 commit comments

Comments
 (0)