DigitalOcean home
  • Droplets
  • Spaces
  • Kubernetes
  • Tools & Integrations
  • One-click Apps
  • API Documentation
  • Community
  • Tutorials
  • Q&A
  • Projects
  • Meetups
  • Customers
  • Pricing
  • Docs
  • Support
  • DigitalOcean home
  • Products
    • Droplets

      Scalable compute services.

    • Spaces

      Simple object storage.

    • Kubernetes

      Run managed Kubernetes clusters.

    • Tools & Integrations

      Automate your infrastructure.

    • One-click Apps

      Deploy pre-built applications.

    • API Documentation
  • Customers
  • Community
    • Community Overview

      Connect, share and learn

    • Tutorials

      DevOps and development guides

    • Questions & Answers

      Development and systems Q&A

    • Projects

      Community-built integrations

    Get Involved
    Write for DOnations
    Join us at a Meetup
    Featured Post
    An Introduction to Kubernetes

    by Justin Ellingwood

  • Pricing
  • Docs
  • Support
    • Documentation

    • Contact Support

    • Network Status

  • Home /
  • DO-I-2897 /
  • New idea
16 Vote

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!
  • Guest
  • Oct 11 2018
  • Needs review
Object Storage (Spaces)
  • Comments (3)
  • Votes (16)
  • Attach files
  • Guest commented
    13 May, 2020 03:53pm

    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

  • Ryan Poniatowski commented
    28 Dec, 2019 05:51am

    if this data is already being collected and displayed, would it be difficult to expose it to us via api?

    ×

    Attachments Open full size

  • tate eisu commented
    18 Sep, 2019 09:49am

    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

  • +2
Log in / Sign up

Identify yourself with your email address

Subscribe

You won't be notified about changes to this idea.

Related ideas

DigitalOcean home

© 2018 DigitalOcean, LLC. All rights reserved.
Proudly made in NY

  • Twitter
  • Facebook
  • Instagram
  • YouTube
  • LinkedIn
  • Glassdoor
Company
About
Leadership
Blog
Careers
Partner Network
Referral Program
Events
Press
Legal & Security
Products
Droplets
Spaces
Kubernetes
Tools & Integrations
One-click Apps
API
Pricing
Documentation
Release Notes
Community
Tutorials
Meetups
Q&A
Write for DOnations
Droplets for Demos
Hatch
Shop Swag
Research Program
Currents Research
Open Source
Support
Contact Support
FAQ
Network Status