class

Pterodactyl::ApplicationSdk

Inherits Reference < Object

Constructors

new(host : String, application_token : String)
Source

Instance methods

create_allocation(node_id : Int64 | Int32 | String, ip : String, ports : Array(String) | Array(Int64) | Array(Int32))
Source
create_server(create_server_request : CreateServerRequest)
Source
create_user(email : String, username : String, first_name : String, last_name : String, password : String)
Source
delete_allocation(node_id : Int64 | Int32 | String, allocation_id : Int64 | Int32 | String)
Source
delete_server(id : Int64 | Int32 | String, force : Bool = false)
Source
get_allocations(node_id : Int64 | Int32 | String, page : Int64 = 1)
Source
get_egg(egg_id : Int64 | Int32 | String, nest_id : Int32 | Int64 | String, relationships : Array(String) = [] of String)
Source
get_eggs(id : Int64 | Int32 | String)
Source
get_location(id : Int32 | Int64 | String) : Models::Location
Source
get_nest(id : Int32 | Int64 | String, relationships : Array(String) = [] of String)
Source
get_node(node_id : Int64 | Int32 | String)
Source
get_nodes(params : Array(NodeParam) = [] of NodeParam)
Source
get_server(id : Int32 | Int64 | String) : Models::ApplicationServer
Source
list_locations
Source
list_nests
Source
list_servers
Source
reinstall_server(id : Int64 | Int32 | String)
Source
suspend_server(id : Int64 | Int32 | String)
Source
unsuspend_server(id : Int64 | Int32 | String)
Source
update_server_build(id : Int64 | Int32 | String, body : Body::UpdateServerBuild)
Source
update_server_details(id : Int32 | Int64 | String, name : String, user : Int32, external_id : String | Nil = nil, description : String | Nil = nil) : Models::ApplicationServer
Source
update_server_startup(id : String | Int32 | Int64, body : Body::UpdateServerStartup)
Source