@taskcluster/client 108.1.0 → 109.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis.js +30 -108
package/package.json
CHANGED
package/src/apis.js
CHANGED
|
@@ -444,114 +444,6 @@ export default {
|
|
|
444
444
|
"title": "Get Temporary Read/Write Credentials S3",
|
|
445
445
|
"type": "function"
|
|
446
446
|
},
|
|
447
|
-
{
|
|
448
|
-
"args": [
|
|
449
|
-
],
|
|
450
|
-
"category": "Azure Credentials",
|
|
451
|
-
"description": "Retrieve a list of all Azure accounts managed by Taskcluster Auth.",
|
|
452
|
-
"method": "get",
|
|
453
|
-
"name": "azureAccounts",
|
|
454
|
-
"output": "v1/azure-account-list-response.json#",
|
|
455
|
-
"query": [
|
|
456
|
-
],
|
|
457
|
-
"route": "/azure/accounts",
|
|
458
|
-
"scopes": "auth:azure-table:list-accounts",
|
|
459
|
-
"stability": "deprecated",
|
|
460
|
-
"title": "List Accounts Managed by Auth",
|
|
461
|
-
"type": "function"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"args": [
|
|
465
|
-
"account"
|
|
466
|
-
],
|
|
467
|
-
"category": "Azure Credentials",
|
|
468
|
-
"description": "Retrieve a list of all tables in an account.",
|
|
469
|
-
"method": "get",
|
|
470
|
-
"name": "azureTables",
|
|
471
|
-
"output": "v1/azure-table-list-response.json#",
|
|
472
|
-
"query": [
|
|
473
|
-
"continuationToken"
|
|
474
|
-
],
|
|
475
|
-
"route": "/azure/<account>/tables",
|
|
476
|
-
"scopes": "auth:azure-table:list-tables:<account>",
|
|
477
|
-
"stability": "deprecated",
|
|
478
|
-
"title": "List Tables in an Account Managed by Auth",
|
|
479
|
-
"type": "function"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"args": [
|
|
483
|
-
"account",
|
|
484
|
-
"table",
|
|
485
|
-
"level"
|
|
486
|
-
],
|
|
487
|
-
"category": "Azure Credentials",
|
|
488
|
-
"description": "Get a shared access signature (SAS) string for use with a specific Azure\nTable Storage table.\n\nThe `level` parameter can be `read-write` or `read-only` and determines\nwhich type of credentials are returned. If level is read-write, it will create the\ntable if it doesn't already exist.",
|
|
489
|
-
"method": "get",
|
|
490
|
-
"name": "azureTableSAS",
|
|
491
|
-
"output": "v1/azure-table-access-response.json#",
|
|
492
|
-
"query": [
|
|
493
|
-
],
|
|
494
|
-
"route": "/azure/<account>/table/<table>/<level>",
|
|
495
|
-
"scopes": {
|
|
496
|
-
"else": "auth:azure-table:read-write:<account>/<table>",
|
|
497
|
-
"if": "levelIsReadOnly",
|
|
498
|
-
"then": {
|
|
499
|
-
"AnyOf": [
|
|
500
|
-
"auth:azure-table:read-only:<account>/<table>",
|
|
501
|
-
"auth:azure-table:read-write:<account>/<table>"
|
|
502
|
-
]
|
|
503
|
-
}
|
|
504
|
-
},
|
|
505
|
-
"stability": "deprecated",
|
|
506
|
-
"title": "Get Shared-Access-Signature for Azure Table",
|
|
507
|
-
"type": "function"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"args": [
|
|
511
|
-
"account"
|
|
512
|
-
],
|
|
513
|
-
"category": "Azure Credentials",
|
|
514
|
-
"description": "Retrieve a list of all containers in an account.",
|
|
515
|
-
"method": "get",
|
|
516
|
-
"name": "azureContainers",
|
|
517
|
-
"output": "v1/azure-container-list-response.json#",
|
|
518
|
-
"query": [
|
|
519
|
-
"continuationToken"
|
|
520
|
-
],
|
|
521
|
-
"route": "/azure/<account>/containers",
|
|
522
|
-
"scopes": "auth:azure-container:list-containers:<account>",
|
|
523
|
-
"stability": "deprecated",
|
|
524
|
-
"title": "List containers in an Account Managed by Auth",
|
|
525
|
-
"type": "function"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"args": [
|
|
529
|
-
"account",
|
|
530
|
-
"container",
|
|
531
|
-
"level"
|
|
532
|
-
],
|
|
533
|
-
"category": "Azure Credentials",
|
|
534
|
-
"description": "Get a shared access signature (SAS) string for use with a specific Azure\nBlob Storage container.\n\nThe `level` parameter can be `read-write` or `read-only` and determines\nwhich type of credentials are returned. If level is read-write, it will create the\ncontainer if it doesn't already exist.",
|
|
535
|
-
"method": "get",
|
|
536
|
-
"name": "azureContainerSAS",
|
|
537
|
-
"output": "v1/azure-container-response.json#",
|
|
538
|
-
"query": [
|
|
539
|
-
],
|
|
540
|
-
"route": "/azure/<account>/containers/<container>/<level>",
|
|
541
|
-
"scopes": {
|
|
542
|
-
"else": "auth:azure-container:read-write:<account>/<container>",
|
|
543
|
-
"if": "levelIsReadOnly",
|
|
544
|
-
"then": {
|
|
545
|
-
"AnyOf": [
|
|
546
|
-
"auth:azure-container:read-only:<account>/<container>",
|
|
547
|
-
"auth:azure-container:read-write:<account>/<container>"
|
|
548
|
-
]
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
"stability": "deprecated",
|
|
552
|
-
"title": "Get Shared-Access-Signature for Azure Container",
|
|
553
|
-
"type": "function"
|
|
554
|
-
},
|
|
555
447
|
{
|
|
556
448
|
"args": [
|
|
557
449
|
"project"
|
|
@@ -3055,6 +2947,36 @@ export default {
|
|
|
3055
2947
|
"title": "Get Number of Pending Tasks",
|
|
3056
2948
|
"type": "function"
|
|
3057
2949
|
},
|
|
2950
|
+
{
|
|
2951
|
+
"args": [
|
|
2952
|
+
],
|
|
2953
|
+
"category": "Worker Metadata",
|
|
2954
|
+
"description": "Get approximate pending and claimed task counts for the given task queues.\n\nThe caller must have both `queue:pending-count:<taskQueueId>` and\n`queue:claimed-count:<taskQueueId>` scopes for every requested task queue.\nIf any task queue is unauthorized, the entire request will fail.\n\nAs task states may change rapidly, these counts may not represent the exact\nnumber of pending and claimed tasks, but are very good approximations.",
|
|
2955
|
+
"input": "v1/task-queue-counts-request.json#",
|
|
2956
|
+
"method": "post",
|
|
2957
|
+
"name": "taskQueueCountsBatch",
|
|
2958
|
+
"output": "v1/task-queue-counts-list-response.json#",
|
|
2959
|
+
"query": [
|
|
2960
|
+
],
|
|
2961
|
+
"route": "/task-queues/counts",
|
|
2962
|
+
"scopes": {
|
|
2963
|
+
"AllOf": [
|
|
2964
|
+
{
|
|
2965
|
+
"each": "queue:pending-count:<taskQueueId>",
|
|
2966
|
+
"for": "taskQueueId",
|
|
2967
|
+
"in": "taskQueueIds"
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"each": "queue:claimed-count:<taskQueueId>",
|
|
2971
|
+
"for": "taskQueueId",
|
|
2972
|
+
"in": "taskQueueIds"
|
|
2973
|
+
}
|
|
2974
|
+
]
|
|
2975
|
+
},
|
|
2976
|
+
"stability": "experimental",
|
|
2977
|
+
"title": "Get Pending and Claimed Task Counts for Multiple Task Queues",
|
|
2978
|
+
"type": "function"
|
|
2979
|
+
},
|
|
3058
2980
|
{
|
|
3059
2981
|
"args": [
|
|
3060
2982
|
"taskQueueId"
|