Skip to content

Commit b25df03

Browse files
committed
feat: Add request examples
1 parent 27d0449 commit b25df03

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

Examples/Actor-By-Character.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
label: Actor by character
3+
icon: square
4+
---
5+
6+
# Actor by character
7+
8+
How to request actor from specific character
9+
10+
## Terminal
11+
12+
### Equals
13+
14+
```sh Terminal
15+
curl {{url}}/api/{{api_version}}/actors?character=/api/v1/characters/50fa9f0c-65bc-451f-90a2-8b864a21bef0
16+
```
17+
18+
### Like
19+
20+
```sh Terminal
21+
curl {{url}}/api/{{api_version}}/actors?character=*50fa9f0c-65bc-451f-90a2-8b864a21bef0
22+
```

Examples/Episodes-By-Season.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
label: Episodes by season
3+
icon: square
4+
---
5+
6+
# Episodes by season
7+
8+
How to request all episodes from specific season
9+
10+
## Terminal
11+
12+
### Equals
13+
14+
```sh Terminal
15+
curl {{url}}/api/{{api_version}}/episodes?seasons=/api/v1/seasons/50fa9f0c-65bc-451f-90a2-8b864a21bef0
16+
```
17+
18+
### Like
19+
20+
```sh Terminal
21+
curl {{url}}/api/{{api_version}}/episodes?seasons=*50fa9f0c-65bc-451f-90a2-8b864a21bef0
22+
```

Examples/index.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
icon: project-roadmap
2+
order: 2

0 commit comments

Comments
 (0)