Soenneker.Sentry.HttpClients
11.0.174
Prefix Reserved
dotnet add package Soenneker.Sentry.HttpClients --version 11.0.174
NuGet\Install-Package Soenneker.Sentry.HttpClients -Version 11.0.174
<PackageReference Include="Soenneker.Sentry.HttpClients" Version="11.0.174" />
<PackageVersion Include="Soenneker.Sentry.HttpClients" Version="11.0.174" />
<PackageReference Include="Soenneker.Sentry.HttpClients" />
paket add Soenneker.Sentry.HttpClients --version 11.0.174
#r "nuget: Soenneker.Sentry.HttpClients, 11.0.174"
#:package Soenneker.Sentry.HttpClients@11.0.174
#addin nuget:?package=Soenneker.Sentry.HttpClients&version=11.0.174
#tool nuget:?package=Soenneker.Sentry.HttpClients&version=11.0.174
Soenneker.Sentry.HttpClients
Provides a cached HttpClient for Sentry organizations, projects, teams, issues, events, releases, alerts, integrations, and account resources.
Installation
dotnet add package Soenneker.Sentry.HttpClients
Configuration
{
"Sentry": {
"ApiKey": "your-sentry-auth-token"
}
}
Usage
using Soenneker.Sentry.HttpClients.Abstract;
using Soenneker.Sentry.HttpClients.Registrars;
services.AddSentryOpenApiHttpClientAsSingleton();
public sealed class SentryOrganizationReader
{
private readonly ISentryOpenApiHttpClient _sentry;
public SentryOrganizationReader(ISentryOpenApiHttpClient sentry)
{
_sentry = sentry;
}
public async Task<string> GetOrganizations(CancellationToken cancellationToken)
{
HttpClient client = await _sentry.Get(cancellationToken);
return await client.GetStringAsync("api/0/organizations/", cancellationToken);
}
}
The provider sends Authorization: Bearer <token> and targets https://sentry.io/. For self-hosted Sentry, set Sentry:ClientBaseUrl to the installation origin, without appending /api/0. Header name and value formatting can be overridden with Sentry:AuthHeaderName and Sentry:AuthHeaderValueTemplate.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.919)
- Soenneker.Utils.HttpClientCache (>= 11.0.2164)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Sentry.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Sentry.OpenApiClientUtil
Provides a lazily initialized, authenticated Sentry API client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.174 | 91 | 11/19/2026 |
| 11.0.172 | 87 | 11/18/2026 |
| 11.0.171 | 68 | 11/18/2026 |
| 11.0.170 | 75 | 11/18/2026 |
| 11.0.169 | 84 | 11/18/2026 |
| 11.0.168 | 125 | 11/15/2026 |
| 11.0.167 | 108 | 11/15/2026 |
| 11.0.165 | 165 | 11/11/2026 |
| 11.0.164 | 113 | 11/11/2026 |
| 11.0.163 | 102 | 11/11/2026 |
| 11.0.162 | 96 | 11/11/2026 |
| 11.0.161 | 171 | 11/3/2026 |
| 11.0.160 | 110 | 11/3/2026 |
| 11.0.159 | 103 | 11/3/2026 |
| 11.0.158 | 107 | 11/3/2026 |
| 11.0.157 | 102 | 11/3/2026 |
| 11.0.156 | 247 | 10/27/2026 |
| 11.0.155 | 131 | 10/27/2026 |
| 11.0.154 | 129 | 10/26/2026 |
| 11.0.153 | 124 | 10/26/2026 |
Updated Multiple NuGet packages