working commit
This commit is contained in:
@@ -80,6 +80,12 @@ func (svc *Service) Build() error {
|
||||
svc.rout.Get(`/v3/api/files/{filepath}`, svc.hand.ListFiles)
|
||||
svc.rout.Get(`/v3/api/files/`, svc.hand.ListFiles)
|
||||
|
||||
svc.rout.Get(`/v3/api/collections/{path}`, svc.hand.ListCollections)
|
||||
svc.rout.Get(`/v3/api/collections/`, svc.hand.ListCollections)
|
||||
|
||||
svc.rout.Delete(`/v3/api/collection/{path}`, svc.hand.DeleteCollection)
|
||||
svc.rout.Delete(`/v3/api/collection/`, svc.hand.DeleteCollection)
|
||||
|
||||
svc.rout.Get(`/v2/`, svc.hand.GetVersion)
|
||||
|
||||
svc.rout.Head(`/v2/{name}/manifests/{reference}`, svc.hand.ManifestExists)
|
||||
|
||||
Reference in New Issue
Block a user