In the Digital Ocean API reference I see information on creating a CDN endpoint, but not for actually creating a Space (Object Storage Solution). Is this the same thing? If not, can someone point me to the correct documentation? Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I think you are better of using the Amazon S3 SDK https://docs.digitalocean.com/products/spaces/resources/s3-sdk-examples/ .
They do show at https://docs.digitalocean.com/reference/api/spaces-api/ how a bucket using a put request winds up being:
but they do not show/have
doctlcommands for spaces https://docs.digitalocean.com/reference/doctl/reference/
Seems as Spaces is compatible with S3 you should use their SDK for Spaces.