Skip to content

Commit

Permalink
docs: add sorting keys
Browse files Browse the repository at this point in the history
  • Loading branch information
charmful0x authored Jun 25, 2022
1 parent dd44533 commit fe2007e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,14 @@ Request: GET `/embed/:eid`
Return: episode audio player fits for iframe embedding

### 6- Sort feeds
- GET `/feed/podcasts/sort/<criteria>`

- GET `/feeds/podcasts/sort/episodescount` -> sort podcasts by the episodes count
- GET `/feeds/podcasts/sort/podcastsactivity` -> sort podcasts by latest activity
| criteria key | description |
| ------------- |:-------------:|
| `episodescount` | sort podcasts by episodes count |
| `episodescount1` | sort non-empty podcasts by episodes count |
| `podcastsactivity` | sort podcasts by latest activity |
| `podcastsactivity1`| sort non-empty podcasts by latest activity |

### 7- Get All Episodes

Expand Down

0 comments on commit fe2007e

Please sign in to comment.