mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Merge pull request #760 from wy65701436/dev
update API doc for sync registry.
This commit is contained in:
commit
5dafb3d684
@ -1275,6 +1275,22 @@ paths:
|
||||
description: Replication's target not found
|
||||
500:
|
||||
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:
|
||||
Search:
|
||||
type: object
|
||||
|
Loading…
Reference in New Issue
Block a user