All URIs are relative to https://elements.local
Method | HTTP request | Description |
---|---|---|
ActivateSatelliteHost | POST /api/2/rdc/hosts/{id}/activate | |
AnnounceSatelliteHost | POST /api/2/rdc/hosts/announce | |
CreateSatelliteSession | POST /api/2/rdc/sessions | |
DeleteSatelliteSession | DELETE /api/2/rdc/sessions/{id} | |
GetAllSatelliteHosts | GET /api/2/rdc/hosts | |
GetAllSatelliteSessions | GET /api/2/rdc/sessions | |
GetSatelliteHost | GET /api/2/rdc/hosts/{id} | |
GetSatelliteSession | GET /api/2/rdc/sessions/{id} |
RDCActivation ActivateSatelliteHost (int id)
using System.Collections.Generic;
using System.Diagnostics;
using ElementsSDK.Api;
using ElementsSDK.Client;
using ElementsSDK.Model;
namespace Example
{
public class ActivateSatelliteHostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://elements.local";
// Configure API key authorization: Bearer
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 SatelliteApi(config);
var id = 56; // int | A unique integer value identifying this Satellite host.
try
{
RDCActivation result = apiInstance.ActivateSatelliteHost(id);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SatelliteApi.ActivateSatelliteHost: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this Satellite host. |
- 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]
RDCHost AnnounceSatelliteHost ()
using System.Collections.Generic;
using System.Diagnostics;
using ElementsSDK.Api;
using ElementsSDK.Client;
using ElementsSDK.Model;
namespace Example
{
public class AnnounceSatelliteHostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://elements.local";
// Configure API key authorization: Bearer
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 SatelliteApi(config);
try
{
RDCHost result = apiInstance.AnnounceSatelliteHost();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SatelliteApi.AnnounceSatelliteHost: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This endpoint does not need any parameter.
- 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]
RDCSession CreateSatelliteSession (RDCSessionCreate rDCSessionCreate)
using System.Collections.Generic;
using System.Diagnostics;
using ElementsSDK.Api;
using ElementsSDK.Client;
using ElementsSDK.Model;
namespace Example
{
public class CreateSatelliteSessionExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://elements.local";
// Configure API key authorization: Bearer
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 SatelliteApi(config);
var rDCSessionCreate = new RDCSessionCreate(); // RDCSessionCreate |
try
{
RDCSession result = apiInstance.CreateSatelliteSession(rDCSessionCreate);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SatelliteApi.CreateSatelliteSession: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
rDCSessionCreate | RDCSessionCreate |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void DeleteSatelliteSession (int id)
using System.Collections.Generic;
using System.Diagnostics;
using ElementsSDK.Api;
using ElementsSDK.Client;
using ElementsSDK.Model;
namespace Example
{
public class DeleteSatelliteSessionExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://elements.local";
// Configure API key authorization: Bearer
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 SatelliteApi(config);
var id = 56; // int | A unique integer value identifying this Satellite session.
try
{
apiInstance.DeleteSatelliteSession(id);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SatelliteApi.DeleteSatelliteSession: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this Satellite session. |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | No body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List<RDCHost> GetAllSatelliteHosts (string ordering = null, int? limit = null, int? offset = null)
using System.Collections.Generic;
using System.Diagnostics;
using ElementsSDK.Api;
using ElementsSDK.Client;
using ElementsSDK.Model;
namespace Example
{
public class GetAllSatelliteHostsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://elements.local";
// Configure API key authorization: Bearer
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 SatelliteApi(config);
var ordering = ordering_example; // string | Which field to use when ordering the results. (optional)
var limit = 56; // int? | Number of results to return per page. (optional)
var offset = 56; // int? | The initial index from which to return the results. (optional)
try
{
List<RDCHost> result = apiInstance.GetAllSatelliteHosts(ordering, limit, offset);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SatelliteApi.GetAllSatelliteHosts: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
ordering | string | Which field to use when ordering the results. | [optional] |
limit | int? | Number of results to return per page. | [optional] |
offset | int? | The initial index from which to return the results. | [optional] |
- 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]
List<RDCSession> GetAllSatelliteSessions (string ordering = null, int? limit = null, int? offset = null)
using System.Collections.Generic;
using System.Diagnostics;
using ElementsSDK.Api;
using ElementsSDK.Client;
using ElementsSDK.Model;
namespace Example
{
public class GetAllSatelliteSessionsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://elements.local";
// Configure API key authorization: Bearer
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 SatelliteApi(config);
var ordering = ordering_example; // string | Which field to use when ordering the results. (optional)
var limit = 56; // int? | Number of results to return per page. (optional)
var offset = 56; // int? | The initial index from which to return the results. (optional)
try
{
List<RDCSession> result = apiInstance.GetAllSatelliteSessions(ordering, limit, offset);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SatelliteApi.GetAllSatelliteSessions: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
ordering | string | Which field to use when ordering the results. | [optional] |
limit | int? | Number of results to return per page. | [optional] |
offset | int? | The initial index from which to return the results. | [optional] |
- 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]
RDCHost GetSatelliteHost (int id)
using System.Collections.Generic;
using System.Diagnostics;
using ElementsSDK.Api;
using ElementsSDK.Client;
using ElementsSDK.Model;
namespace Example
{
public class GetSatelliteHostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://elements.local";
// Configure API key authorization: Bearer
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 SatelliteApi(config);
var id = 56; // int | A unique integer value identifying this Satellite host.
try
{
RDCHost result = apiInstance.GetSatelliteHost(id);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SatelliteApi.GetSatelliteHost: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this Satellite host. |
- 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]
RDCSession GetSatelliteSession (int id)
using System.Collections.Generic;
using System.Diagnostics;
using ElementsSDK.Api;
using ElementsSDK.Client;
using ElementsSDK.Model;
namespace Example
{
public class GetSatelliteSessionExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://elements.local";
// Configure API key authorization: Bearer
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 SatelliteApi(config);
var id = 56; // int | A unique integer value identifying this Satellite session.
try
{
RDCSession result = apiInstance.GetSatelliteSession(id);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SatelliteApi.GetSatelliteSession: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this Satellite session. |
- 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]