Script endpoints

Endpoints relating to scripts

Getting a script

GET /scripts/:script_id

Params:

Key Description
script_id The scripts id

Response:

Getting executions

GET /scripts/:script_id/executions

Params:

Key Description
script_id The scripts id

Response:

Editing a script

POST /scripts/:script_id/edit

Params:

Key Description
script_id The scripts id

Payload:

Key Type Required
name String False
free_for_all Boolean False
use_heartbeat Boolean False
kick_outdated Boolean False
require_sessions Boolean False
save_source Boolean False
silent Boolean False

Response:

Deleting a script

POST /scripts/:script_id/remove

Params:

Key Description
script_id The scripts id

Response:

Updating a script

POST /scripts/:script_id/update

Params:

Key Description
script_id The scripts id

Payload:

Key Type Required
script String True

Response:

Toggling a script

POST /scripts/:script_id/toggle

Params:

Key Description
script_id The scripts id

Payload:

Key Type Required
state Boolean True

Response:

Getting sessions

GET /scripts/:script_id/sessions

Params:

Key Description
script_id The scripts id

Queries:

Key Type Required Default
from Number False 0
limit Number False

Response:

Filtering sessions

GET /scripts/:script_id/sessions/filter

Params:

Key Description
script_id The scripts id

Queries:

Key Type Required Default
from Number False 0
limit Number False
key String False Null
roblox_id String False Null
place_id String False Null
job_id String False Null

Response: