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

Optional response fields #10

Open
nmpereira opened this issue Mar 28, 2024 · 1 comment
Open

Optional response fields #10

nmpereira opened this issue Mar 28, 2024 · 1 comment

Comments

@nmpereira
Copy link

nmpereira commented Mar 28, 2024

Currently, when i make a request, the response fields when using /api/articles is a huge list of fields. This is especially not great when using the full-content=true flag. I get a lot of fields in the response that i dont use.

I would like to pick and choose which fields i want to have returned. For example: when i have full-content=true flag i want to be able to choose return_fields=fullContent,url,date and not everything.

Optionally, i would like an endpoint that gives me the full html dom content /api/full without any extra/redunant fields

@amerkurev
Copy link
Owner

Hello @nmpereira, great idea with the return_fields. I'll try to implement it in the upcoming release. Thank you!

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