You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
gene 256325accf user groups test page 2 years ago
..
.swagger-codegen first commit 2 years ago
.vs Trying maui again 2 years ago
docs first commit 2 years ago
src removed all the generated files that we don't need in source control 2 years ago
.gitignore first commit 2 years ago
.swagger-codegen-ignore first commit 2 years ago
.travis.yml first commit 2 years ago
CircleSDK.sln first commit 2 years ago
IO.Swagger.sln first commit 2 years ago
README.md first commit 2 years ago
build.bat first commit 2 years ago
build.sh first commit 2 years ago
git_push.sh first commit 2 years ago
mono_nunit_test.sh first commit 2 years ago

README.md

<<<<<<< Updated upstream

CircleSDK - the C# library for the Circle

=======

IO.Swagger - the C# library for the Circle

Stashed changes

Circle API

This C# SDK is automatically generated by the Swagger Codegen project:

  • API version: 0.1
  • SDK version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.dotnet.CSharpClientCodegen For more information, please visit https://gocircle.ai/

Frameworks supported

  • .NET 4.0 or later
  • Windows Phone 7.1 (Mango)

Dependencies

The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:

Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes

NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742

Installation

Run the following command to generate the DLL

  • [Mac/Linux] /bin/sh build.sh
  • [Windows] build.bat

Then include the DLL (under the bin folder) in the C# project, and use the namespaces:

<<<<<<< Updated upstream
using CircleSDK.Api;
using CircleSDK.Client;
using CircleSDK.Model;
=======
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
>>>>>>> Stashed changes

Packaging

A .nuspec is included with the project. You can follow the Nuget quickstart to create and publish packages.

This .nuspec uses placeholders from the .csproj, so build the .csproj directly:

<<<<<<< Updated upstream
nuget pack -Build -OutputDirectory out CircleSDK.csproj
=======
nuget pack -Build -OutputDirectory out IO.Swagger.csproj
>>>>>>> Stashed changes

Then, publish to a local feed or other host and consume the new package via Nuget as usual.

Getting Started

using System;
using System.Diagnostics;
<<<<<<< Updated upstream
using CircleSDK.Api;
using CircleSDK.Client;
using CircleSDK.Model;
=======
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
>>>>>>> Stashed changes

namespace Example
{
    public class Example
    {
        public void main()
        {
            var apiInstance = new CircleApi();
<<<<<<< Updated upstream
            var body = new AddMemberToTopicRequest(); // AddMemberToTopicRequest | 
            var authorization = authorization_example;  // string | Authorization Bearer
=======
            var body = new AddFileRequest(); // AddFileRequest | 
>>>>>>> Stashed changes
            var xCircleAppkey = xCircleAppkey_example;  // string | Application `appKey`

            try
            {
<<<<<<< Updated upstream
                // addMemberToTopic
                AddMemberToTopicReply result = apiInstance.AddMemberToTopic(body, authorization, xCircleAppkey);
=======
                // addFile
                AddFileReply result = apiInstance.AddFile(body, xCircleAppkey);
>>>>>>> Stashed changes
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
<<<<<<< Updated upstream
                Debug.Print("Exception when calling CircleApi.AddMemberToTopic: " + e.Message );
=======
                Debug.Print("Exception when calling CircleApi.AddFile: " + e.Message );
>>>>>>> Stashed changes
            }
        }
    }
}

Documentation for API Endpoints

<<<<<<< Updated upstream All URIs are relative to http://127.0.0.1:31415

Class Method HTTP request Description
CircleApi AddMemberToTopic POST /v1/addMemberToTopic addMemberToTopic
CircleApi AddMessage POST /v1/addMessage addMessage
CircleApi AddValue POST /v1/addValue addValue
CircleApi ApproveCoTInvoke POST /v1/approveCoTInvoke ApproveCoTInvoke
CircleApi Authorize POST /v1/authorize authorize
CircleApi Background POST /v1/background background
CircleApi ConfigureService POST /v1/configureService configureService
CircleApi CreateCircle POST /v1/createCircle createCircle
CircleApi CreateTopic POST /v1/createTopic createTopic
CircleApi Decrypt POST /v1/decrypt decrypt
CircleApi DefineCircleOfTrust POST /v1/defineCircleOfTrust DefineCircleOfTrust
CircleApi DeleteCircle POST /v1/deleteCircle DeleteCircle
CircleApi DeleteFile POST /v1/deleteFile deleteFile
CircleApi DeleteKey POST /v1/deleteKey deleteKey
CircleApi DeleteMessage POST /v1/deleteMessage DeleteMessage
CircleApi DenyCoTInvoke POST /v1/denyCoTInvoke DenyCoTInvoke
CircleApi DownloadFile POST /v1/downloadFile downloadFile
CircleApi Encrypt POST /v1/encrypt encrypt
CircleApi EnumCircleMembers POST /v1/enumCircleMembers enumCircleMembers
CircleApi EnumCircles POST /v1/enumCircles enumCircles
CircleApi EnumDevices POST /v1/enumDevices enumDevices
CircleApi EnumFiles POST /v1/enumFiles enumFiles
CircleApi EnumInvites POST /v1/enumInvites enumInvites
CircleApi EnumKeys POST /v1/enumKeys enumKeys
CircleApi EnumRevisions POST /v1/enumRevisions enumRevisions
CircleApi EnumTopicMembers POST /v1/enumTopicMembers enumTopicMembers
CircleApi EnumTopics POST /v1/enumTopics enumTopics
CircleApi Foreground POST /v1/foreground foreground
CircleApi GenInvite POST /v1/genInvite genInvite
CircleApi GetCircleOfTrust POST /v1/getCircleOfTrust GetCircleOfTrust
CircleApi GetCirclePublicKey POST /v1/getCirclePublicKey GetCirclePublicKey
CircleApi GetMessage POST /v1/getMessage GetMessage
CircleApi GetMessages POST /v1/getMessages getMessages
CircleApi GetRAVStatus POST /v1/getRAVStatus GetRAVStatus
CircleApi GetSecureFileContents POST /v1/getSecureFileContents GetSecureFileContents
CircleApi GetSyncStatus POST /v1/getSyncStatus getSyncStatus
CircleApi GetUserPublicKey POST /v1/getUserPublicKey GetUserPublicKey
CircleApi GetValue POST /v1/getValue getValue
CircleApi JoinTopic POST /v1/joinTopic joinTopic
CircleApi LeaveTopic POST /v1/leaveTopic leaveTopic
CircleApi LockUser POST /v1/lockUser lockUser
CircleApi LoginWithCircle POST /v1/loginWithCircle LoginWithCircle
CircleApi LogintoService POST /v1/logintoService logintoService
CircleApi ProcessInvite POST /v1/processInvite processInvite
CircleApi RemoveMember POST /v1/removeMember removeMember

======= All URIs are relative to http://localhost:31415

Class Method HTTP request Description
CircleApi AddFile POST /v1/addFile addFile
CircleApi AddMemberToTopic POST /v1/addMemberToTopic addMemberToTopic
CircleApi AddMessge POST /v1/addMessge addMessge
CircleApi Authorize POST /v1/authorize authorize
CircleApi Background POST /v1/background background
CircleApi CreateCircle POST /v1/createCircle createCircle
CircleApi CreateTopic POST /v1/createTopic createTopic
CircleApi DecryptFile POST /v1/decryptFile decryptFile
CircleApi DeleteFile POST /v1/deleteFile deleteFile
CircleApi EncryptFile POST /v1/encryptFile encryptFile
CircleApi EnumCircleMembers GET /v1/enumCircleMembers enumCircleMembers
CircleApi EnumCircles GET /v1/enumCircles enumCircles
CircleApi EnumDevices GET /v1/enumDevices enumDevices
CircleApi EnumFiles GET /v1/enumFiles enumFiles
CircleApi EnumInvites GET /v1/enumInvites enumInvites
CircleApi EnumRevisions GET /v1/enumRevisions enumRevisions
CircleApi EnumTopicMembers GET /v1/enumTopicMembers enumTopicMembers
CircleApi EnumTopics GET /v1/enumTopics enumTopics
CircleApi Foreground POST /v1/foreground foreground
CircleApi GenInvite POST /v1/genInvite genInvite
CircleApi GetFile GET /v1/getFile getFile
CircleApi GetMessges GET /v1/getMessges getMessges
CircleApi GetTopicKey GET /v1/getTopicKey getTopicKey
CircleApi Invite POST /v1/invite invite
CircleApi JoinTopic POST /v1/joinTopic joinTopic
CircleApi LeaveTopic POST /v1/leaveTopic leaveTopic

Stashed changes CircleApi | RemoveMemberFromTopic | POST /v1/removeMemberFromTopic | removeMemberFromTopic CircleApi | RenameFile | POST /v1/renameFile | renameFile CircleApi | RevokeDevice | POST /v1/revokeDevice | revokeDevice CircleApi | RevokeInvite | POST /v1/revokeInvite | revokeInvite <<<<<<< Updated upstream CircleApi | SecureContents | POST /v1/secureContents | SecureContents CircleApi | SecureFile | POST /v1/secureFile | SecureFile CircleApi | ServiceStatus | POST /v1/serviceStatus | serviceStatus CircleApi | SetUserId | POST /v1/setUserId | SetUserId CircleApi | SignDataWithCircleKey | POST /v1/signDataWithCircleKey | SignDataWithCircleKey CircleApi | SignDataWithUserKey | POST /v1/signDataWithUserKey | SignDataWithUserKey CircleApi | StoreToken | POST /v1/storeToken | storeToken CircleApi | UnlockUser | POST /v1/unlockUser | unlockUser CircleApi | UpdateTopic | POST /v1/updateTopic | updateTopic CircleApi | UploadFile | POST /v1/uploadFile | uploadFile CircleApi | WhoAmI | POST /v1/whoAmI | whoAmI ======= CircleApi | WhoAmI | GET /v1/whoAmI | whoAmI Stashed changes

Documentation for Models

<<<<<<< Updated upstream

Stashed changes

Stashed changes

Stashed changes

Stashed changes

Stashed changes

Stashed changes

Documentation for Authorization

All endpoints do not require authorization.