Method |
Description |
|
__construct ( string $userId, string $accessKey ) |
Constructor |
|
createSubAccount ( array $accountInfo ) : array |
Create new sub-account: /rest/v1/users/:userId (POST) |
|
deleteJob ( string $jobId ) : array |
Delete job: /rest/v1/:userId/jobs/:jobId (DELETE) |
|
getAccountDetails ( string $userId ) : array |
Get account details: /rest/v1/users/:userId (GET) |
|
getAccountLimits ( ) : array |
Check account limits: /rest/v1/limits (GET) |
|
getActivity ( ) : array |
Get current account activity: /rest/v1/:userId/activity (GET) |
|
getBrowsers ( string $termination = false ) : array |
Get currently supported browsers: /rest/v1/info/browsers (GET) |
|
getCounter ( ) : array |
Get number of tests executed so far on Sauce Labs: /rest/v1/info/counter (GET) |
|
getJob ( string $jobId ) : array |
Get full information for job: /rest/v1/:userId/jobs/:jobId (GET) |
|
getJobs ( boolean $full = null ) : array |
Get jobs: /rest/v1/:userId/jobs (GET) |
|
getStatus ( ) : array |
Get current status of Sauce Labs' services: /rest/v1/info/status (GET) |
|
getTunnel ( string $tunnelId ) : array |
Get full information for a tunnel: /rest/v1/:userId/tunnels/:tunnelId (GET) |
|
getTunnels ( ) : array |
Get running tunnels for a given user: /rest/v1/:userId/tunnels (GET) |
|
getUsage ( string $start = null, string $end = null ) : array |
Get historical account usage: /rest/v1/:userId/usage (GET) |
|
shutdownTunnel ( string $tunnelId ) : array |
Shut down a tunnel: /rest/v1/:userId/tunnels/:tunnelId (DELETE) |
|
stopJob ( string $jobId ) : array |
Stop job: /rest/v1/:userId/jobs/:jobId/stop (PUT) |
|
unsubscribeSubAccount ( string $userId ) : array |
Unsubscribe a sub-account: /rest/v1/users/:userId/subscription (DELETE) |
|
updateJob ( string $jobId, array $jobInfo ) : array |
Update existing job: /rest/v1/:userId/jobs/:jobId (PUT) |
|
updateSubAccount ( string $userId, string $plan ) : array |
Update sub-account service plan: /rest/v1/users/:userId/subscription (POST) |
|