Skip to content

Commit

Permalink
feat: Add request examples
Browse files Browse the repository at this point in the history
  • Loading branch information
LucJosin committed Aug 9, 2023
1 parent 27d0449 commit b25df03
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Examples/Actor-By-Character.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
label: Actor by character
icon: square
---

# Actor by character

How to request actor from specific character

## Terminal

### Equals

```sh Terminal
curl {{url}}/api/{{api_version}}/actors?character=/api/v1/characters/50fa9f0c-65bc-451f-90a2-8b864a21bef0
```

### Like

```sh Terminal
curl {{url}}/api/{{api_version}}/actors?character=*50fa9f0c-65bc-451f-90a2-8b864a21bef0
```
22 changes: 22 additions & 0 deletions Examples/Episodes-By-Season.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
label: Episodes by season
icon: square
---

# Episodes by season

How to request all episodes from specific season

## Terminal

### Equals

```sh Terminal
curl {{url}}/api/{{api_version}}/episodes?seasons=/api/v1/seasons/50fa9f0c-65bc-451f-90a2-8b864a21bef0
```

### Like

```sh Terminal
curl {{url}}/api/{{api_version}}/episodes?seasons=*50fa9f0c-65bc-451f-90a2-8b864a21bef0
```
2 changes: 2 additions & 0 deletions Examples/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
icon: project-roadmap
order: 2

0 comments on commit b25df03

Please sign in to comment.