Skip to content

Commit 370c2c7

Browse files
Copilotjulien-c
andauthored
Update Hub API playground link to OpenAPI-based version (#1902)
* Initial plan * Update Hub API playground link to OpenAPI-based version Co-authored-by: julien-c <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: julien-c <[email protected]>
1 parent 07f00df commit 370c2c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/hub/api.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ The base URL for those endpoints below is `https://huggingface.co`. For example,
77
## The Hub API Playground
88

99
Want to try out our API?
10-
Try it out now on our [Playground](https://huggingface.co/spaces/enzostvs/hub-api-playground)!
10+
Try it out now on our OpenAPI-based [Playground](https://huggingface.co/spaces/huggingface/openapi)!
11+
12+
You can also access the OpenAPI specification directly: [https://huggingface.co/.well-known/openapi.json](https://huggingface.co/.well-known/openapi.json)
1113

1214
<div class="flex justify-center">
13-
<a href="https://huggingface.co/spaces/enzostvs/hub-api-playground" target="_blank">
15+
<a href="https://huggingface.co/spaces/huggingface/openapi" target="_blank">
1416
<img class="w-full object-contain" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/hub-api-playground.png"/>
1517
</a>
1618
</div>

0 commit comments

Comments
 (0)