Endpoints relating to scripts
GET /scripts/:script_id
Params:
| Key | Description |
| script_id | The scripts id |
Response:
GET /scripts/:script_id/executions
Params:
| Key | Description |
| script_id | The scripts id |
Response:
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:
POST /scripts/:script_id/remove
Params:
| Key | Description |
| script_id | The scripts id |
Response:
POST /scripts/:script_id/update
Params:
| Key | Description |
| script_id | The scripts id |
Payload:
| Key | Type | Required |
| script | String | True |
Response:
POST /scripts/:script_id/toggle
Params:
| Key | Description |
| script_id | The scripts id |
Payload:
| Key | Type | Required |
| state | Boolean | True |
Response:
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:
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: