You are here

public function Api::getDetails in Fastly 8.3

Get Service Details.

Parameters

$serviceId:

Return value

\stdClass

1 call to Api::getDetails()
Api::ioEnabled in src/Api.php
Check if IO is enabled on service.

File

src/Api.php, line 675

Class

Api
Fastly API for Drupal.

Namespace

Drupal\fastly

Code

public function getDetails($serviceId) {
  $response = $this
    ->query('/service/' . $serviceId . '/details');
  return $this
    ->json($response);
}