Adds the scheduled jobs API endpoints

This commit is contained in:
BinaryAlley committed 2026-09-03 12:49:37 -07:00
1 parent 58d7375d61
commit 29c7d536e0
15 files changed
+1130

No files matched your search

@@ -0,0 +1,18 @@
namespace Lumina.Presentation.Api.Common.Routes.Scheduling;
/// <summary>
/// Class for the collection of the scheduled job routes of the API.
/// </summary>
public static partial class ApiRoutes
{
public static class ScheduledJobs
{
public const string GET_SCHEDULED_JOBS = "/scheduled-jobs";
public const string ADD_SCHEDULED_JOB = "/scheduled-jobs";
public const string GET_SCHEDULED_JOB_HISTORY = "/scheduled-jobs/history";
public const string REMOVE_SCHEDULED_JOB = "/scheduled-jobs/{scheduledJobId}";
public const string START_SCHEDULED_JOB = "/scheduled-jobs/{scheduledJobId}/start";
public const string STOP_SCHEDULED_JOB = "/scheduled-jobs/{scheduledJobId}/stop";
public const string FIRE_SCHEDULED_JOB = "/scheduled-jobs/{scheduledJobId}/fire";
}
}