@taskcluster/client 108.0.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 +59 -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"
|
|
@@ -1096,6 +988,35 @@ export default {
|
|
|
1096
988
|
"title": "GitHub push Event",
|
|
1097
989
|
"type": "topic-exchange"
|
|
1098
990
|
},
|
|
991
|
+
{
|
|
992
|
+
"description": "When a GitHub push event changes a repository's `.taskcluster.yml` it will\nbe broadcast on this exchange with the designated `organization` and\n`repository` in the routing-key.\n\nThe payload names the repository and the ref that was pushed to, and\nnothing more. The file itself does not travel with the message, so a\nconsumer reading it cannot be steered by the pushed commits.\n\nDetection is best effort. A force push that drops a commit reports no\nchanged files to GitHub, so reverting the file that way sends no message.",
|
|
993
|
+
"exchange": "taskcluster-yml-update",
|
|
994
|
+
"name": "taskclusterYmlUpdate",
|
|
995
|
+
"routingKey": [
|
|
996
|
+
{
|
|
997
|
+
"constant": "primary",
|
|
998
|
+
"multipleWords": false,
|
|
999
|
+
"name": "routingKeyKind",
|
|
1000
|
+
"required": true,
|
|
1001
|
+
"summary": "Identifier for the routing-key kind. This is always `\"primary\"` for the formalized routing key."
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"multipleWords": false,
|
|
1005
|
+
"name": "organization",
|
|
1006
|
+
"required": true,
|
|
1007
|
+
"summary": "The GitHub `organization` which had an event. All periods have been replaced by % - such that foo.bar becomes foo%bar - and all other special characters aside from - and _ have been stripped."
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"multipleWords": false,
|
|
1011
|
+
"name": "repository",
|
|
1012
|
+
"required": true,
|
|
1013
|
+
"summary": "The GitHub `repository` which had an event.All periods have been replaced by % - such that foo.bar becomes foo%bar - and all other special characters aside from - and _ have been stripped."
|
|
1014
|
+
}
|
|
1015
|
+
],
|
|
1016
|
+
"schema": "v1/taskcluster-yml-update-message.json#",
|
|
1017
|
+
"title": "Taskcluster Yml Update Event",
|
|
1018
|
+
"type": "topic-exchange"
|
|
1019
|
+
},
|
|
1099
1020
|
{
|
|
1100
1021
|
"description": "When a GitHub release event is posted it will be broadcast on this\nexchange with the designated `organization` and `repository`\nin the routing-key along with event specific metadata in the payload.",
|
|
1101
1022
|
"exchange": "release",
|
|
@@ -3026,6 +2947,36 @@ export default {
|
|
|
3026
2947
|
"title": "Get Number of Pending Tasks",
|
|
3027
2948
|
"type": "function"
|
|
3028
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
|
+
},
|
|
3029
2980
|
{
|
|
3030
2981
|
"args": [
|
|
3031
2982
|
"taskQueueId"
|