Upload

ClickMeeting API allows to upload files into your file library. Uploaded file will be available in ClickMeeting account panel at storage section and via API, using fileLibraryContent method.

1
2
3
4
5
6
try {
    $file = $client->addFileLibraryFile('/path/to/file.png');
} catch (Exception $e) {
     // handle exceptions here
}
$file_id = $file->id;
1
2
3
4
5
6
begin
    file = client.addFileLibraryFile('/path/to/file.png')
rescue ClickMeeting::ClientError => e
    # handle exceptions here
end
file_id = file['id']
1
2
3
4
5
6
try:
    file = client.addFileLibraryFile('/path/to/file.png')
except Exception, e:
    # handle exceptions here
file_id = file['id']

We can now receive upladed file details using fileLibraryFile, file ID number will be required.

You can find more detailed descriptions in the API Function Reference manual.