mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
search: added graphql api to return repository list with latest tag
This commit is contained in:
committed by
Ramkumar Chinchani
parent
0b302d9614
commit
63fef3e48c
@@ -35,12 +35,25 @@ type ImgResultForDigest {
|
||||
|
||||
type TagInfo {
|
||||
Name: String
|
||||
Digest: String
|
||||
Timestamp: Time
|
||||
}
|
||||
|
||||
type ImageInfo {
|
||||
Name: String
|
||||
Latest: String
|
||||
LastUpdated: Time
|
||||
Description: String
|
||||
Licenses: String
|
||||
Vendor: String
|
||||
Size: String
|
||||
Labels: String
|
||||
}
|
||||
|
||||
type Query {
|
||||
CVEListForImage(image: String!) :CVEResultForImage
|
||||
ImageListForCVE(id: String!) :[ImgResultForCVE]
|
||||
ImageListWithCVEFixed(id: String!, image: String!) :ImgResultForFixedCVE
|
||||
ImageListForDigest(id: String!) :[ImgResultForDigest]
|
||||
}
|
||||
ImageListWithLatestTag:[ImageInfo]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user