-
Notifications
You must be signed in to change notification settings - Fork 376
docs(hub-api): add expand param to get models #1632
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, i would also document it in other endpoints too (datasets and spaces)?
asking @coyotte508 for a review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can get the list by this url: https://huggingface.co/api/models?expand[]=wrong , lgtm
and yes we can document for datasets & spaces too
HuggingFaceDocBuilderDev
commented
Mar 10, 2025
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Hi 👋
I was using your API and I found
expandparameter was missing in the API documentation but not on the Python lib (https://github.com/huggingface/huggingface_hub/blob/v0.29.2/src/huggingface_hub/hf_api.py#L1738)