You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
483 B
17 lines
483 B
1 year ago
|
using Refit;
|
||
|
using StabilityMatrix.Core.Models.Api.CivitTRPC;
|
||
|
|
||
|
namespace StabilityMatrix.Core.Api;
|
||
|
|
||
|
[Headers("Referer: https://civitai.com")]
|
||
|
public interface ICivitTRPCApi
|
||
|
{
|
||
|
[Headers("Content-Type: application/x-www-form-urlencoded")]
|
||
|
[Get("/api/trpc/userProfile.get")]
|
||
|
Task<CivitUserProfileResponse> GetUserProfile(
|
||
|
[Query] CivitUserProfileRequest input,
|
||
|
[Authorize] string bearerToken,
|
||
|
CancellationToken cancellationToken = default
|
||
|
);
|
||
|
}
|