mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 18:21:10 +00:00
Adds the scheduled jobs API endpoints
This commit is contained in:
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";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user