You are here

protected function MoxtraService::getMeetingFilesListUrl in Opigno Moxtra 3.x

Same name and namespace in other branches
  1. 8 src/MoxtraService.php \Drupal\opigno_moxtra\MoxtraService::getMeetingFilesListUrl()

Returns URL to get a meeting files list.

Parameters

int $owner_id: User ID.

string $binder_id: Binder ID of the Binder related to the Live Meeting.

Return value

string URL.

1 call to MoxtraService::getMeetingFilesListUrl()
MoxtraService::getMeetingFilesList in src/MoxtraService.php
Returns meeting files list.

File

src/MoxtraService.php, line 261

Class

MoxtraService
Implements Moxtra REST API.

Namespace

Drupal\opigno_moxtra

Code

protected function getMeetingFilesListUrl($owner_id, $binder_id) {
  $token = $this->moxtraConnector
    ->getToken($owner_id);
  return $this->moxtraConnector
    ->getUrl() . "/v1/{$binder_id}/files?access_token={$token}";
}