Kubis1982.Atlassian.Confluense.RestClient.v2 1.8458.1

dotnet add package Kubis1982.Atlassian.Confluense.RestClient.v2 --version 1.8458.1
                    
NuGet\Install-Package Kubis1982.Atlassian.Confluense.RestClient.v2 -Version 1.8458.1
                    
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="Kubis1982.Atlassian.Confluense.RestClient.v2" Version="1.8458.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kubis1982.Atlassian.Confluense.RestClient.v2" Version="1.8458.1" />
                    
Directory.Packages.props
<PackageReference Include="Kubis1982.Atlassian.Confluense.RestClient.v2" />
                    
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 Kubis1982.Atlassian.Confluense.RestClient.v2 --version 1.8458.1
                    
#r "nuget: Kubis1982.Atlassian.Confluense.RestClient.v2, 1.8458.1"
                    
#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 Kubis1982.Atlassian.Confluense.RestClient.v2@1.8458.1
                    
#: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=Kubis1982.Atlassian.Confluense.RestClient.v2&version=1.8458.1
                    
Install as a Cake Addin
#tool nuget:?package=Kubis1982.Atlassian.Confluense.RestClient.v2&version=1.8458.1
                    
Install as a Cake Tool

Atlassian Confluence REST Client

Strongly-typed REST client for Atlassian Confluence Cloud API v2, automatically generated using Microsoft Kiota from the official OpenAPI specification.

Package Information

  • Package ID: Kubis1982.Atlassian.Confluense.RestClient.v2
  • NuGet: NuGet
  • Current Version: 1.8453.0

Features

  • ✅ Fully typed C# client for Confluence Cloud API v2
  • ✅ Generated from official OpenAPI specification
  • ✅ Built with Microsoft Kiota code generation tool
  • ✅ Support for .NET 10.0+

Installation

Via NuGet Package Manager

dotnet add package Kubis1982.Atlassian.Confluense.RestClient.v2

Via Package Manager Console

Install-Package Kubis1982.Atlassian.Confluense.RestClient.v2

Usage

Creating a Client Instance

To use the Confluence REST client, you need to create an instance with proper authentication:

using Kubis1982.Atlassian.Confluense.RestClient;
using Kubis1982.Atlassian.RestClient;

// Configuration
var domain = "your-company"; // without .atlassian.net
var email = "your-email@company.com";
var apiToken = "your-api-token"; // Generate from https://id.atlassian.com/manage-profile/security/api-tokens

// Create authentication provider
var basicAuthProvider = new BasicAuthProvider(email, apiToken);

// Initialize client
var confluenceClient = ConfluenseRestClient.Create(basicAuthProvider);

Note: The BasicAuthProvider is provided by the Kubis1982.Atlassian.RestClient package and is automatically included as a dependency.

Example Operations

// Get pages with limit
var pages = await confluenceClient.Pages.GetAsPagesGetResponseAsync(config =>
{
    config.QueryParameters.Limit = 10;
});

Console.WriteLine($"Found {pages?.Results?.Count} pages");

foreach (var page in pages?.Results ?? [])
{
    Console.WriteLine($"- {page.Title} (ID: {page.Id})");
}

// Get specific page by ID
var page = await confluenceClient.Pages["123456"].GetAsync();
Console.WriteLine($"Page: {page?.Title}");

// Search pages by title
var searchResults = await confluenceClient.Pages.GetAsPagesGetResponseAsync(config =>
{
    config.QueryParameters.Title = "Meeting Notes";
    config.QueryParameters.Limit = 5;
});

// Get spaces
var spaces = await confluenceClient.Spaces.GetAsSpacesGetResponseAsync(config =>
{
    config.QueryParameters.Limit = 10;
});

foreach (var space in spaces?.Results ?? [])
{
    Console.WriteLine($"Space: {space.Name} (Key: {space.Key})");
}

OpenAPI Specification

This client is generated from the official Confluence Cloud OpenAPI specification:

📄 Specification URL:

https://dac-static.atlassian.com/cloud/confluence/openapi-v2.v3.json?_v=1.8458.0

Repository

For more information, visit the Atlassian REST Client repository.

License

MIT - See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.8458.1 135 4/19/2026
1.8458.0 126 4/15/2026