Rest | Node Wrapper |
GET /users/:username
Access account details.
| getAccountDetails(cb) -> cb(err, res) |
GET /:username/limits
Access account details
| getAccountLimits(cb) -> cb(err, res) |
GET /:username/activity
Access current account activity.
| getUserActivity(cb, start, end) -> cb(err, res) |
GET /users/:username/usage
Access historical account usage data.
| getAccountUsage(cb) -> cb(err, res) |
GET /:username/jobs
List all job Id's belonging to a given user.
| getJobs(cb) -> cb(err, res) |
GET /:username/jobs/:id
Show the full information for a job given its ID.
| showJob(id, cb) -> cb(err, res) |
PUT /:username/jobs/:id
Changes a pre-existing job.
| updateJob(id, data, cb) -> cb(err, res) |
PUT /:username/jobs/:id/stop
Terminates a running job.
| stopJob(id, data, cb) -> cb(err, res) |
GET /:username/tunnels
Retrieves all running tunnels for a given user.
| getActiveTunnels(cb) -> cb(err, res) |
GET /:username/tunnels/:id
Show the full information for a tunnel given its ID.
| getTunnel(id, cb) -> cb(err, res) |
DELETE /:username/tunnels/:id
Shuts down a tunnel given its ID.
| deleteTunnel(id, cb) -> cb(err, res) |
GET /info/status
Returns the current status of Sauce Labs' services.
| getServicesStatus(cb) -> cb(err, res) |
GET /info/browsers
Returns an array of strings corresponding to all the browsers currently supported on Sauce Labs.
| getBrowsers(cb) -> cb(err, res) |
GET /info/counter
Returns the number of test executed so far on Sauce Labs.
| getTestCounter(cb) -> cb(err, res) |
POST /users/:id
Create a new sub-account, specifying a Sauce Labs service plan.
| createSubAccount(data, cb) -> cb(err, res) |
POST /users/:id/subscription | ... |
Make a public link to a private job, no need to login
| createPublicLink(job_id, datetime, use_hour, cb) -> cb(err, url)
createPublicLink(job_id, datetime, cb) -> cb(err, url)
createPublicLink(job_id, cb) -> cb(err, url) |