3scale / 3scale-api-ruby Goto Github PK
View Code? Open in Web Editor NEW3scale API Ruby Client
License: MIT License
3scale API Ruby Client
License: MIT License
The http_client
doesn't have PUT method. In some cases PATCH can e used instead, but there are some calls where only PUT is accepted (for example Application Suspend call).
Same story, as an open repo, we should add a LICENSE file.
I think MIT is fine...
e.g. https://github.com/3scale/3scale_ws_api_for_python/blob/master/LICENCE
A common use case for the support team is batch importing of user accounts and API keys (i.e. applications) and further updates.
For being able to use the client in Ruby scripts these methods for the following endpoints are required:
Other endpoints necessary for further manipulation of the imported data:
Not sure where the issue is here (client vs 3scale server side), while create service does honor the description attribute as one can see the description in the 3scale admin page for that service, the show_service API does not bring that attribute back.
Raised in 3scale/3scale_toolbox#5 (https://github.com/3scale/3scale_toolbox/pull/5/files#r57907746)
URI can contain the authentication and domain, so can be passed as one parameter instead of a hash with keys.
There are some file modifications made them after coming out release 0.1.5 therefore it isn't able to get the last content of this repo when some is installing for instance the 3scale-toolbox.
Perform a sync of bump version maybe tagging in a new release 0.1.6 would be fixed.
Thanks
The current implementation of the list_applications
doesn't support pagination, so it will always return just the first 500 applications according to the API.
So, I think there are two options:
a) add page
and per_page
as optional parameters (along with service_id
)
b) implement pagination logic in the client (not sure if in the same method, or in a separate one)
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.