Overview
Error Handling

Methods

API Documentation (API Version bleed)

Server/Power/

DESCRIPTION

This section of the API handles server power related functions.

check

URL:

https://api.liquidweb.com/bleed/Server/Power/check

Description:

Return the current power status of the requested server.

Parameters:

ParameterTypeNotes
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldTypeNotes
errorA string permitting tabs, carriage returns and newlines* Optional
powerStatusA single word, consisting of only letters and digits.
resourceA six-character identifier, containing only capital letters and digits.
statusA single word, consisting of only letters and digits.
taskA positive integer value (i.e. 1 and up).* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

reboot

URL:

https://api.liquidweb.com/bleed/Server/Power/reboot

Description:

Reboot the requested server.

Parameters:

ParameterTypeNotes
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldTypeNotes
errorA string permitting tabs, carriage returns and newlines* Optional
powerStatusA single word, consisting of only letters and digits.
resourceA six-character identifier, containing only capital letters and digits.
statusA single word, consisting of only letters and digits.
taskA positive integer value (i.e. 1 and up).* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

reset

URL:

https://api.liquidweb.com/bleed/Server/Power/reset

Description:

Reset the requested server.

Parameters:

ParameterTypeNotes
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldTypeNotes
errorA string permitting tabs, carriage returns and newlines* Optional
powerStatusA single word, consisting of only letters and digits.
resourceA six-character identifier, containing only capital letters and digits.
statusA single word, consisting of only letters and digits.
taskA positive integer value (i.e. 1 and up).* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

shutdown

URL:

https://api.liquidweb.com/bleed/Server/Power/shutdown

Description:

Shutdown the requested server.

Parameters:

ParameterTypeNotes
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldTypeNotes
errorA string permitting tabs, carriage returns and newlines* Optional
powerStatusA single word, consisting of only letters and digits.
resourceA six-character identifier, containing only capital letters and digits.
statusA single word, consisting of only letters and digits.
taskA positive integer value (i.e. 1 and up).* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

start

URL:

https://api.liquidweb.com/bleed/Server/Power/start

Description:

Start the requested server.

Parameters:

ParameterTypeNotes
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldTypeNotes
errorA string permitting tabs, carriage returns and newlines* Optional
powerStatusA single word, consisting of only letters and digits.
resourceA six-character identifier, containing only capital letters and digits.
statusA single word, consisting of only letters and digits.
taskA positive integer value (i.e. 1 and up).* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

status

URL:

https://api.liquidweb.com/bleed/Server/Power/status

Description:

Return the cached power status of the requested server.

Parameters:

ParameterTypeNotes
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldTypeNotes
errorA string permitting tabs, carriage returns and newlines* Optional
powerStatusA single word, consisting of only letters and digits.
resourceA six-character identifier, containing only capital letters and digits.
statusA single word, consisting of only letters and digits.
taskA positive integer value (i.e. 1 and up).* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

stop

URL:

https://api.liquidweb.com/bleed/Server/Power/stop

Description:

Stop the requested server.

Parameters:

ParameterTypeNotes
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldTypeNotes
errorA string permitting tabs, carriage returns and newlines* Optional
powerStatusA single word, consisting of only letters and digits.
resourceA six-character identifier, containing only capital letters and digits.
statusA single word, consisting of only letters and digits.
taskA positive integer value (i.e. 1 and up).* Optional

Possible Errors:

Refer to the Error Handling documentation for the list of exception types