Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@singlestore/http-client

Package Overview
Dependencies
Maintainers
6
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@singlestore/http-client

This API allows you to execute SQL statements against a SingleStore database. It supports all statements that can be run in a direct database connection, and uses conventional data type conversion.

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
6
Weekly downloads
 
Created
Source

SingleStore HTTP Client for JavaScript

(@singlestore/http-client)

This API allows you to execute SQL statements against a SingleStore database. It supports all statements that can be run in a direct database connection, and uses conventional data type conversion.

For more information, please visit https://docs.singlestore.com/managed-service/en/reference/http-api.html.

Installation

npm (Node.js)

This client is designed to be deployed using npm. You can use the npm command to automatically install it into your project from the hosted site, as follows:

npm install @singlestore/http-client

Example

This package contains an example.js file that explains how to use the SingleStore HTTP Client for JavaScript. The instructions at the top explain how to run it. Included are a basic example and several extended examples. The basic example will show you how to get started quickly with a few lines of code. The extended examples build on the basic one and illustrate other API calls and usage.

API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
SingleStoreClient.HttpApiexecPOST /api/v1/execExec
SingleStoreClient.HttpApipingGET /pingPing
SingleStoreClient.HttpApirowsPOST /api/v1/query/rowsQuery
SingleStoreClient.HttpApispecGET /api/v1/specSpec
SingleStoreClient.HttpApituplesPOST /api/v1/query/tuplesQuery

Models

Authorization

BasicAuth

  • Type: HTTP basic authentication

Known Issues

The /api/v1/spec endpoint is included in the API, but is not accessible yet in SingleStore, and will return a 404. It will be available soon. In the meantime the OpenAPI 3.0 spec can be downloaded from this repository.

About this package

This JavaScript package was automatically generated by the OpenAPI Generator project, with some custom templating:

  • API version: 1.0.0
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

FAQs

Package last updated on 07 Sep 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc