CasCap.Api.SignalCli.AspNetCore
0.12.0
Prefix Reserved
dotnet add package CasCap.Api.SignalCli.AspNetCore --version 0.12.0
NuGet\Install-Package CasCap.Api.SignalCli.AspNetCore -Version 0.12.0
<PackageReference Include="CasCap.Api.SignalCli.AspNetCore" Version="0.12.0" />
<PackageVersion Include="CasCap.Api.SignalCli.AspNetCore" Version="0.12.0" />
<PackageReference Include="CasCap.Api.SignalCli.AspNetCore" />
paket add CasCap.Api.SignalCli.AspNetCore --version 0.12.0
#r "nuget: CasCap.Api.SignalCli.AspNetCore, 0.12.0"
#:package CasCap.Api.SignalCli.AspNetCore@0.12.0
#addin nuget:?package=CasCap.Api.SignalCli.AspNetCore&version=0.12.0
#tool nuget:?package=CasCap.Api.SignalCli.AspNetCore&version=0.12.0
CasCap.Api.SignalCli.AspNetCore
Authenticated, read-only Signal query endpoints for .NET 10/11 ASP.NET Core applications. The package
exposes SignalCliController over CasCap.Api.SignalCli
without adding MVC dependencies to worker applications.
Installation
dotnet package add CasCap.Api.SignalCli.AspNetCore
Controller
SignalCliController is a thin pass-through over
ISignalCliClient.
Every action flows the request abort token into the underlying call, and maps a null result to
404 Not Found rather than 200 OK with a null body.
| Method | Route | Description |
|---|---|---|
GetAbout |
GET /api/v1/signalcli/about |
Returns signal-cli version and build info |
GetConfiguration |
GET /api/v1/signalcli/configuration |
Retrieves the signal-cli configuration |
ListAccounts |
GET /api/v1/signalcli/accounts |
Lists all registered accounts |
ListContacts |
GET /api/v1/signalcli/contacts?number= |
Lists contacts for an account |
ListGroups |
GET /api/v1/signalcli/groups?number= |
Lists groups for an account |
ListLinkedDevices |
GET /api/v1/signalcli/devices?number= |
Lists linked devices for an account |
ListIdentities |
GET /api/v1/signalcli/identities?number= |
Lists known identities for an account |
ListAttachments |
GET /api/v1/signalcli/attachments |
Lists all stored attachment identifiers |
ListStickerPacks |
GET /api/v1/signalcli/sticker-packs?number= |
Lists installed sticker packs for an account |
The controller carries [Authorize]. Configure an authentication scheme in the host; the endpoints expose account metadata, contacts and group membership and must not be left anonymous.
Registration
In an ASP.NET Core host with its authentication scheme and authorization services already configured, register the controller assembly, MVC API versioning and the Signal client:
using Asp.Versioning;
using CasCap.Controllers;
using CasCap.Extensions;
builder.Services.AddSignalCli(builder.Configuration);
builder.Services.AddControllers()
.AddApplicationPart(typeof(SignalCliController).Assembly);
builder.Services.AddApiVersioning(options =>
{
options.DefaultApiVersion = new ApiVersion(1.0);
options.AssumeDefaultVersionWhenUnspecified = true;
}).AddMvc();
var app = builder.Build();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
await app.RunAsync();
builder is the host's WebApplicationBuilder. AddSignalCli supplies ISignalCliClient, the
controller's only constructor dependency. It requires the same account and endpoint settings as the
core package configuration.
The controller does not select an authentication scheme for you. Do not remove [Authorize] to work
around missing host authentication.
License
Released under the MIT License.
| Product | Versions 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. net11.0 is compatible. |
-
net10.0
- Asp.Versioning.Mvc (>= 10.2.1)
- CasCap.Api.SignalCli (>= 0.12.0)
-
net11.0
- Asp.Versioning.Mvc (>= 10.2.1)
- CasCap.Api.SignalCli (>= 0.12.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 |
|---|---|---|
| 0.12.0 | 88 | 11/14/2026 |
| 0.11.12 | 97 | 11/5/2026 |
| 0.11.11 | 107 | 11/1/2026 |
| 0.11.10 | 111 | 10/24/2026 |
| 0.11.9 | 106 | 10/21/2026 |
| 0.11.8 | 120 | 10/4/2026 |
| 0.11.7 | 112 | 9/29/2026 |
| 0.11.6 | 110 | 9/26/2026 |
| 0.11.5 | 128 | 9/25/2026 |
| 0.11.4 | 98 | 9/24/2026 |
| 0.11.3 | 102 | 9/24/2026 |
| 0.11.2 | 104 | 9/23/2026 |
| 0.11.1 | 115 | 9/21/2026 |
| 0.11.0 | 114 | 9/19/2026 |
| 0.10.32 | 120 | 9/13/2026 |
| 0.10.31 | 107 | 9/11/2026 |