You are here

interface ZoomApiClientInterface in Zoom API 8

Same name and namespace in other branches
  1. 2.0.x src/ZoomApiClientInterface.php \Drupal\zoomapi\ZoomApiClientInterface

Interface ZoomApiClientInterface.

Hierarchy

Expanded class hierarchy of ZoomApiClientInterface

All classes that implement ZoomApiClientInterface

1 file declares its use of ZoomApiClientInterface
ZoomApiClient.php in src/Client/ZoomApiClient.php

File

src/ZoomApiClientInterface.php, line 8

Namespace

Drupal\zoomapi
View source
interface ZoomApiClientInterface {

  /**
   * Utilizes Drupal's httpClient to connect to the Zoom API.
   *
   * Info: https://marketplace.zoom.us/docs/api-reference/introduction
   * Currently just supports JWT authentication.
   *
   * @param string $method
   *   get, post, patch, delete, etc. See Guzzle documentation.
   * @param string $endpoint
   *   The Zoom API endpoint (ex. users)
   * @param array $query
   *   Any Query Parameters defined in the API spec.
   * @param array $body
   *   Array that will get converted to JSON for some requests.
   *
   * @return object
   *   \GuzzleHttp\Psr7\Response body
   */
  public function request(string $method, string $endpoint, array $query = [], array $body = []);

}

Members

Namesort descending Modifiers Type Description Overrides
ZoomApiClientInterface::request public function Utilizes Drupal's httpClient to connect to the Zoom API. 1