Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 5, 2025

Updates the Hub API playground reference in the documentation to point to the new OpenAPI-based playground and adds information about the OpenAPI specification.

Changes Made

  • Updated playground URL from https://huggingface.co/spaces/enzostvs/hub-api-playground to https://huggingface.co/spaces/huggingface/openapi
  • Added "OpenAPI-based" description to clarify the nature of the playground
  • Added direct reference to the OpenAPI specification file at https://huggingface.co/.well-known/openapi.json
  • Updated both the text link and image link to point to the new playground

The changes are minimal and surgical, affecting only the Hub API Playground section in /docs/hub/api.md to ensure users are directed to the correct, up-to-date playground interface.

Fixes #1901.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • huggingface.co
    • Triggering command: curl -I REDACTED (dns block)
    • Triggering command: curl -s -o /dev/null -w %{http_code} REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI changed the title [WIP] Update the link to the Hub API playground to https://huggingface.co/spaces/huggingface/openapi Update Hub API playground link to OpenAPI-based version Sep 5, 2025
Copilot AI requested a review from julien-c September 5, 2025 11:57
Copilot finished work on behalf of julien-c September 5, 2025 11:57
You can also access the OpenAPI specification directly: [https://huggingface.co/.well-known/openapi.json](https://huggingface.co/.well-known/openapi.json)

<div class="flex justify-center">
<a href="https://huggingface.co/spaces/enzostvs/hub-api-playground" target="_blank">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we still keep a link to the Enzo playground for posterity? @enzostvs @gary149

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(might become a bit confusing for users - better to have only one URL)

@julien-c julien-c marked this pull request as ready for review September 8, 2025 16:08
@Vaibhavs10 Vaibhavs10 merged commit 370c2c7 into main Sep 10, 2025
2 of 3 checks passed
@Vaibhavs10 Vaibhavs10 deleted the copilot/fix-1901 branch September 10, 2025 09:49
@Vaibhavs10
Copy link
Member

Better merged than an open PR, sorry Julien 🙏

@julien-c
Copy link
Member

lol i was waiting for @enzostvs or @gary149 to chime in =)

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

Successfully merging this pull request may close these issues.

Update the link to the Hub API playground to https://huggingface.co/spaces/huggingface/openapi

5 participants