mirror of
https://github.com/goharbor/harbor
synced 2025-04-15 15:07:09 +00:00
update API doc for sync registry.
This commit is contained in:
parent
7dc7260c31
commit
052d44a218
|
@ -1271,6 +1271,22 @@ paths:
|
||||||
description: Replication's target not found
|
description: Replication's target not found
|
||||||
500:
|
500:
|
||||||
description: Unexpected internal errors.
|
description: Unexpected internal errors.
|
||||||
|
/internal/syncregistry:
|
||||||
|
post:
|
||||||
|
summary: Sync repositories from registry to DB.
|
||||||
|
description: |
|
||||||
|
This endpoint is for syncing all repositories of registry with database.
|
||||||
|
tags:
|
||||||
|
- Products
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: Sync repositories successfully.
|
||||||
|
401:
|
||||||
|
description: User need to log in first.
|
||||||
|
403:
|
||||||
|
description: User does not have permission of admin role.
|
||||||
|
500:
|
||||||
|
description: Unexpected internal errors.
|
||||||
definitions:
|
definitions:
|
||||||
Search:
|
Search:
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Reference in New Issue
Block a user