Overview
Error Handling

Methods

API Documentation (API Version bleed)

Account/StateData/

DESCRIPTION

This section of the public API provides methods pertaining to an account's StateData

add

URL:

https://api.liquidweb.com/bleed/Account/StateData/add

Description:

Add account StateData for a given key

Parameters:

ParameterTypeNotes
dataEither: a valid JSON structure; or an associative array of arbitrary keys and values.* Required
keyA single word, consisting of only letters, digits, and underscores.* Required

Returns:

FieldType
uuidA valid UUID (Universally Unique IDentifier).

Possible Errors:

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

details

URL:

https://api.liquidweb.com/bleed/Account/StateData/details

Description:

Details of account StateData for a given key, and UUID

Parameters:

ParameterTypeNotes
keyA single word, consisting of only letters, digits, and underscores.* Required
uuidA valid UUID (Universally Unique IDentifier).* Required

Returns:

FieldType
uuidA valid UUID (Universally Unique IDentifier).

Possible Errors:

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

listForKey

URL:

https://api.liquidweb.com/bleed/Account/StateData/listForKey

Description:

List account StateData for a given key, and optionally UUID.

Parameters:

ParameterTypeNotes
keyA single word, consisting of only letters, digits, and underscores.* Required
uuidA valid UUID (Universally Unique IDentifier).

Returns:

FieldType
dataAn array of an associative array of arbitrary keys and values.
keyA single word, consisting of only letters, digits, and underscores.

Possible Errors:

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

remove

URL:

https://api.liquidweb.com/bleed/Account/StateData/remove

Description:

Remove account StateData for a given key, and UUID (or array of UUIDs)

Parameters:

ParameterTypeNotes
keyA single word, consisting of only letters, digits, and underscores.* Required
uuidEither: a valid UUID (Universally Unique IDentifier).; or An array of a valid UUID (Universally Unique IDentifier).* Required

Returns:

FieldType
successA boolean value (0 or 1).

Possible Errors:

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

replace

URL:

https://api.liquidweb.com/bleed/Account/StateData/replace

Description:

Replace all account StateData for a given key

Parameters:

ParameterTypeNotes
dataA valid JSON structure* Required
keyA single word, consisting of only letters, digits, and underscores.* Required

Returns:

FieldType
dataAn array of an associative array of arbitrary keys and values.
keyA single word, consisting of only letters, digits, and underscores.

Possible Errors:

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

update

URL:

https://api.liquidweb.com/bleed/Account/StateData/update

Description:

Update account StateData 'data' for a given key.

'data' must include the existing `uuid` as part of its structure.

Parameters:

ParameterTypeNotes
dataEither: a valid JSON structure; or an associative array of arbitrary keys and values.* Required
keyA single word, consisting of only letters, digits, and underscores.* Required

Returns:

FieldType
uuidA valid UUID (Universally Unique IDentifier).

Possible Errors:

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