![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
rl-cloud-api-sdk
Advanced tools
This NodeJS module is an SDK for the Redis Cloud REST API. You can use this module to develop againts Redis Cloud REST API.
Run the following command in your terminal:
npm i rl-cloud-api-sdk
To start using to API you first need to enable it and generate your API keys. You can follow the instructions here.
It is recommended not to save your API secrets inside your code.
This is how you create a client:
const client = new CloudAPISDK({
accessKey: 'API access key',
secretKey: 'API secret key',
});
This is how you call a specific API:
//basic usage
const accountInformation = await client.getAccountInformation();
Section | Function | API endpoint | Usage |
---|---|---|---|
Account | getAccountInformation | / | await client.getAccountInformation() |
Account | getDataPersistences | /data-persistence | await client.getDataPersistence() |
Account | getDatabaseModules | /database-modules | await client.getDatabasesModules() |
Account | getSystemLogs | /logs?limit=1&offset=3 | await client.getSystemLogs(1, 3) |
Account | getPaymentMethods | /payment-methods | await client.getPaymentMethods() |
Account | getPlans | /plans?provider=AWS | await client.getPlans('AWS') |
Account | getRegions | /regions?provider=AWS | await client.getRegions('AWS') |
Susbscriptions | getSubscriptions | /subscriptions | await client.getSubscriptions() |
Susbscriptions | createSubscription | /subscriptions | await client.createSubscription({name: 'sub1', ....}) |
Susbscriptions | getSubscription | /subscriptions/1 | await client.updateSubscription(1, {name: 'sub1'...}) |
Susbscriptions | updateSubscription | /subscriptions/1 | await client.updateSubscription(1, {name: 'sub1'...}) |
Susbscriptions | deleteSubscription | /subscriptions/1 | await client.deleteSubscription(1) |
Susbscriptions | getSubscriptionCidrWhitelist | /subscriptions/1/cidr | await client.getSubscriptionCidrWhitelist(1) |
Susbscriptions | updateSubscriptionCidrWhitelists | /subscriptions/1/cidr | await client.updateSubscriptionCidrWhitelists(1, {cidrIps: [...], ..}) |
Susbscriptions | getVpcPeerings | /subscriptions/1/peerings | await client.getVpcPeerings(1) |
Susbscriptions | createSubscriptionVpcPeering | /subscriptions/1/peerings | await client.createSubscriptionVpcPeering(1, {region: 'us-east-1',...}) |
Susbscriptions | deleteSubscriptionVpcPeering | /subscriptions/1/peerings/1 | await client.deleteSubscriptionVpcPeering(1, 1) |
Databases | getDatabases | /subscriptions/1/databases | await client.getDatabases() |
Databases | createDatabase | /subscriptions/1/databases | await client.createDatabase(1, {name: 'db1', ..}) |
Databases | getDatabase | /subscriptions/1/databases/1 | await client.getDatabase(1, 1) |
Databases | updateDatabase | /subscriptions/1/databases/1 | await client.updateDatabase(1, 1, {name: 'db2', ..}) |
Databases | deleteDatabase | /subscriptions/1/databases/1 | await client.deleteDatabase(1, 1) |
Databases | backupDatabase | /subscriptions/1/databases/1/backup | await client.backupDatabase(1, 1) |
Databases | importIntoDatabase | /subscriptions/1/databases/1/import | await client.importIntoDatabase(1, 1, {importFromUri: 's3://...'}) |
Cloud Accounts | getCloudAccounts | /cloud-accounts | await client.getCloudAccounts() |
Cloud Accounts | createCloudAccount | /cloud-accouts | await client.createCloudAccount({name: 'c1'...}) |
Cloud Accounts | getCloudAccount | /cloud-accounts/1 | await client.getCloudAccount(1) |
Cloud Accounts | updateCloudAccount | /cloud-accounts/1 | await client.updateCloudAccount(1) |
Cloud Accounts | deleteCloudAccount | /cloud-accounts/1 | await client.deleteCloudAccount(1) |
Tasks | getTasks | /tasks | await client.getTasks() |
Tasks | getTask | /tasks/1 | await client.getTask() |
You can find the API documentation here
FAQs
This is a client for the Redislabs Cloud API
We found that rl-cloud-api-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.