pachadotdev / analogsea

Digital Ocean R client
https://pacha.dev/analogsea/
Apache License 2.0
155 stars 24 forks source link

Support Projects #164

Open andrewheiss opened 6 years ago

andrewheiss commented 6 years ago

On July 25, 2018, DigitalOcean added support for Projects. Currently, the API doesn't support anything with projects, but they say it will eventually in 2018.

When the API eventually supports them, it'd be cool to have a new argument in droplet_create() to create new images in a specific project (which would allow users to better separate the temporary images they might create with R from more important production images in their account)

amoeba commented 6 years ago

Excellent idea @andrewheiss. I've been beta testing Projects for a bit and they're snazzy. Adding support for setting the Project for a new Droplet makes sense as the Dashboard lets you do this currently. And I suppose this would also extend to the creation of all other first-class DO resources (Spaces, Images, etc.). Other things I can imagine their API having (and analogsea supporting) might include:

Any thoughts or other ideas?

sckott commented 6 years ago

thanks @andrewheiss - good idea. & thx @amoeba - i hadn't seen them yet, looks neat. I guess we'll wait to see it come out in the API

andrewheiss commented 6 years ago

@amoeba I think that all sounds great, as long as the API supports them.

sckott commented 5 years ago

Projects are in the API https://developers.digitalocean.com/documentation/v2/#projects but it doesn't look like there's a way to assign to a project in the create droplet endpoint, though it does look like you can create a droplet, then assign to a project

pachadotdev commented 2 years ago

On July 25, 2018, DigitalOcean added support for Projects. Currently, the API doesn't support anything with projects, but they say it will eventually in 2018.

When the API eventually supports them, it'd be cool to have a new argument in droplet_create() to create new images in a specific project (which would allow users to better separate the temporary images they might create with R from more important production images in their account)

Hi @andrewheiss. While I'm not a manager or similar at DO, I have sent your request to a contact there, because I talked about this to him some time ago.

rparrish commented 1 year ago

Here's an updated link to the Projects documentation.

pachadotdev commented 1 year ago

Here's an updated link to the Projects documentation.

thx, there's still no parameter to create droplets outside the default project https://docs.digitalocean.com/reference/api/api-reference/#operation/droplets_create