Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Sort by updated #15

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Sort by updated #15

wants to merge 21 commits into from

Conversation

MelonSmasher
Copy link
Contributor

Allowing the by get parameter to take two new options (new, old). Added a new get parameter called count, that takes an int and returns that many per page. It maxes out at 100 right now and defaults to 30.

  • ?by=new - Sort packages with the most recently updated first.
  • ?by=old - Sort packages with the last updated first.
  • ?count=55 - Return 55 results per page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant