API Access for Spaces Stats
I'd like to be able to access via an API to see that details of the Spaces Container ie Total Usage (Of bandwidth of allocated in plan) as well as details of How much data is being used of the 250+ GB, Currently my and my other business partner are working to developer a management dashboard for managing our clients and servers through one interface and this is one of the components of it. I have looked in the docs as well as Googled it and all I see is Digital Ocean is Cloning the S3 API interface, Which is fine, but the DO Spaces Interface has the data we are looking for, Total Storage in Use, Bandwidth, Item Count etc.
Any info would be wonderful!
Thanks for your time!
This is definitely something I'm looking for. Either the ability to hard cap bandwidth usage, or an API to keep track of it. The uncertainty of the 'pay-as-you-go' model doesn't sit well with most of my clients. And besides, I'd like to keep an eye on things ;) I'd love to completely ditch other cloud providers, but it's small things like this that keep me from being able to truly take the last step.
Attachments Open full size
if this data is already being collected and displayed, would it be difficult to expose it to us via api?
Attachments Open full size
I have same issue.
https://www.digitalocean.com/community/questions/spaces-bucket_stat-api
Â
DO provides same API for WebUI, but it can't be used from API server.
https://cloud.digitalocean.com/api/v1/spaces/buckets
Âit containsÂ
bucket_stats[bucket].num_bytes
 andÂbucket_stats[bucket].num_objects
.Â
Attachments Open full size