Skip to content
Reviactyl v26 has been released!
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Schedule

Returns all the schedules belonging to a given server

get
Path parameters
serverintegerRequired

The server ID

Responses
200Success
application/json
itemsanyOptional
get/servers/{server}/schedules
GET /api/client/servers/{server}/schedules HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Store a new schedule for a server

post
Path parameters
serverintegerRequired

The server ID

Body
namestring · max: 191Required
is_activebooleanOptional
minutestringRequired
hourstringRequired
day_of_monthstringRequired
day_of_weekstringRequired
monthstringOptional
Responses
200Success
application/json
itemsanyOptional
post/servers/{server}/schedules
POST /api/client/servers/{server}/schedules HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "name": "text",
  "is_active": true,
  "minute": "text",
  "hour": "text",
  "day_of_month": "text",
  "day_of_week": "text",
  "month": "text"
}
[]

Returns a specific schedule for the server

get
Path parameters
serverintegerRequired

The server ID

scheduleintegerRequired

The schedule ID

Responses
200Success
application/json
itemsanyOptional
get/servers/{server}/schedules/{schedule}
GET /api/client/servers/{server}/schedules/{schedule} HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Updates a given schedule with the new data provided

post
Path parameters
serverintegerRequired

The server ID

scheduleintegerRequired

The schedule ID

Body
namestring · max: 191Required
is_activebooleanOptional
minutestringRequired
hourstringRequired
day_of_monthstringRequired
day_of_weekstringRequired
monthstringOptional
Responses
200Success
application/json
itemsanyOptional
post/servers/{server}/schedules/{schedule}
POST /api/client/servers/{server}/schedules/{schedule} HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "name": "text",
  "is_active": true,
  "minute": "text",
  "hour": "text",
  "day_of_month": "text",
  "day_of_week": "text",
  "month": "text"
}
[]

Deletes a schedule and it's associated tasks

delete
Path parameters
serverintegerRequired

The server ID

scheduleintegerRequired

The schedule ID

Responses
204

No content

application/json
string[]Optional
delete/servers/{server}/schedules/{schedule}
DELETE /api/client/servers/{server}/schedules/{schedule} HTTP/1.1
Host: reviactyl.test
Accept: */*
[
  "text"
]

Executes a given schedule immediately rather than waiting on it's normally scheduled time to pass. This does not care about the schedule state

post
Path parameters
serverintegerRequired

The server ID

scheduleintegerRequired

The schedule ID

Responses
202Success
application/json
skippedbooleanRequired
post/servers/{server}/schedules/{schedule}/execute
POST /api/client/servers/{server}/schedules/{schedule}/execute HTTP/1.1
Host: reviactyl.test
Accept: */*
{
  "skipped": true
}

Last updated

Was this helpful?