You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapfrom="Server/Cloud Password" />
  </query-continue>
  <query>
    <pages>
      <page pageid="2" ns="0" title="Server">
        <revisions>
          <rev xml:space="preserve">The Server module allows you to manipulate [[Servers]] and [[glossary#Virtual Machine|Virtual Machines]] on the [[glossary#SingleHop|SingleHop]] network. You may do things like list details, reboot, bailout, reinstall, etc...

Please be aware that certain functions are only for [[servers#Private Cloud|Private]] and [[servers#Public Cloud|Public]] cloud servers. Also many functions are not allowed to be run on the core cascade nodes themselves.

==All Servers==
===Commands===
*[[Server List]]: Lists all active servers in your Leap account.
*[[Server View]]: Lists details about a specific server.
*[[Server Network]]: Lists network details about a specific server.
*[[Server IP Justification]]: Lists the IP Justification status for all ip addresses assigned to the server.
*[[Server IP Justification Update]]: Updates Ip Justification information on justification items.
*[[Server IP Justification Request]]: Creates a new IP Justification Request for adding additional ip address to the server.
*[[Server Check Install]]: Check the install status of a server.
*[[Server Bandwidth]]: View bandwidth usage for a server.
*[[Server Cancel]]: Create a cancellation request
*[[Server View RDNS]]: View all current [[glossary#RDNS|RDNS]] records.
*[[Server Update RDNS]]: Update [[glossary#RDNS|RDNS]] records.
*[[Server Management]]: View the management details for a managed server.
*[[Server List Snapshots]]: List all operating systems that are available from [[glossary#SingleHop|SingleHop]].

==Dedicated Servers Only==
===Commands===
*[[Server/Cloud Reinstall|Server Reinstall]]: Reinstall the operating system.
*[[Server Bailout]]: Starts or stops the bailout recovery mode.
*[[Server/Cloud Reboot|Server Reboot]]: Reboots the server.
*[[Server Service]]: Used for viewing the available services that can be purchased from [[glossary#SingleHop|SingleHop]] for use with a server.
*[[Server Hardware]]: Used for viewing details about the hardware installed on the server.
*[[Server/Cloud Password|Server Password]]: Used for changing the root users password.
*[[Server Service]]: Used for viewing the available services that can be purchased from [[glossary#SingleHop|SingleHop]] for use with a server.
*[[Server IPMI]]: Used for viewing the IPMI service.

==Dynamic / Private Cloud (vmnode) Servers Only==
===Commands===
*[[Server Create VM]]: Create a new [[glossary#Virtual Machine|virtual machine]].
*[[Server Move VM]]: Move the [[glossary#Virtual Machine|virtual machine]] to a new [[servers#Dynamic Server|dynamic server]].
*[[Server Edit VM]]: Edit ram/storage/cpu/hostname and password for a existing [[glossary#Virtual Machine|virtual machine]].

===FAQ and Extended Documentation===
*[[vCPUs and CPU Allocation]]

==Cloud Instances/VMs Only==
===Commands===
*[[Cloud Delete VM]]: Delete a [[glossary#Virtual Machine|virtual machine]].
*[[Cloud Edit VM]]: Edits the information of a [[glossary#Virtual Machine|virtual machine]].
*[[Server/Cloud Bailout|Cloud Bailout]]: Starts or stops the bailout recovery mode.
*[[Server/Cloud Reinstall|Cloud Reinstall]]: Reinstall the operating system on a [[glossary#Virtual Machine|virtual machine]].
*[[Cloud Snapshot VM]]: Create a snapshot of a [[glossary#Virtual Machine|virtual machine]] that can be used to reinstall.
*[[Cloud Start VM]]: Starts the [[glossary#Virtual Machine|virtual machine]].
*[[Cloud Stop VM]]: Stops the [[glossary#Virtual Machine|virtual machine]].
*[[Server/Cloud Reboot|Cloud Reboot]]: Reboots the [[glossary#Virtual Machine|virtual machine]].
*[[Server/Cloud Password|Cloud Password]]: Used for changing the root users password.
*[[Cloud Stats]]: Returns performance statistics over a given time period.</rev>
        </revisions>
      </page>
      <page pageid="56" ns="0" title="Server/Cloud Bailout">
        <revisions>
          <rev xml:space="preserve">The [[Server|server]] bailout command will boot a [[servers#Dedicated Server|dedicated server]] or a [[glossary#Virtual Machine|virtual machine]] into bailout mode or bring it back into regular mode.
==Path==
*/server/bailout/{$action}/{$serverid}

==Method==
*[[glossary#POST|POST]]

==Availability==
*[[servers#Dedicated Server|Dedicated Server]]
*[[servers#Private Cloud|Private Cloud]]
*[[servers#Public Cloud|Public Cloud]]

==Required Data Parameters==
*{$serverid}: The server ID that is returned when using the [[Server List|list]] command.
*{$action}: The action to perform (either start or stop Bailout). Only required when starting Bailout.
*{$pin}: Account PIN number

==Optional Data Parameters==
*{$action}: Allows for the bailout mode to be started or stopped, start or stop can be used. If no value is passed, stop is assumed.

==Returned Data==
&lt;pre&gt;
stdClass Object(
  [success] =&gt; TRUE/FALSE
)
&lt;/pre&gt;</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>