1.15.2 • Published 7 years ago

cloudsml-client v1.15.2

Weekly downloads
-
License
Unlicense
Repository
-
Last release
7 years ago

cloudsml-client

CloudSML - JavaScript client for cloudsml-client CloudSML is a next-generation Data Mining platform by Salford Systems. This is an online and interactive documentation for CloudSML RESTful API. Here you can check out what kind of information you can have and what actions you can do. You can generate a client library from the provided OpenAPI Specification using codegen tool. This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.15.2
  • Package version: 1.15.2
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install cloudsml-client --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var CloudSML = require('cloudsml-client');

var defaultClient = CloudSML.ApiClient.instance;

// Configure OAuth2 access token for authorization: oauth2_password
var oauth2_password = defaultClient.authentications['oauth2_password'];
oauth2_password.accessToken = "YOUR ACCESS TOKEN"

var api = new CloudSML.AuthApi()

var defaultScopes = ["defaultScopes_example"]; // {[String]} 

var opts = { 
  'redirectUris': ["redirectUris_example"] // {[String]} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createOauthClient(defaultScopes, opts, callback);

Documentation for API Endpoints

All URIs are relative to https://localhost/api/v1

ClassMethodHTTP requestDescription
CloudSML.AuthApicreateOauthClientPOST /auth/oauth2_clients/Create a new OAuth2 Client
CloudSML.AuthApigetOAuth2ClientsGET /auth/oauth2_clients/List of OAuth2 Clients
CloudSML.AuthApioptionsOAuth2ClientsOPTIONS /auth/oauth2_clients/Check which methods are allowed
CloudSML.DataApicreateDataSourcePOST /data/sources/Add a new data source
CloudSML.DataApicreateDataTransformationPOST /data/transformations/Make a new data transformation
CloudSML.DataApicreateDataTransformationColumnPOST /data/transformations/{data_transformation_id}/columns/Create DataTransformationColumn
CloudSML.DataApideleteDataSourceByIdDELETE /data/sources/{data_source_id}Delete a data source by ID
CloudSML.DataApideleteDataTransformationByIdDELETE /data/transformations/{data_transformation_id}Delete a data transformation by ID
CloudSML.DataApigetDataSourceByIdGET /data/sources/{data_source_id}Get data source details by ID
CloudSML.DataApigetDataSourcesGET /data/sources/List of data sources
CloudSML.DataApigetDataTransformationByIdGET /data/transformations/{data_transformation_id}Get data transformation details by ID
CloudSML.DataApigetDataTransformationColumnsGET /data/transformations/{data_transformation_id}/columns/Get data transformation columns by data transformation ID
CloudSML.DataApigetDataTransformationMaterializationByIdGET /data/transformations/{data_transformation_id}/data.{export_format}Preview Data Transformation
CloudSML.DataApigetDataTransformationsGET /data/transformations/List of data transformations
CloudSML.DataApigetExportDataTransformationByIdGET /data/transformations/{data_transformation_id}.{export_format}Get Data Transformation in specified format
CloudSML.DataApioptionsDataSourceByIdOPTIONS /data/sources/{data_source_id}Check which methods are allowed
CloudSML.DataApioptionsDataSourcesOPTIONS /data/sources/Check which methods are allowed
CloudSML.DataApioptionsDataTransformationByIdOPTIONS /data/transformations/{data_transformation_id}Check which methods are allowed
CloudSML.DataApioptionsDataTransformationColumnsOPTIONS /data/transformations/{data_transformation_id}/columns/Check which methods are allowed
CloudSML.DataApioptionsDataTransformationMaterializationByIdOPTIONS /data/transformations/{data_transformation_id}/data.{export_format}Check which methods are allowed
CloudSML.DataApioptionsDataTransformationsOPTIONS /data/transformations/Check which methods are allowed
CloudSML.DataApioptionsExportDataTransformationByIdOPTIONS /data/transformations/{data_transformation_id}.{export_format}Check which methods are allowed
CloudSML.DataApioptionsMaterializedDataTransformationByIdOPTIONS /data/transformations/exported/{materialized_data_transformation_id}/Check which methods are allowed
CloudSML.DataApipatchDataSourceByIdPATCH /data/sources/{data_source_id}Modify data source details by ID
CloudSML.DataApipatchDataTransformationByIdPATCH /data/transformations/{data_transformation_id}Modify data transformation details by ID
CloudSML.DataApipatchMaterializedDataTransformationByIdPATCH /data/transformations/exported/{materialized_data_transformation_id}/Patch MaterializedDataTransformation to change status and put proper SeaweedFS File ID
CloudSML.Predictive_analyticsApicreatePipelinePOST /predictive_analytics/pipelines/Create a new pipeline
CloudSML.Predictive_analyticsApideletePipelineByIdDELETE /predictive_analytics/pipelines/{pipeline_id}Delete pipeline by ID
CloudSML.Predictive_analyticsApideletePredictiveModelByIdDELETE /predictive_analytics/models/{predictive_model_id}Delete a predictive model by ID
CloudSML.Predictive_analyticsApifitPredictiveModelPOST /predictive_analytics/models/Build a new predictive model
CloudSML.Predictive_analyticsApigetPipelineByIdGET /predictive_analytics/pipelines/{pipeline_id}Get pipeline by it's ID
CloudSML.Predictive_analyticsApigetPipelinesGET /predictive_analytics/pipelines/List of pipelines
CloudSML.Predictive_analyticsApigetPredictiveModelByIdGET /predictive_analytics/models/{predictive_model_id}Get predictive model details by ID
CloudSML.Predictive_analyticsApigetPredictiveModelExportByIdGET /predictive_analytics/models/{predictive_model_id}.{export_format}Export a model
CloudSML.Predictive_analyticsApigetPredictiveModelOptimalPerformanceStatsGET /predictive_analytics/models/{predictive_model_id}/optimal_performance_statsGet Optimal Performance Stats for specific Predictive Model by its ID
CloudSML.Predictive_analyticsApigetPredictiveModelPerformanceStatsGET /predictive_analytics/models/{predictive_model_id}/performance_statsGet Performance Stats for specific Predictive Model by its ID
CloudSML.Predictive_analyticsApigetPredictiveModelsGET /predictive_analytics/models/List of predictive models
CloudSML.Predictive_analyticsApioptionsExportedPredictiveModelByIdOPTIONS /predictive_analytics/models/exported_predictive_model/{exported_predictive_model_id}Check which methods are allowed
CloudSML.Predictive_analyticsApioptionsPipelineByIdOPTIONS /predictive_analytics/pipelines/{pipeline_id}Check which methods are allowed
CloudSML.Predictive_analyticsApioptionsPipelinesOPTIONS /predictive_analytics/pipelines/Check which methods are allowed
CloudSML.Predictive_analyticsApioptionsPredictiveModelByIdOPTIONS /predictive_analytics/models/{predictive_model_id}Check which methods are allowed
CloudSML.Predictive_analyticsApioptionsPredictiveModelExportByIdOPTIONS /predictive_analytics/models/{predictive_model_id}.{export_format}Check which methods are allowed
CloudSML.Predictive_analyticsApioptionsPredictiveModelOptimalPerformanceStatsOPTIONS /predictive_analytics/models/{predictive_model_id}/optimal_performance_statsCheck which methods are allowed
CloudSML.Predictive_analyticsApioptionsPredictiveModelPerformanceStatsOPTIONS /predictive_analytics/models/{predictive_model_id}/performance_statsCheck which methods are allowed
CloudSML.Predictive_analyticsApioptionsPredictiveModelsOPTIONS /predictive_analytics/models/Check which methods are allowed
CloudSML.Predictive_analyticsApipatchExportedPredictiveModelByIdPATCH /predictive_analytics/models/exported_predictive_model/{exported_predictive_model_id}Patch ExportedPredictiveModel to change status and put proper SeeweedFS File ID
CloudSML.Predictive_analyticsApipatchPipelineByIdPATCH /predictive_analytics/pipelines/{pipeline_id}Modify pipeline by ID
CloudSML.Predictive_analyticsApipatchPredictiveModelByIdPATCH /predictive_analytics/models/{predictive_model_id}Modify predictive model details by ID
CloudSML.ScoringsApideleteScoringByIdDELETE /scorings/{scoring_id}Delete a scoring by ID
CloudSML.ScoringsApigetScoringByIdGET /scorings/{scoring_id}Get scoring details by ID
CloudSML.ScoringsApigetScoringsGET /scorings/List of scorings
CloudSML.ScoringsApioptionsScoringByIdOPTIONS /scorings/{scoring_id}Check which methods are allowed
CloudSML.ScoringsApioptionsScoringsOPTIONS /scorings/Check which methods are allowed
CloudSML.ScoringsApipatchScoringByIdPATCH /scorings/{scoring_id}Modify scoring details by ID
CloudSML.ScoringsApiscoreModelPOST /scorings/Score a model
CloudSML.UsersApicreateUserPOST /users/Create a new user
CloudSML.UsersApigetUserByIdGET /users/{user_id}Get user details by ID
CloudSML.UsersApigetUserMeGET /users/meGet current user details
CloudSML.UsersApigetUserSignupFormGET /users/signup_formGet signup form keys
CloudSML.UsersApigetUsersGET /users/List of users
CloudSML.UsersApioptionsUserByIdOPTIONS /users/{user_id}Check which methods are allowed
CloudSML.UsersApioptionsUserMeOPTIONS /users/meCheck which methods are allowed
CloudSML.UsersApioptionsUserSignupFormOPTIONS /users/signup_formCheck which methods are allowed
CloudSML.UsersApioptionsUsersOPTIONS /users/Check which methods are allowed
CloudSML.UsersApipatchUserByIdPATCH /users/{user_id}Patch user details by ID
CloudSML.WorkspacesApiaddWorkspaceMemberPOST /workspaces/{workspace_id}/members/Add a new member to a workspace
CloudSML.WorkspacesApicreateWorkspacePOST /workspaces/Create a new workspace
CloudSML.WorkspacesApideleteWorkspaceByIdDELETE /workspaces/{workspace_id}Delete a workspace by ID
CloudSML.WorkspacesApideleteWorkspaceMemberByIdDELETE /workspaces/{workspace_id}/members/{user_id}Remove a member from a workspace
CloudSML.WorkspacesApigetWorkspaceByIdGET /workspaces/{workspace_id}Get workspace details by ID
CloudSML.WorkspacesApigetWorkspaceMembersGET /workspaces/{workspace_id}/members/Get workspace members by workspace ID
CloudSML.WorkspacesApigetWorkspacesGET /workspaces/List of workspaces
CloudSML.WorkspacesApioptionsWorkspaceByIdOPTIONS /workspaces/{workspace_id}Check which methods are allowed
CloudSML.WorkspacesApioptionsWorkspaceMemberByIdOPTIONS /workspaces/{workspace_id}/members/{user_id}Check which methods are allowed
CloudSML.WorkspacesApioptionsWorkspaceMembersOPTIONS /workspaces/{workspace_id}/members/Check which methods are allowed
CloudSML.WorkspacesApioptionsWorkspacesOPTIONS /workspaces/Check which methods are allowed
CloudSML.WorkspacesApipatchWorkspaceByIdPATCH /workspaces/{workspace_id}Patch workspace details by ID

Documentation for Models

Documentation for Authorization

oauth2_password

  • Type: OAuth
  • Flow: password
  • Authorization URL:
  • Scopes:
    • pipelines:read: Provide access to pipelines
    • auth:write: Provide write access to auth details
    • pipelines:write: Provide write access to pipelines
    • data_sources:read: Provide access to data sources
    • scorings:write: Provide write access to scorings
    • users:write: Provide write access to user details
    • users:read: Provide access to user details
    • scorings:read: Provide access to scorings
    • workspaces:read: Provide access to workspace details
    • data_sources:write: Provide write access to data sources
    • data_transformations:write: Provide write access to data transformations
    • workspaces:write: Provide write access to workspace details
    • data_transformations:read: Provide access to data transformations
    • predictive_models:read: Provide access to predictive models
    • predictive_models:write: Provide write access to predictive models
    • auth:read: Provide access to auth details
1.15.2

7 years ago

1.15.1

7 years ago

1.15.0

7 years ago

1.14.1

7 years ago

1.14.0

7 years ago

1.13.2

7 years ago

1.13.0

7 years ago

1.13.1

7 years ago

1.12.1

7 years ago

1.12.0

7 years ago

1.11.1

7 years ago

1.11.0

7 years ago

1.10.1

7 years ago

1.10.0

7 years ago

1.9.1

7 years ago

1.9.0

7 years ago

1.8.3

7 years ago

1.8.2

7 years ago

1.8.1

7 years ago

1.8.0

7 years ago