Re: harbor api for accessing "info" field in repo


Steven Zou
 

Could you try `GET http(s)://<harbor-hostname>/api/repositories/{repo_name}`?  The `description` field of the returned repository model is the `info` data you’re looking for.

 

thanks&regards

-- 

Steven Zou(邹佳)

 

Engineer, MAP(Modern Application Platform), VMware R&D | Harbor Maintainer

 

Mail: szou@...

GitHub: github.com/steven-zou

Cell: +8618600021252

Addr: 9F Tower C, Raycom Info Tech Park, No. 2 Kexueyuan South Road Haidian District, Beijing 100738 China

 

 

 

From: <harbor-users@...> on behalf of "vlakshmi70 via lists.cncf.io" <vlakshmi70=yahoo.com@...>
Reply-To: "harbor-users@..." <harbor-users@...>
Date: Tuesday, May 26, 2020 at 22:24
To: "harbor-users@..." <harbor-users@...>
Subject: Re: [harbor-users] harbor api for accessing "info" field in repo

 

Steven,
Yes I couldn't find one for GETTer API for "info" field in the repo APIs.
I am using v1.8 of harbor.
Not sure if this API for getting the "info" field has been added in a later revision??

Thanks

Join harbor-users@lists.cncf.io to automatically receive all group messages.