Cherwell.Api 1.0.110

dotnet add package Cherwell.Api --version 1.0.110
                    
NuGet\Install-Package Cherwell.Api -Version 1.0.110
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cherwell.Api" Version="1.0.110" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cherwell.Api" Version="1.0.110" />
                    
Directory.Packages.props
<PackageReference Include="Cherwell.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cherwell.Api --version 1.0.110
                    
#r "nuget: Cherwell.Api, 1.0.110"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cherwell.Api@1.0.110
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cherwell.Api&version=1.0.110
                    
Install as a Cake Addin
#tool nuget:?package=Cherwell.Api&version=1.0.110
                    
Install as a Cake Tool

Cherwell.Api

Nuget Nuget License: MIT Codacy Badge

This project implements access to the v1 Cherwell API

See the contribution guide for more information regarding contributing to this project

To use the Cherwell API nuget package:

Visual Studio

  1. Open your project in Visual Studio
  2. Right-click on the project and click "Manage Nuget packages"
  3. Find the package "Cherwell.Api" - install the latest version

Example code (C# 10.0):

using Cherwell.Api;
using System;
using System.Threading.Tasks;

namespace My.Project
{
	public static class Program
	{
		public static async Task Main()
		{
			using var cherwellClient = new CherwellClient(new CherwellClientOptions
			{
				BaseAddress = "xxxxxxx",
				Username = "0123456789abcdef0123456789abcdef01234567",
				Password = "0123456789abcdef0123456789abcdef01234567",
				ClientId = "0123456789abcdef0123456789abcdef01234567"
			});

			var views = await cherwellClient
				.Core
				.GetViewsAsync()
				;
		}
	}
}

API Documentation

The Cherwell API documentation can be found here:

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net11.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.110 0 11/11/2026
1.0.109 67 11/10/2026
1.0.84 194 9/14/2026
1.0.79 450 9/12/2026
1.0.74 130 9/3/2026
1.0.73 131 9/3/2026
1.0.72 151 9/3/2026
1.0.66 146 8/28/2026
1.0.63 339 7/23/2026
1.0.57 439 6/6/2026
1.0.56 515 4/16/2026
1.0.53 577 3/28/2026
1.0.51 1,411 12/18/2025
1.0.48 2,306 1/15/2025
1.0.47 615 1/7/2025
1.0.46 817 11/13/2024
1.0.45 1,049 7/22/2024
1.0.44 641 7/16/2024
1.0.42 629 7/16/2024
1.0.31 943 4/25/2024
Loading failed

Bug fix (issue #1): the OAuth2 token request now sends the "auth_mode" query parameter and the
     "client_id" form field that Cherwell documents.

     Previously the client id was sent only as an HTTP Basic credential and auth_mode was not sent at
     all, so CherwellClientOptions.AuthenticationMode was validated but never applied - setting it to
     Windows or LDAP had no effect, and instances configured for those modes rejected the request.
     Against Cherwell 10.5 this presented as authentication that never succeeded.

     AuthenticationMode continues to default to "Internal", which is the mode Cherwell assumes when
     auth_mode is absent, so instances that authenticate successfully today are unaffected.

     Security fix: sensitive HTTP headers are now redacted in diagnostic output.

     Previously AuthenticatedHttpClientHandler joined every request and response header, key and
     value, into its Debug level log message. The handler assigns the Authorization header a bearer
     token nine lines earlier, so a usable access token was written verbatim. Any consumer running at
     Debug retained usable credentials for the life of its log store.

     Authorization, Proxy-Authorization, Cookie, Set-Cookie and common API key headers are now
     redacted, case-insensitively, on request and response, along with any vendor-prefixed variant
     whose name ends in "Authorization". The scheme and credential length are retained, so requests
     remain diagnosable. The log line format is otherwise unchanged.

     Consumers should upgrade and then review existing Debug logs for previously captured tokens.

     Also in this release: the Newtonsoft.Json dependency has been removed and replaced with
     System.Text.Json throughout, so the package no longer brings Newtonsoft.Json with it.

     Also removed internal error-level logging of token-refresh
     (GenerateAccessTokenAsync) failures - callers already catch and log this with context, so it was
     being logged twice.