Browse Source

Add model favorite api

pull/324/head
Ionite 1 year ago
parent
commit
52346ed3e8
No known key found for this signature in database
  1. 7
      StabilityMatrix.Core/Api/ICivitTRPCApi.cs

7
StabilityMatrix.Core/Api/ICivitTRPCApi.cs

@ -45,4 +45,11 @@ public interface ICivitTRPCApi
[Authorize] string bearerToken,
CancellationToken cancellationToken = default
);
[Post("/api/trpc/user.toggleFavoriteModel")]
Task<HttpResponseMessage> ToggleFavoriteModel(
[Body] CivitUserToggleFavoriteModelRequest request,
[Authorize] string bearerToken,
CancellationToken cancellationToken = default
);
}

Loading…
Cancel
Save