Home

Awesome

Go API client for instaclustr_icarus

REST API for Instaclustr Icarus - a sidecar for Cassandra.

You may try this API just from your browser - check API on GitHub pages. It is expected that there is a Cassandra node running on your local host and Icarus is started locally too - listening on http://127.0.0.1:4567 (which is default). Check Icarus repository for more documentation.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

Installation

Put the package under your project folder and add the following in import:

import "./instaclustr_icarus"

Documentation for API Endpoints

All URIs are relative to http://localhost:4567

ClassMethodHTTP requestDescription
ConfigApiConfigGetGet /configreturns configuration of a Cassandra node as in its cassandra.yaml file
OperationsApiOperationsGetGet /operationsAll operations of Icarus
OperationsApiOperationsOperationIdGetGet /operations/{operationId}gets operation by its ID
OperationsApiOperationsPostPost /operationsSubmits an operation to this Sidecar
StatusApiStatusGetGet /statusreturns a state of a Cassandra node
TopologyApiTopologyDcGetGet /topology/{dc}returns topology of a datacenter of a cluster
TopologyApiTopologyGetGet /topologyreturns topology of a cluster as seen from this node
VersionApiVersionCassandraGetGet /version/cassandrareturns version of Cassandra node
VersionApiVersionGetGet /versionreturns version of Cassandra Sidecar itself
VersionApiVersionSchemaGetGet /version/schemareturns schema version this Cassandra node is on, same as calling StorageServiceMBean#getSchemaVersion
VersionApiVersionSidecarGetGet /version/sidecaralias for /version endpoint, returns version of Cassandra Sidecar itself

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

support@instaclustr.com