NAME
Bb::Collaborate::Ultra::Context - Session/recording context
DESCRIPTION
A Context entity allows for grouping or classification of sessions and associated recordings.
METHODS
See https://xx-csa.bbcollab.com/documentation#Context.
associate_session
my $now = time();
my $session = Bb::Collaborate::Ultra::Session->post($connection, {
name => 'My Session',
startTime => $now,
endTime => $now + 1800,
},
);
my $context = Bb::Collaborate::Ultra::Context->find_or_create(
$connection, {
extId => 'demo-sessions',
name => 'Demo Sessions',
});
$context->associate_session($session);
# retrieve all sessions that have been associated with this context
my @sessions = Bb::Collaborate::Ultra::Session->get($connection, {contextId => $context->id, limit => 5}, )