DO Ideas 2

Make Spaces API as simple as possible without trying to mimic Amazon S3

Make Spaces API as simple as possible without trying to mimic Amazon S3 for compatibility with existing libraries.
One of the key reasons lots of developers do move to Digital Ocean from AWS is because its simplicity and modern-developer-oriented approach.
Seeing xml responses instead of json and tons of ad-hoc headers was a punch in our face: we were excited while waiting Spaces to come out and we thought it was going to come out with some cool-yet-simple APIs like Digital Ocean's style.
This is my team biased opinion.

  • Damiano Barbati
  • Sep 11 2018
  • Attach files
  • Marcos commented
    September 11, 2018 15:54

    Please a JSON API would be awesome.

  • Anonymous commented
    September 11, 2018 15:54

    +100. I am a power user. The first thing I said. On a side note, look it how FAT and ugly the LIST response is. I just want to know the files in a bucket and I get this redundant mess, just for 2 files:

    <ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <Name>static-images</Name>
    <Prefix/>
    <MaxKeys>1000</MaxKeys>
    <IsTruncated>false</IsTruncated>
    <Contents>
    <Key>example.txt</Key>
    <LastModified>2017-07-13T18:40:46.777Z</LastModified>
    <ETag>"b3a92f49e7ae64acbf6b3e76f2040f5e"</ETag>
    <Size>14</Size>
    <StorageClass>STANDARD</StorageClass>
    <Owner>
    <ID>6174283</ID>
    <DisplayName>6174283</DisplayName>
    </Owner>
    </Contents>
    <Contents>
    <Key>sammy.png</Key>
    <LastModified>2017-07-14T17:44:03.597Z</LastModified>
    <ETag>"fb08934ef619f205f272b0adfd6c018c"</ETag>
    <Size>35369</Size>
    <StorageClass>STANDARD</StorageClass>
    <Owner>
    <ID>6174283</ID>
    <DisplayName>6174283</DisplayName>
    </Owner>
    </Contents>
    </ListBucketResult>

  • John Gannon commented
    September 11, 2018 15:54

    Damiano - thanks for the feedback. I'm the product manager for Spaces. Curious what the minimum set of features you'd need in a non-S3 compatible API would be. We don't have this on the roadmap but are open to exploring it based on customer need. Any input is appreciated.