@@ -1327,7 +1327,7 @@ var commands = {
1327
1327
} ,
1328
1328
testers : {
1329
1329
name : "getTesters" ,
1330
- options : [ options . request ] ,
1330
+ options : [ options . request , options . apikey ] ,
1331
1331
info : "list testers status and details" ,
1332
1332
} ,
1333
1333
test : {
@@ -1364,101 +1364,105 @@ var commands = {
1364
1364
har : {
1365
1365
name : "getHARData" ,
1366
1366
param : "id" ,
1367
+ options : [ options . apikey ] ,
1367
1368
info : "get the HTTP Archive (HAR) from test" ,
1368
1369
} ,
1369
1370
pagespeed : {
1370
1371
name : "getPageSpeedData" ,
1371
1372
param : "id" ,
1372
- options : [ options . run ] ,
1373
+ options : [ options . run , options . apikey ] ,
1373
1374
info : "get the Google Page Speed results (if available) from test" ,
1374
1375
} ,
1375
1376
utilization : {
1376
1377
name : "getUtilizationData" ,
1377
1378
param : "id" ,
1378
- options : [ options . run ] ,
1379
+ options : [ options . run , options . apikey ] ,
1379
1380
info : "get the CPU, bandwidth and memory utilization data from test" ,
1380
1381
} ,
1381
1382
request : {
1382
1383
name : "getRequestData" ,
1383
1384
param : "id" ,
1384
- options : [ options . run ] ,
1385
+ options : [ options . run , options . apikey ] ,
1385
1386
info : "get the request data from test" ,
1386
1387
} ,
1387
1388
timeline : {
1388
1389
name : "getTimelineData" ,
1389
1390
param : "id" ,
1390
- options : [ options . run ] ,
1391
+ options : [ options . run , options . apikey ] ,
1391
1392
info : "get the Chrome Developer Tools Timeline data (if available) from test" ,
1392
1393
} ,
1393
1394
netlog : {
1394
1395
name : "getNetLogData" ,
1395
1396
param : "id" ,
1396
- options : [ options . run ] ,
1397
+ options : [ options . run , options . apikey ] ,
1397
1398
info : "get the Chrome Developer Tools Net log data (if available) from test" ,
1398
1399
} ,
1399
1400
chrometrace : {
1400
1401
name : "getChromeTraceData" ,
1401
1402
param : "id" ,
1402
- options : [ options . run ] ,
1403
+ options : [ options . run , options . apikey ] ,
1403
1404
info : "get the Chrome Trace data (if available) from test" ,
1404
1405
} ,
1405
1406
console : {
1406
1407
name : "getConsoleLogData" ,
1407
1408
param : "id" ,
1408
- options : [ options . run ] ,
1409
+ options : [ options . run , options . apikey ] ,
1409
1410
info : "get the browser console log data (if available) from test" ,
1410
1411
} ,
1411
1412
testinfo : {
1412
1413
name : "getTestInfo" ,
1413
1414
param : "id" ,
1415
+ options : [ options . apikey ] ,
1414
1416
info : "get test request info/details" ,
1415
1417
} ,
1416
1418
history : {
1417
1419
name : "getHistory" ,
1418
1420
param : "days" ,
1419
1421
optional : true ,
1422
+ options : [ options . apikey ] ,
1420
1423
info : "get history of previously run tests" ,
1421
1424
} ,
1422
1425
googlecsi : {
1423
1426
name : "getGoogleCsiData" ,
1424
1427
param : "id" ,
1425
- options : [ options . run ] ,
1428
+ options : [ options . run , options . apikey ] ,
1426
1429
info : "get Google CSI data (Client Side Instrumentation)" ,
1427
1430
} ,
1428
1431
response : {
1429
1432
name : "getResponseBody" ,
1430
1433
param : "id" ,
1431
- options : [ options . run , options . response ] ,
1434
+ options : [ options . run , options . response , options . apikey ] ,
1432
1435
info : "get response body for text resources" ,
1433
1436
} ,
1434
1437
waterfall : {
1435
1438
name : "getWaterfallImage" ,
1436
1439
param : "id" ,
1437
- options : [ options . run , options . image , options . waterfall ] ,
1440
+ options : [ options . run , options . image , options . waterfall , options . apikey ] ,
1438
1441
info : "get the waterfall PNG image" ,
1439
1442
} ,
1440
1443
screenshot : {
1441
1444
name : "getScreenshotImage" ,
1442
1445
param : "id" ,
1443
- options : [ options . run , options . image , options . screenshot ] ,
1446
+ options : [ options . run , options . image , options . screenshot , options . apikey ] ,
1444
1447
info : "get the fully loaded page screenshot in JPG format (PNG if in full resolution)" ,
1445
1448
} ,
1446
1449
video : {
1447
1450
name : "createVideo" ,
1448
1451
param : "tests" ,
1449
- options : [ options . video ] ,
1452
+ options : [ options . video , options . apikey ] ,
1450
1453
info : "create a video from <tests> (comma separated test ids)" ,
1451
1454
} ,
1452
1455
player : {
1453
1456
name : "getEmbedVideoPlayer" ,
1454
1457
param : "id" ,
1458
+ options : [ options . apikey ] ,
1455
1459
info : "get a html5 player for a video <id>" ,
1456
1460
} ,
1457
1461
listen : {
1458
1462
name : "listen" ,
1459
1463
param : "hostname:port" ,
1460
1464
optional : true ,
1461
- options : [ options . listen ] ,
1465
+ options : [ options . listen , options . apikey ] ,
1462
1466
info : "start webpagetest-api proxy server on <hostname>:<port> [hostname:%s]" ,
1463
1467
} ,
1464
1468
} ;
0 commit comments