Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/release/by_author is missing a from or page option #1129

Open
jackdeguest opened this issue Sep 3, 2023 · 2 comments
Open

/release/by_author is missing a from or page option #1129

jackdeguest opened this issue Sep 3, 2023 · 2 comments

Comments

@jackdeguest
Copy link

The endpoint /release/by_author[1] usually returns a lot of releases, and the option size allows defining the size of each data set returned, but there is no option to navigate among those data set, such as an option from or page.

For example /release/by_author/OALDERS returns 556 hits.

[1]

sub by_author : Path('by_author') : Args(1) {

@mickeyn
Copy link
Contributor

mickeyn commented Sep 3, 2023

#1131 will solve this.

Future work - merge the queries from multiple subs in the files & sub arguments naming standardization (author, pauseid, etc.)

@jackdeguest
Copy link
Author

jackdeguest commented Sep 3, 2023

#1131 will solve this.

Thank you!

Future work - merge the queries from multiple subs in the files & sub arguments naming standardization (author, pauseid, etc.)

An excellent idea. For example, the following endpoints, use the option page_size where it is usually just size elsewhere.

  • /v1/release/all_by_author/{author}
  • /v1/release/recent
  • /v1/release/top_uploaders
  • /v1/reverse_dependencies/dist/{distribution}
  • /v1/reverse_dependencies/module/{module}

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

No branches or pull requests

2 participants