All URIs are relative to http://api.madana.io/rest
Method | HTTP request | Description |
---|---|---|
CreateNode | POST /nodes/v2 | |
GetBootstrap | GET /nodes/bootstrap | |
GetNodeLicenses | GET /nodes/licenses | |
GetNodeV2 | GET /nodes/v2/{ident} | |
GetNodes2 | GET /nodes | |
GetNodesV2 | GET /nodes/v2 | Returns UUIDs of existing analyses. |
KillNode | POST /nodes/v2/{ident}/kill | |
PostNodeInfo | POST /nodes | |
PostNodeInfo_0 | POST /nodes/create |
System.IO.Stream CreateNode (JsonNodeRunRequest body = null)
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class CreateNodeExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
var body = new JsonNodeRunRequest(); // JsonNodeRunRequest | (optional)
try
{
System.IO.Stream result = apiInstance.CreateNode(body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.CreateNode: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | JsonNodeRunRequest | [optional] |
System.IO.Stream
No authorization required
- Content-Type: application/json
- Accept: application/json, application/xml
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
System.IO.Stream GetBootstrap ()
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class GetBootstrapExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
try
{
System.IO.Stream result = apiInstance.GetBootstrap();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.GetBootstrap: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This endpoint does not need any parameter.
System.IO.Stream
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
System.IO.Stream GetNodeLicenses (string active = null)
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class GetNodeLicensesExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
var active = active_example; // string | (optional) (default to "true")
try
{
System.IO.Stream result = apiInstance.GetNodeLicenses(active);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.GetNodeLicenses: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
active | string | [optional] [default to "true"] |
System.IO.Stream
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
System.IO.Stream GetNodeV2 (string ident)
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class GetNodeV2Example
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
var ident = ident_example; // string |
try
{
System.IO.Stream result = apiInstance.GetNodeV2(ident);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.GetNodeV2: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
ident | string |
System.IO.Stream
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
System.IO.Stream GetNodes2 (string owner = null)
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class GetNodes2Example
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
var owner = owner_example; // string | (optional)
try
{
System.IO.Stream result = apiInstance.GetNodes2(owner);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.GetNodes2: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
owner | string | [optional] |
System.IO.Stream
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
System.IO.Stream GetNodesV2 (string authorization = null, string created = null, string limit = null, string offset = null, string status = null)
Returns UUIDs of existing analyses.
Returns UUIDs of existing analyses.
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class GetNodesV2Example
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
var authorization = authorization_example; // string | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c (optional)
var created = created_example; // string | - if Queryparam \"created=true\" only the UUIDs of own Requests are shown (optional) (default to "true")
var limit = limit_example; // string | Used for offset pagination. Limit/Offset Paging would look like GET /request?limit=20&offset=100. This query would return the 20 rows starting with the 100th row (optional) (default to "30")
var offset = offset_example; // string | Used for offset pagination. Limit/Offset Paging would look like GET /request?limit=20&offset=100. This query would return the 20 rows starting with the 100th row (optional) (default to "0")
var status = status_example; // string | (optional)
try
{
// Returns UUIDs of existing analyses.
System.IO.Stream result = apiInstance.GetNodesV2(authorization, created, limit, offset, status);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.GetNodesV2: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
authorization | string | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c | [optional] |
created | string | - if Queryparam "created=true" only the UUIDs of own Requests are shown | [optional] [default to "true"] |
limit | string | Used for offset pagination. Limit/Offset Paging would look like GET /request?limit=20&offset=100. This query would return the 20 rows starting with the 100th row | [optional] [default to "30"] |
offset | string | Used for offset pagination. Limit/Offset Paging would look like GET /request?limit=20&offset=100. This query would return the 20 rows starting with the 100th row | [optional] [default to "0"] |
status | string | [optional] |
System.IO.Stream
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | If the actions could be loaded | - |
500 | If an servsided error occurs | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
System.IO.Stream KillNode (string ident)
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class KillNodeExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
var ident = ident_example; // string |
try
{
System.IO.Stream result = apiInstance.KillNode(ident);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.KillNode: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
ident | string |
System.IO.Stream
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
System.IO.Stream PostNodeInfo (JsonNodeInfo body = null)
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class PostNodeInfoExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
var body = new JsonNodeInfo(); // JsonNodeInfo | (optional)
try
{
System.IO.Stream result = apiInstance.PostNodeInfo(body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.PostNodeInfo: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | JsonNodeInfo | [optional] |
System.IO.Stream
No authorization required
- Content-Type: application/json
- Accept: application/json, application/xml
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
System.IO.Stream PostNodeInfo_0 (JsonNodeRunRequest body = null)
using System.Collections.Generic;
using System.Diagnostics;
using Com.Madana.APIClient.Api;
using Com.Madana.APIClient.Client;
using Com.Madana.APIClient.Model;
namespace Example
{
public class PostNodeInfo_0Example
{
public static void Main()
{
Configuration.Default.BasePath = "http://api.madana.io/rest";
var apiInstance = new NodeServiceApi(Configuration.Default);
var body = new JsonNodeRunRequest(); // JsonNodeRunRequest | (optional)
try
{
System.IO.Stream result = apiInstance.PostNodeInfo_0(body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling NodeServiceApi.PostNodeInfo_0: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | JsonNodeRunRequest | [optional] |
System.IO.Stream
No authorization required
- Content-Type: application/json
- Accept: application/json, application/xml
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]