harbor/docs/1.10/working-with-projects/using-api-explorer/_index.md

13 lines
755 B
Markdown
Raw Normal View History

---
title: Using the API Explorer
weight: 100
---
2019-10-17 15:47:25 +02:00
2020-02-20 13:02:41 +01:00
Harbor integrated swagger UI from 1.8. That means all APIs can be invoked through the Harbor interface. You can navigate to the API Explorer in two ways.
2019-10-17 15:47:25 +02:00
2020-02-20 13:02:41 +01:00
1. Log in to Harbor and click the "API EXPLORER" button. All APIs will be invoked with the current user's authorization.
![navigation bar](../../img/api-explorer-btn.png)
2019-10-17 15:47:25 +02:00
2020-02-20 13:02:41 +01:00
2. Navigate to the Swagger page by using the IP address of your Harbor instance and adding the router "devcenter". For example: https://10.192.111.118/devcenter. Then click the **Authorize** button to give basic authentication to all APIs. All APIs will be invoked with the authorized user's authorization.
![authentication](../../img/authorize.png)