You are here

protected function MoxtraService::getMeetingFileInfoUrl in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/MoxtraService.php \Drupal\opigno_moxtra\MoxtraService::getMeetingFileInfoUrl()

Returns URL to get a meeting file info.

Parameters

int $owner_id: User ID.

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

string $file_id: File ID.

Return value

string URL.

1 call to MoxtraService::getMeetingFileInfoUrl()
MoxtraService::getMeetingFileInfo in src/MoxtraService.php
Returns meeting file info.

File

src/MoxtraService.php, line 279

Class

MoxtraService
Implements Moxtra REST API.

Namespace

Drupal\opigno_moxtra

Code

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