CloudFabrix RDA Platform API
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 3.2.2
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python 3.7+
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import cfx_rda_api
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import cfx_rda_api
Execute pytest
to run the tests.
Please follow the installation procedure and then run the following:
import time
import cfx_rda_api
from cfx_rda_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = cfx_rda_api.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with cfx_rda_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cfx_rda_api.AuthenticationApi(api_client)
login_input = cfx_rda_api.LoginInput() # LoginInput |
try:
# Login into api server. (Run this first)
api_response = api_instance.login(login_input)
print("The response of AuthenticationApi->login:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthenticationApi->login: %s\n" % e)
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
AuthenticationApi | login | POST /api/v2/login | Login into api server. (Run this first) |
DashboardsApi | get_dashboards | GET /api/v2/dashboards | Fetch meta data for dashboards |
DatasetsApi | add_dataset | POST /api/v2/datasets | Add a dataset |
DatasetsApi | delete_dataset | DELETE /api/v2/datasets/dataset/{name} | Delete a dataset |
DatasetsApi | delete_dataset_all_data | DELETE /api/v2/datasets/dataset/{name}/data/all | Delete enitre data of a dataset |
DatasetsApi | delete_dataset_rows | DELETE /api/v2/datasets/dataset/{name}/data | Delete matching dataset rows |
DatasetsApi | get_dataset_data | GET /api/v2/datasets/dataset/{name}/data | Get data of a dataset |
DatasetsApi | get_datasets | GET /api/v2/datasets | Fetch meta data about datasets |
DatasetsApi | update_dataset_data | PUT /api/v2/datasets/dataset/{name}/data | Update rows of a dataset |
PersistentStreamsApi | add_pstream | POST /api/v2/pstreams | Add a pstream |
PersistentStreamsApi | delete_pstream | DELETE /api/v2/pstreams/pstream/{name} | Delete a pstream. |
PersistentStreamsApi | edit_pstream | PUT /api/v2/pstreams/pstream/{name} | Edit attributes of a pstream |
PersistentStreamsApi | get_pstream_data | GET /api/v2/pstreams/pstream/{name}/data | Get data of a pstream |
PersistentStreamsApi | get_pstreams | GET /api/v2/pstreams | Fetch meta data about pstreams |
UsersApi | get_current_user | GET /api/v2/current_user | Get current logged in user details |
- DashboardsEnum
- DatasetAddModel
- DatasetsEnum
- HTTPValidationError
- LocationInner
- LoginInput
- PstreamAddModel
- PstreamEditModel
- PstreamsEnum
- TableReportResponse
- UserDetails
- ValidationError
Endpoints do not require authorization.