using System.Threading.Tasks; using DiscordBotCore.API.Endpoints; namespace DiscordBotCore.Interfaces.API; public enum EndpointType { Get, Post, Put, Delete } public interface IEndpoint { public string Path { get; } public EndpointType HttpMethod { get; } public Task HandleRequest(string? jsonRequest); }