Skip to content

Cloudmersive/Cloudmersive.APIClient.NETCore.Configuration

Repository files navigation

Cloudmersive.APIClient.NETCore.ConfigurationAPI - the C# library for the configapi

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

Frameworks supported

  • .NET Core >=1.0
  • .NET Framework >=4.6
  • Mono/Xamarin >=vNext
  • UWP >=10.0

Dependencies

  • FubarCoder.RestSharp.Portable.Core >=4.0.7
  • FubarCoder.RestSharp.Portable.HttpClient >=4.0.7
  • Newtonsoft.Json >=10.0.3

Installation

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;

Getting Started

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 );
            }

        }
    }
}

Documentation for API Endpoints

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

Documentation for Models

Documentation for Authorization

Apikey

  • Type: API key
  • API key parameter name: Apikey
  • Location: HTTP header

About

.NET Core API Client for Cloudmersive Configuration API

Resources

License

Stars

Watchers

Forks

Packages

No packages published