Storage Summary via API

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Storage Summary via API

dave_p
I'm running Artifactory Pro 3.1.1.

I am wondering if the information on the Storage Summary screen is exposed via API. I couldn't find anything in the WADL file, although I can return file sizes for individual artifacts.

Ideally, I would get a JSON that I can parse for inclusion on our internal system status web page. (All I'd want is artifact count and total size.)
Reply | Threaded
Open this post in threaded view
|

Re: Storage Summary via API

dave_p
I was able to find this by reading very carefully through the wadl:

"http://[artifactoryURL]/artifactory/api/system/storage/size"

Which returns the total storage space used by the system. A little more of a breakdown would be nice though.

Maybe next version.