All URIs are relative to http://localhost:2746
| Method | HTTP request | Description |
|---|---|---|
| InfoServiceCollectEvent | POST /api/v1/tracking/event | |
| InfoServiceGetInfo | GET /api/v1/info | |
| InfoServiceGetUserInfo | GET /api/v1/userinfo | |
| InfoServiceGetVersion | GET /api/v1/version |
Object InfoServiceCollectEvent (IoArgoprojWorkflowV1alpha1CollectEventRequest body)
using System.Collections.Generic;
using System.Diagnostics;
using ArgoWorkflowsClient.Api;
using ArgoWorkflowsClient.Client;
using ArgoWorkflowsClient.Model;
namespace Example
{
public class InfoServiceCollectEventExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://localhost:2746";
// Configure API key authorization: BearerToken
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new InfoServiceApi(config);
var body = new IoArgoprojWorkflowV1alpha1CollectEventRequest(); // IoArgoprojWorkflowV1alpha1CollectEventRequest |
try
{
Object result = apiInstance.InfoServiceCollectEvent(body);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoServiceApi.InfoServiceCollectEvent: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Object> response = apiInstance.InfoServiceCollectEventWithHttpInfo(body);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoServiceApi.InfoServiceCollectEventWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | IoArgoprojWorkflowV1alpha1CollectEventRequest |
Object
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IoArgoprojWorkflowV1alpha1InfoResponse InfoServiceGetInfo ()
using System.Collections.Generic;
using System.Diagnostics;
using ArgoWorkflowsClient.Api;
using ArgoWorkflowsClient.Client;
using ArgoWorkflowsClient.Model;
namespace Example
{
public class InfoServiceGetInfoExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://localhost:2746";
// Configure API key authorization: BearerToken
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new InfoServiceApi(config);
try
{
IoArgoprojWorkflowV1alpha1InfoResponse result = apiInstance.InfoServiceGetInfo();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoServiceApi.InfoServiceGetInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<IoArgoprojWorkflowV1alpha1InfoResponse> response = apiInstance.InfoServiceGetInfoWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoServiceApi.InfoServiceGetInfoWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}This endpoint does not need any parameter.
IoArgoprojWorkflowV1alpha1InfoResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IoArgoprojWorkflowV1alpha1GetUserInfoResponse InfoServiceGetUserInfo ()
using System.Collections.Generic;
using System.Diagnostics;
using ArgoWorkflowsClient.Api;
using ArgoWorkflowsClient.Client;
using ArgoWorkflowsClient.Model;
namespace Example
{
public class InfoServiceGetUserInfoExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://localhost:2746";
// Configure API key authorization: BearerToken
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new InfoServiceApi(config);
try
{
IoArgoprojWorkflowV1alpha1GetUserInfoResponse result = apiInstance.InfoServiceGetUserInfo();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoServiceApi.InfoServiceGetUserInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<IoArgoprojWorkflowV1alpha1GetUserInfoResponse> response = apiInstance.InfoServiceGetUserInfoWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoServiceApi.InfoServiceGetUserInfoWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}This endpoint does not need any parameter.
IoArgoprojWorkflowV1alpha1GetUserInfoResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IoArgoprojWorkflowV1alpha1Version InfoServiceGetVersion ()
using System.Collections.Generic;
using System.Diagnostics;
using ArgoWorkflowsClient.Api;
using ArgoWorkflowsClient.Client;
using ArgoWorkflowsClient.Model;
namespace Example
{
public class InfoServiceGetVersionExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "http://localhost:2746";
// Configure API key authorization: BearerToken
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new InfoServiceApi(config);
try
{
IoArgoprojWorkflowV1alpha1Version result = apiInstance.InfoServiceGetVersion();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoServiceApi.InfoServiceGetVersion: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<IoArgoprojWorkflowV1alpha1Version> response = apiInstance.InfoServiceGetVersionWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoServiceApi.InfoServiceGetVersionWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}This endpoint does not need any parameter.
IoArgoprojWorkflowV1alpha1Version
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]