Config API lets you easily manage configuration at scale.
This C# SDK is for the Cloudmersive ConfigurationAPI API:
- API version: v1
- SDK version: 2.0.3
- Build package: io.swagger.codegen.languages.CSharpClientCodegen
- .NET Core >=1.0
- .NET Framework >=4.6
- Mono/Xamarin >=vNext
- UWP >=10.0
- FubarCoder.RestSharp.Portable.Core >=4.0.7
- FubarCoder.RestSharp.Portable.HttpClient >=4.0.7
- Newtonsoft.Json >=10.0.3
Generate the DLL using your preferred tool
Then include the DLL (under the bin
folder) in the C# project, and use the namespaces:
using Cloudmersive.APIClient.NETCore.ConfigurationAPI.Api;
using Cloudmersive.APIClient.NETCore.ConfigurationAPI.Client;
using Cloudmersive.APIClient.NETCore.ConfigurationAPI.Model;
using System;
using System.Diagnostics;
using Cloudmersive.APIClient.NETCore.ConfigurationAPI.Api;
using Cloudmersive.APIClient.NETCore.ConfigurationAPI.Client;
using Cloudmersive.APIClient.NETCore.ConfigurationAPI.Model;
namespace Example
{
public class Example
{
public void main()
{
// Configure API key authorization: Apikey
Configuration.Default.ApiKey.Add("Apikey", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("Apikey", "Bearer");
var apiInstance = new OrchestratorApi();
var request = new HttpOrchestrationRequest(); // HttpOrchestrationRequest |
try
{
// Orchestrate multiple HTTP API calls with a single API call in the order specified. Call other Cloudmersive APIs or third party APIs. For Cloudmersive APIs, the API Key will automatically propogate to the child calls without needing to be set explicitly. Name each task and reference the output of a previous task in the inputs to a given task.
HttpOrchestrationResponse result = apiInstance.OrchestratorHttpSimple(request);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling OrchestratorApi.OrchestratorHttpSimple: " + e.Message );
}
}
}
}
All URIs are relative to https://api.cloudmersive.com
Class | Method | HTTP request | Description |
---|---|---|---|
OrchestratorApi | OrchestratorHttpSimple | POST /config/orchestrator/http/simple | Orchestrate multiple HTTP API calls with a single API call in the order specified. Call other Cloudmersive APIs or third party APIs. For Cloudmersive APIs, the API Key will automatically propogate to the child calls without needing to be set explicitly. Name each task and reference the output of a previous task in the inputs to a given task. |
SettingsApi | SettingsCreateSetting | POST /config/settings/create | Create a setting in the specified bucket |
SettingsApi | SettingsListSettings | POST /config/settings/list | Enumerate the settings in a bucket |
SettingsApi | SettingsUpdateSetting | POST /config/settings/update | Update a setting |
- Model.CreateSettingRequest
- Model.CreateSettingResponse
- Model.HttpFormDataParameter
- Model.HttpGetParameter
- Model.HttpOrchestrationHeader
- Model.HttpOrchestrationRequest
- Model.HttpOrchestrationResponse
- Model.HttpOrchestrationTask
- Model.HttpRawBinaryParameter
- Model.HttpRawTextParameter
- Model.HttpWwwFormUrlEncodedParameter
- Model.ListSettingsRequest
- Model.ListSettingsResponse
- Model.SettingValue
- Model.TaskOutputReference
- Model.UpdateSettingRequest
- Model.UpdateSettingResponse
- Type: API key
- API key parameter name: Apikey
- Location: HTTP header