Skip to content

JSON RPC

Trais McAllister edited this page Mar 16, 2019 · 6 revisions

add_local_auth testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "add_local_auth",
  "params": {
    "username": "",
    "local_secret": ""
  }
}

Parameters

  • username
  • local_secret

add_makerbot_account testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "add_makerbot_account",
  "params": {
    "username": "",
    "makerbot_token": ""
  }
}

Parameters

  • username
  • makerbot_token

authenticate testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "authenticate",
  "params": {
    "access_token": ""
  }
}

Parameters

  • access_token

authorize testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "authorize",
  "params": {
    "username": "",
    "makerbot_token": null,
    "local_secret": null,
    "chamber_blink": false
  }
}

Parameters

  • username
  • makerbot_token
  • local_secret
  • chamber_blink

clear_authorize testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "clear_authorize",
  "params": null
}

Parameters

N/A

deauthorize testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "deauthorize",
  "params": null
}

Parameters

N/A

get_authorized testing

Gets connected authorized accounts.

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_authorize",
  "params": null
}

Parameters

N/A

reauthorize testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "reauthorize",
  "params": {
    "username": "",
    "makerbot_token": null,
    "local_secret": null,
    "local_code": null
  }
}

Parameters

  • username
  • makerbot_token
  • local_secret
  • local_code

wifi_fre_authorize testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_fre_authorize",
  "params": {
    "username": "",
    "makerbot_token": null,
    "local_secret": null
  }
}

Parameters

  • username
  • makerbot_token
  • local_secret

get_static_ipv4 testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_static_ipv4",
  "params": {
    "service_path": ""
  }
}

Parameters

  • service_path

set_static_ipv4 testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "set_static_ipv4",
  "params": {
    "service_path": "",
    "ip": null,
    "netmask": null,
    "gateway": null,
    "dns": null,
    "use_static": false
  }
}

Parameters

  • service_path
  • ip
  • netmask
  • gateway
  • dns
  • use_static

wifi_connect testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_connect",
  "params": {
    "path": "",
    "password": null,
    "name": null
  }
}

Parameters

  • path
  • password
  • name

wifi_disable testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_disable",
  "params": null
}

Parameters

N/A

wifi_disconnect testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_disconnect",
  "params": {
    "path": null
  }
}

Parameters

  • path

wifi_enable testing

Enables onboard wireless communication hardware

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_enable",
  "params": null
}

Parameters

N/A

wifi_forget testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_forget",
  "params": {
    "path": null
  }
}

Parameters

  • path

wifi_reset testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_reset",
  "params": null
}

Parameters

N/A

wifi_scan testing

Scans for WiFi signals using the machines onboard wireless hardware

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_scan",
  "params": {
    "force_rescan": false
  }
}

Parameters

  • force_rescan

acknowledged testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "acknowledged",
  "params": {
    "error_id": -1
  }
}

Parameters

  • error_id

assisted_level testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "assisted_level",
  "params": null
}

Parameters

N/A

bot_maintained testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "bot_maintained",
  "params": null
}

Parameters

N/A

bronx_upload testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "bronx_upload",
  "params": {
    "filepath": "",
    "toolhead": -1
  }
}

Parameters

  • filepath
  • toolhead

brooklyn_upload testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "brooklyn_upload",
  "params": {
    "filepath": "",
    "transfer_wait": false
  }
}

Parameters

  • filepath
  • transfer_wait

calibrate_z_offset testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "calibrate_z_offset",
  "params": null
}

Parameters

N/A

cancel testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "cancel",
  "params": {
    "force": false
  }
}

Parameters

  • force

clear_all_z_pause testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "clear_all_z_pause",
  "params": null
}

Parameters

N/A

clear_queue testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "clear_queue",
  "params": null
}

Parameters

N/A

clear_ssh_id testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "clear_ssh_id",
  "params": {
    "filepath": ""
  }
}

Parameters

  • filepath

clear_z_pause_mm testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "clear_z_pause_mm",
  "params": {
    "z_pause_mm": -1
  }
}

Parameters

  • z_pause_mm

close_queue testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "close_queue",
  "params": null
}

Parameters

N/A

cool testing

Requests the machine begin the Cool Machine Process.

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "cool",
  "params": {
    "ignore_tool_errors": false
  }
}

Parameters

  • ignore_tool_errors

copy_ssh_id testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "copy_ssh_id",
  "params": {
    "filepath": ""
  }
}

Parameters

  • filepath

disable_check_build_plate testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "disable_check_build_plate",
  "params": null
}

Parameters

N/A

disable_leds testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "disable_leds",
  "params": {
    "disable_knob": false,
    "disable_chamber": false
  }
}

Parameters

  • disable_knob
  • disable_chamber

disable_z_pause testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "disable_z_pause",
  "params": null
}

Parameters

N/A

download_and_install_firmware testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "download_and_install_firmware",
  "params": null
}

Parameters

N/A

drm_print testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "drm_print",
  "params": {
    "layout_id": -1
  }
}

Parameters

  • layout_id

dump_machine_config testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "dump_machine_config",
  "params": {
    "path": ""
  }
}

Parameters

  • path

enable_check_build_plate testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "enable_check_build_plate",
  "params": null
}

Parameters

N/A

enable_leds testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "enable_leds",
  "params": {
    "enable_knob": false,
    "enable_chamber": false
  }
}

Parameters

  • enable_knob
  • enable_chamber

enable_z_pause testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "enable_z_pause",
  "params": null
}

Parameters

N/A

execute_queue testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "execute_queue",
  "params": null
}

Parameters

N/A

external_print testing

prints from an external .makerbot file

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "external_print",
  "params": {
    "url": "",
    "ensure_build_plate_clear": true
  }
}

Parameters

  • url: Address of .makerbot file
  • ensure_build_plate_clear: Override 'check build plate clear' prompt.

firmware_cleanup testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "firmware_cleanup",
  "params": null
}

Parameters

N/A

get_available_z_offset_adjustment testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_available_z_offset_adjustment",
  "params": null
}

Parameters

N/A

get_machine_config testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_machine_config",
  "params": null
}

Parameters

N/A

get_persistent_statistics testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_persistent_statistics",
  "params": null
}

Parameters

N/A

get_print_history testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_print_history",
  "params": null
}

Parameters

N/A

get_queue_status testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_queue_status",
  "params": null
}

Parameters

N/A

get_sound_state testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_sound_state",
  "params": null
}

Parameters

N/A

get_statistics testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_statistics",
  "params": null
}

Parameters

N/A

get_tool_usage_stats testing

Gets lifetime statistics for the currently installed tool assembly.

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_tool_usage_stats",
  "params": null
}

Parameters

N/A

get_z_adjusted_offset testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_z_adjusted_offset",
  "params": null
}

Parameters

N/A

has_z_calibration_routine testing

Queries the machine for calibration routine availability

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "has_z_calibration_routine",
  "params": null
}

Parameters

N/A

home testing

Requests the Home Machine Process execute

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "home",
  "params": {
    "axes": {},
    "preheat": true
  }
}

Parameters

  • axes
  • preheat

is_endstop_triggered testing

Queries the machine for endstop status

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "is_endstop_triggered",
  "params": null
}

Parameters

N/A

library_print testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "library_print",
  "params": {
    "layout_id": -1
  }
}

Parameters

  • layout_id

load_filament testing

Requests the Load Filament Machine Process be executed

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "load_filament",
  "params": {
    "tool_index": -1,
    "temperature_settings": {}
  }
}

Parameters

  • tool_index
  • temperature_settings

load_print_tool testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "load_print_tool",
  "params": {
    "index": -1
  }
}

Parameters

  • index

machine_action_command testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "machine_action_command",
  "params": {
    "machine_func": "",
    "params": {},
    "name": null,
    "ignore_tool_errors": false
  }
}

Parameters

  • machine_func
  • params
  • name
  • ignore_tool_errors

machine_query_command testing

Executes a queryable method on the machine.

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "machine_query_command",
  "params": {
    "machine_func": "",
    "params": {},
    "ignore_tool_errors": false
  }
}

Parameters

  • machine_func
  • params
  • ignore_tool_errors

Available Commands

  • {machine_func: "toolhead_ok", params: {index: 0}}
  • {machine_func: "get_tool_uid", params: {index: 0}}
  • {machine_func: "get_tool_id", params: {index: 0}}
  • {machine_func: "get_tool_usage_stats", params: {index: 0, timeout_s: 60}
  • {machine_func: "get_cached_tool_usage_stats", params: {index: 0}}
  • {machine_func: "is_tool_connected", params: {index: 0}}
  • {machine_func: "endstop_triggered", params: {axis: "x"}}
  • {machine_func: "any_heater_above_temp", params: {temperature_c: 215}}
  • {machine_func: "is_initialized", params: {}}
  • {machine_func: "get_temperature", params: {index: 0}}
  • {machine_func: "get_temperature_settings", params: {}}
  • {machine_func: "get_move_buffer_position", params: {}}
  • {machine_func: "get_axes_position", params: {}}
  • {machine_func: "get_filament_presence", params: {index: 0}}
  • {machine_func: "get_toolhead_firmware_version", params: {index: 0}}
  • {machine_func: "get_extrusion_distance_percent", params: {}}
  • {machine_func: "get_heater_progress_percent", params: {}}
  • {machine_func: "get_power_value", params: {rail: ?, value: ?}}
  • {machine_func: "get_current_command_index", params: {}}
  • {machine_func: "sync_state_confirmed", params: {index: 0}}
  • {machine_func: "get_sync_state", params: {index: 0}}

machine_query_process testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "machine_query_process",
  "params": {
    "machine_func": "",
    "params": {},
    "name": "",
    "ignore_tool_errors": false
  }
}

Parameters

  • machine_func
  • params
  • name
  • ignore_tool_errors

manual_level testing

Requests the Manual Level Machine Process execute

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "manual_level",
  "params": null
}

Parameters

N/A

open_queue testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "open_queue",
  "params": {
    "clear": false
  }
}

Parameters

  • clear

park testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "park",
  "params": null
}

Parameters

N/A

preheat testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "preheat",
  "params": {
    "temperature_settings": {}
  }
}

Parameters

  • temperature_settings

print testing

Requests the Print Machine Process execute

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "print",
  "params": {
    "filepath": "",
    "ensure_build_plate_clear": true,
    "transfer_wait": true
  }
}

Parameters

  • filepath
  • ensure_build_plate_clear
  • transfer_wait

print_again testing

Requests the Print Again Machine Process execute

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "print_again",
  "params": null
}

Parameters

N/A

process_method testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "process_method",
  "params": {
    "method": "",
    "params": {}
  }
}

Parameters

  • method
  • params

reset_to_factory testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "reset_to_factory",
  "params": {
    "clear_calibration": false
  }
}

Parameters

  • clear_calibration

run_diagnostics testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "run_diagnostics",
  "params": {
    "tests": {}
  }
}

Parameters

  • tests

set_auto_unload testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "set_auto_unload",
  "params": {
    "unload_case": ""
  }
}

Parameters

  • unload_case

set_toolhead_error_visibility testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "set_toolhead_error_visibility",
  "params": {
    "error": "",
    "ignored": false
  }
}

Parameters

  • error
  • ignored

set_z_adjusted_offset testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "set_z_adjusted_offset",
  "params": {
    "offset": 0.0
  }
}

Parameters

  • offset

set_z_pause_mm testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "set_z_pause_mm",
  "params": {
    "z_pause_mm": -1
  }
}

Parameters

  • z_pause_mm

setup_printer testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "setup_printer",
  "params": {
    "jump_to_wifi_setup": false
  }
}

Parameters

  • jump_to_wifi_setup

toggle_sound testing

Toggles the sound state of the machine

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "toggle_sound",
  "params": {
    "state": false
  }
}

Parameters

  • state

unload_filament testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "unload_filament",
  "params": {
    "tool_index": -1,
    "temperature_settings": {}
  }
}

Parameters

  • tool_index
  • temperature_settings

wifi_setup testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_setup",
  "params": null
}

Parameters

N/A

wifi_signal_strength testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "wifi_signal_strength",
  "params": {
     "ssid": "",
     "iface": ""
  }
}

Parameters

  • ssid
  • iface

yonkers_upload testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "yonkers_upload",
  "params": {
    "filepath": "",
    "uid": "",
    "index": -1,
    "force": false,
    "id": -1
  }
}

Parameters

  • filepath
  • uid
  • index
  • force
  • id

zip_logs testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "zip_logs",
  "params": {
    "zip_path": ""
  }
}

Parameters

  • zip_path

birdwing_list testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "birdwing_list",
  "params": {
    "path": ""
  }
}

Parameters

  • path

capture_image testing

Requests the machine capture an image with the onboard camera and save a JPG to the specified path.

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "capture_image",
  "params": {
    "output_file": ""
  }
}

Parameters

  • output_file: Storage location on the machine. Recommended path '/home/camera/' as it is accessible from the machine's settings.

change_machine_name testing

Changes the display name of the machine

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "change_machine_name",
  "params": {
    "machine_name": ""
  }
}

Parameters

  • machine_name: New display name for the machine

desync_account testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "desync_account",
  "params": null
}

Parameters

N/A

end_camera_stream testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "end_camera_stream",
  "params": null
}

Parameters

N/A

expire_thingiverse_credentials testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "expire_thingiverse_credentials",
  "params": null
}

Parameters

N/A

first_contact testing

Easter Egg

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "first_contact",
  "params": null
}

Parameters

N/A

get_cloud_services_info testing

Gets flags and stats for cloud serivce integration.

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_cloud_services_info",
  "params": null
}

Parameters

N/A

Sample Response

{
  "jsonrpc": "2.0",
  "result": {
    "num_authorized": 2,
    "lcd_username": null,
    "reflector_enabled": true,
    "analytics_enabled": true
  },
  "id": "4"
}

get_config testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_config",
  "params": null
}

Parameters

N/A

get_system_information testing

Requests current system information.

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_system_information",
  "params": null
}

Parameters

N/A

handshake testing

Requests basic introductory information

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "handshake",
  "params": {
    "username": null,
    "host_version": null
  }
}

Parameters

  • username
  • host_version

network_state testing

Requests network status information

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "network_state",
  "params": null
}

Parameters

N/A

ping testing

Performs basic network ping on JSON-RPC service

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "ping",
  "params": null
}

Parameters

N/A

register_client_name testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "register_client_name",
  "params": {
    "name": ""
  }
}

Parameters

  • name

request_camera_frame testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "request_camera_frame",
  "params": null
}

Parameters

N/A

request_camera_stream testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "request_camera_stream",
  "params": null
}

Parameters

N/A

set_analytics_enabled testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "set_analytics_enabled",
  "params": {
    "enabled": false
  }
}

Parameters

  • enabled

set_reflector_enabled testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "set_reflector_enabled",
  "params": {
    "enabled": false
  }
}

Parameters

  • enabled

set_thingiverse_credentials testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "set_thingiverse_credentials",
  "params": {
    "thingiverse_username": "",
    "thingiverse_token": ""
  }
}

Parameters

  • thingiverse_username
  • thingiverse_token

sync_account_to_bot testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "sync_account_to_bot",
  "params": null
}

Parameters

N/A

update_available_firmware testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "update_available_firmware",
  "params": null
}

Parameters

N/A

get_init testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_init",
  "params": {
    "file_path": "",
    "file_id": ""
  }
}

Parameters

  • file_path
  • file_id

put_init testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "put_init",
  "params": {
    "file_path": "",
    "file_id": ""
  }
}

Parameters

  • file_path
  • file_id

put_term testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "put_term",
  "params": {
    "file_id": "",
    "length": -1,
    "crc": 0
  }
}

Parameters

  • file_id
  • length
  • crc

get_unique_identifiers testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_unique_identifiers",
  "params": null
}

Parameters

N/A

get_spool_info testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_spool_info",
  "params": {
    "bay_index": -1
  }
}

Parameters

  • bay_index

get_tracked_stats testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "get_tracked_stats",
  "params": null
}

Parameters

N/A

put_raw testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "put_raw",
  "params": {
    "file_id": "",
    "block": "",
    "block_size": -1
  }
}

Parameters

  • file_id
  • block
  • block_size

reflector_auth testing

(Enter Description Here)

JSON

{
  "jsonrpc": "2.0",
  "id": -1,
  "method": "reflector_auth",
  "params": {
    "auth_info": {}
  }
}

Parameters

  • auth_info

Clone this wiki locally