Upload a file
Upload a single file and get the corresponding URI.
# Pass the path to your wyzepalrc file here.
client = wyzepal.Client(config_file="~/wyzepalrc")
# Upload a file
with open(path_to_file, 'rb') as fp:
result = client.call_endpoint(
As described above, the file to upload must be provided in the
Maximum file size
The maximum file size for uploads can be configured by the
administrator of the WyzePal server by setting
in the server's settings.
uri: The URI of the uploaded file.
A typical successful JSON response may look like: