cterasdk.client.cteraclient module#

class cterasdk.client.cteraclient.CTERAClient(session_id_key)#

Bases: object

copy(baseurl, src, dest, overwrite)#
db(baseurl, path, name, param)#
delete(baseurl, path)#
download(baseurl, path, params)#
download_zip(baseurl, path, form_data)#
execute(baseurl, path, name, param=None)#
static file_descriptor(request, response)#
form_data(baseurl, path, form_data)#
static fromxmlstr(request, response)#
get(baseurl, path, params=None)#
get_multi(baseurl, path, paths)#
get_session_id()#
mkcol(baseurl, path)#
move(baseurl, src, dest, overwrite)#
multipart(baseurl, path, form_data)#
post(baseurl, path, data)#
put(baseurl, path, data)#
set_authorization_headers(headers)#
set_session_id(session_id)#
upload(baseurl, path, form_data)#
class cterasdk.client.cteraclient.MigrationClient(http_client=None, session_id_key=None)#

Bases: RESTClient

XSRF_TOKEN_ID = 'x-mt-x'#
login(baseurl, path)#
class cterasdk.client.cteraclient.RESTClient(http_client=None, session_id_key=None)#

Bases: object

delete(baseurl, path)#
static fromjsonstr(request, response)#
get(baseurl, path, params=None)#
post(baseurl, path, data)#
put(baseurl, path, data)#
cterasdk.client.cteraclient.execute_request(request_function, return_function)#

Execute an HTTP request

cterasdk.client.cteraclient.transcribe_request(request, response, transcribe_response=True)#

Transcribe the HTTP request