blom / barge Goto Github PK
View Code? Open in Web Editor NEWRuby library for version 2 of DigitalOcean's API
License: MIT License
Ruby library for version 2 of DigitalOcean's API
License: MIT License
Hey,
What would you recommend is the best way to wait for a server to finish creating? In the Fog library (https://github.com/fog/fog) there is a method on the server object of wait_for
. Is there a similar thing here, or is it just a case of polling the actions api manually?
Thanks
Scott
uninitialized constant DOCL::CLI::Barge (NameError)
(using docl 0.0.4)
Add ability to list and remove snapshots
https://developers.digitalocean.com/documentation/v2/#snapshots
Breaking changes in Action objects (March 20, 2015)
Date: February 20, 2015 Tagged In: API v2 Author Phillip Baker
All action objects, i.e. those returned by the /v2/actions, /v2/droplets/$ID/actions and /v2/images/$ID/actions endpoint now return a region_slug attribute, in addition to a region attribute. At 00:01 March 20, 2015 UTC, API v2 will start returning an embedded region object at the region attribute, not a slug.
New Block Storage API:
https://developers.digitalocean.com/documentation/v2/#block-storage
Since v2 uses OAuth, it would be nice to have a basic CLI to generate an OAuth token.
The dropbox-api has a good example:
https://github.com/futuresimple/dropbox-api#web-based-authorization
https://github.com/futuresimple/dropbox-api/blob/master/lib/dropbox-api/tasks.rb
How do we change Faraday options?
I basically want to be able to do:
faraday.response :logger
Robocop needs to be locked down to 0.23 so it works with 1.9.2
OR
We just remove 1.9.2 as it's EOL anyways ๐
Gem::InstallError: rubocop requires Ruby version >= 1.9.3.
Gem::RemoteFetcher::FetchError: Errno::ETIMEDOUT: Connection timed out - connect(2) (https://rubygems.org/gems/multipart-post-2.0.0.gem)
An error occurred while installing rubocop (0.26.0), and Bundler cannot
continue.
Make sure that `gem install rubocop -v '0.26.0'` succeeds before bundling.
Currently there's no way to get users private images:
https://developers.digitalocean.com/documentation/v2/#list-a-user-s-images
Example Call:
curl -X GET -H 'Content-Type: application/json' -H 'Authorization: Bearer b7d03a6947b217efb6f3ec3bd3504582' "https://api.digitalocean.com/v2/images?page=1&per_page=1&private=true"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.