oracle-ords-client
oracle-ords-client is a JavaScript library that defines a simple and consistent abstraction for interacting with a Oracle Cloud Autonomous Databases via Oracle ORDS Database Management REST API.
declare class OracleORDSClient implements ORDSOAuthClient {
config: ORDSOAuthClientConfig;
private access_token;
private expires_at;
constructor(config: ORDSOAuthClientConfig);
putJSONDocument(alias: string, json: JSONValue): Promise<Item>;
deleteJSONObject(alias: string, id: string): Promise<boolean>;
queryJSONDocument(alias: string, query: any, payload: any): Promise<Collection>;
private buildUrl;
private ensureOauthToken;
}
npm install oracle-ords-client
https://www.npmjs.com/package/oracle-ords-client
github home page
https://github.com/lengerrong/oracle-ords-client
Maximum JSONDocument size: 4.4M
Usage Sample:
References:
How To Setup OAuth Clients to Connect Your Oracle Cloud Autonomous Databases via REST
No comments:
Post a Comment