Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SauceRest.php

function SauceRest::getJobs

Get jobs: /rest/v1/:userId/jobs (GET)

Parameters

boolean $full:

Return value

array

File

vendor/lullabot/php-webdriver/lib/WebDriver/SauceLabs/SauceRest.php, line 229

Class

SauceRest
WebDriver\SauceLabs\SauceRest class

Namespace

WebDriver\SauceLabs

Code

public function getJobs($full = null) {
    $query = http_build_query(array(
        'full' => isset($full) && $full ? 'true' : null,
    ));
    return $this->execute('GET', $this->userId . '/jobs' . (strlen($query) ? '?' . $query : ''));
}
RSS feed
Powered by Drupal