@turnkey/http 0.18.1 → 1.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.
@@ -59,17 +59,7 @@
59
59
  }
60
60
  }
61
61
  ],
62
- "tags": ["Activities"],
63
- "x-readme": {
64
- "code-samples": [
65
- {
66
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/get_activity --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"activityId\": \"\"\n}'",
67
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
68
- "language": "curl",
69
- "name": "Turnkey CLI"
70
- }
71
- ]
72
- }
62
+ "tags": ["Activities"]
73
63
  }
74
64
  },
75
65
  "/public/v1/query/get_authenticator": {
@@ -112,17 +102,7 @@
112
102
  }
113
103
  }
114
104
  ],
115
- "tags": ["Authenticators"],
116
- "x-readme": {
117
- "code-samples": [
118
- {
119
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/get_authenticator --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"authenticatorId\": \"'\"$AUTHENTICATOR_ID\"'\"\n}'",
120
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
121
- "language": "curl",
122
- "name": "Turnkey CLI"
123
- }
124
- ]
125
- }
105
+ "tags": ["Authenticators"]
126
106
  }
127
107
  },
128
108
  "/public/v1/query/get_authenticators": {
@@ -165,17 +145,7 @@
165
145
  }
166
146
  }
167
147
  ],
168
- "tags": ["Authenticators"],
169
- "x-readme": {
170
- "code-samples": [
171
- {
172
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/get_authenticators --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"userId\": \"'\"$USER_ID\"'\"\n}'",
173
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
174
- "language": "curl",
175
- "name": "Turnkey CLI"
176
- }
177
- ]
178
- }
148
+ "tags": ["Authenticators"]
179
149
  }
180
150
  },
181
151
  "/public/v1/query/get_organization": {
@@ -218,17 +188,7 @@
218
188
  }
219
189
  }
220
190
  ],
221
- "tags": ["Organizations"],
222
- "x-readme": {
223
- "code-samples": [
224
- {
225
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/get_organization --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\"\n}'",
226
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
227
- "language": "curl",
228
- "name": "Turnkey CLI"
229
- }
230
- ]
231
- }
191
+ "tags": ["Organizations"]
232
192
  }
233
193
  },
234
194
  "/public/v1/query/get_policy": {
@@ -271,17 +231,7 @@
271
231
  }
272
232
  }
273
233
  ],
274
- "tags": ["Policies"],
275
- "x-readme": {
276
- "code-samples": [
277
- {
278
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/get_policy --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"policyId\": \"\"\n}'",
279
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
280
- "language": "curl",
281
- "name": "Turnkey CLI"
282
- }
283
- ]
284
- }
234
+ "tags": ["Policies"]
285
235
  }
286
236
  },
287
237
  "/public/v1/query/get_private_key": {
@@ -324,17 +274,7 @@
324
274
  }
325
275
  }
326
276
  ],
327
- "tags": ["Private Keys"],
328
- "x-readme": {
329
- "code-samples": [
330
- {
331
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/get_private_key --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"privateKeyId\": \"'\"$PRIVATE_KEY_ID\"'\"\n}'",
332
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
333
- "language": "curl",
334
- "name": "Turnkey CLI"
335
- }
336
- ]
337
- }
277
+ "tags": ["Private Keys"]
338
278
  }
339
279
  },
340
280
  "/public/v1/query/get_user": {
@@ -377,17 +317,7 @@
377
317
  }
378
318
  }
379
319
  ],
380
- "tags": ["Users"],
381
- "x-readme": {
382
- "code-samples": [
383
- {
384
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/get_user --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"userId\": \"\"\n}'",
385
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
386
- "language": "curl",
387
- "name": "Turnkey CLI"
388
- }
389
- ]
390
- }
320
+ "tags": ["Users"]
391
321
  }
392
322
  },
393
323
  "/public/v1/query/list_activities": {
@@ -430,17 +360,7 @@
430
360
  }
431
361
  }
432
362
  ],
433
- "tags": ["Activities"],
434
- "x-readme": {
435
- "code-samples": [
436
- {
437
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/list_activities --body '{\n\t\"organizationId\": \"$ORGANIZATION_ID\",\n\t\"filterByStatus\": [\n\t\t\"$ACTIVITY_STATUS\"\n\t],\n\t\"filterByType\": [\n\t\t\"$ACTIVITY_TYPE\"\n\t],\n\t\"paginationOptions\": {\n\t\t\"limit\": \"$NUM_ACTIVITIES\",\n\t\t\"before\": \"$BEFORE_ACTIVITY_ID\",\n\t\t\"after\": \"$AFTER_ACTIVITY_ID\"\n\t}\n}'",
438
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
439
- "language": "curl",
440
- "name": "Turnkey CLI"
441
- }
442
- ]
443
- }
363
+ "tags": ["Activities"]
444
364
  }
445
365
  },
446
366
  "/public/v1/query/list_policies": {
@@ -483,17 +403,7 @@
483
403
  }
484
404
  }
485
405
  ],
486
- "tags": ["Policies"],
487
- "x-readme": {
488
- "code-samples": [
489
- {
490
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/list_policies --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\"\n}'",
491
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
492
- "language": "curl",
493
- "name": "Turnkey CLI"
494
- }
495
- ]
496
- }
406
+ "tags": ["Policies"]
497
407
  }
498
408
  },
499
409
  "/public/v1/query/list_private_keys": {
@@ -536,17 +446,7 @@
536
446
  }
537
447
  }
538
448
  ],
539
- "tags": ["Private Keys"],
540
- "x-readme": {
541
- "code-samples": [
542
- {
543
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/list_private_keys --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\"\n}'",
544
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
545
- "language": "curl",
546
- "name": "Turnkey CLI"
547
- }
548
- ]
549
- }
449
+ "tags": ["Private Keys"]
550
450
  }
551
451
  },
552
452
  "/public/v1/query/list_users": {
@@ -589,17 +489,7 @@
589
489
  }
590
490
  }
591
491
  ],
592
- "tags": ["Users"],
593
- "x-readme": {
594
- "code-samples": [
595
- {
596
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/list_users --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\"\n}'",
597
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
598
- "language": "curl",
599
- "name": "Turnkey CLI"
600
- }
601
- ]
602
- }
492
+ "tags": ["Users"]
603
493
  }
604
494
  },
605
495
  "/public/v1/query/whoami": {
@@ -642,17 +532,7 @@
642
532
  }
643
533
  }
644
534
  ],
645
- "tags": ["Users"],
646
- "x-readme": {
647
- "code-samples": [
648
- {
649
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/whoami --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\"\n}'",
650
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
651
- "language": "curl",
652
- "name": "Turnkey CLI"
653
- }
654
- ]
655
- }
535
+ "tags": ["Users"]
656
536
  }
657
537
  },
658
538
  "/public/v1/submit/approve_activity": {
@@ -695,17 +575,7 @@
695
575
  }
696
576
  }
697
577
  ],
698
- "tags": ["Activities"],
699
- "x-readme": {
700
- "code-samples": [
701
- {
702
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/approve_activity --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_APPROVE_ACTIVITY\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"fingerprint\": \"\"\n\t}\n}'",
703
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
704
- "language": "curl",
705
- "name": "Turnkey CLI"
706
- }
707
- ]
708
- }
578
+ "tags": ["Activities"]
709
579
  }
710
580
  },
711
581
  "/public/v1/submit/create_api_keys": {
@@ -748,17 +618,7 @@
748
618
  }
749
619
  }
750
620
  ],
751
- "tags": ["Users"],
752
- "x-readme": {
753
- "code-samples": [
754
- {
755
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_api_keys --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_API_KEYS\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"apiKeys\": [{\n\t\t\t\"apiKeyName\": \"\",\n\t\t\t\"publicKey\": \"\"\n\t\t}],\n\t\t\"userId\": \"\"\n\t}\n}'",
756
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
757
- "language": "curl",
758
- "name": "Turnkey CLI"
759
- }
760
- ]
761
- }
621
+ "tags": ["Users"]
762
622
  }
763
623
  },
764
624
  "/public/v1/submit/create_api_only_users": {
@@ -801,17 +661,7 @@
801
661
  }
802
662
  }
803
663
  ],
804
- "tags": ["Users"],
805
- "x-readme": {
806
- "code-samples": [
807
- {
808
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_api_only_users --body '{\n\t\"timestampMs\": \"$TIMESTAMP_IN_MILLISECONDS\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_API_ONLY_USERS\",\n\t\"organizationId\": \"$ORGANIZATION_ID\",\n\t\"parameters\": {\n\t\t\"api_only_users\": [{\n\t\t\t\"userName\": \"\",\n\t\t\t\"userEmail\": \"\",\n\t\t\t\"userTags\": \"[]\", \n\t\t\t\"apiKeys\": [\n\t\t\t\t{\"publicKey\": \"public-key\",\"apiKeyName\": \"test\"}\n\t\t\t]}'",
809
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
810
- "language": "curl",
811
- "name": "Turnkey CLI"
812
- }
813
- ]
814
- }
664
+ "tags": ["Users"]
815
665
  }
816
666
  },
817
667
  "/public/v1/submit/create_authenticators": {
@@ -854,17 +704,7 @@
854
704
  }
855
705
  }
856
706
  ],
857
- "tags": ["Authenticators"],
858
- "x-readme": {
859
- "code-samples": [
860
- {
861
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_authenticators --body '{\n\t\"type\": \"ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2\",\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"userId\": \"\",\n\t\t\"authenticators\": [\n\t\t\t{\n\t\t\t\t\"authenticatorName\": \"\",\n\t\t\t\t\"challenge\": \"\",\n\t\t\t\t\"attestation\": {\n\t\t\t\t\t\"credentialId\": \"\",\n\t\t\t\t\t\"clientDataJson\": \"\",\n\t\t\t\t\t\"attestationObject\": \"\",\n\t\t\t\t\t\"transports\": []\n\t\t\t\t}\n\t\t\t}\n\t\t]\n\t}\n}\n'",
862
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
863
- "language": "curl",
864
- "name": "Turnkey CLI"
865
- }
866
- ]
867
- }
707
+ "tags": ["Authenticators"]
868
708
  }
869
709
  },
870
710
  "/public/v1/submit/create_invitations": {
@@ -907,17 +747,7 @@
907
747
  }
908
748
  }
909
749
  ],
910
- "tags": ["Organizations"],
911
- "x-readme": {
912
- "code-samples": [
913
- {
914
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_invitations --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_INVITATIONS\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"invitations\": [{\n\t\t\t\"userName\": \"\",\n\t\t\t\"userEmail\": \"\",\n\t\t\t\"receiverUserTags\": \"\",\n\t\t\t\"accessType\": \"\",\n\t\t\t\"senderUserId\": \"\"\n\t\t}]\n\t}\n}'",
915
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
916
- "language": "curl",
917
- "name": "Turnkey CLI"
918
- }
919
- ]
920
- }
750
+ "tags": ["Invitations"]
921
751
  }
922
752
  },
923
753
  "/public/v1/submit/create_policy": {
@@ -960,22 +790,12 @@
960
790
  }
961
791
  }
962
792
  ],
963
- "tags": ["Policies"],
964
- "x-readme": {
965
- "code-samples": [
966
- {
967
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_policy --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_POLICY\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"policyName\": \"\",\n\t\t\"effect\": \"\",\n\t\t\"notes\": \"\"\n\t}\n}'",
968
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
969
- "language": "curl",
970
- "name": "Turnkey CLI"
971
- }
972
- ]
973
- }
793
+ "tags": ["Policies"]
974
794
  }
975
795
  },
976
796
  "/public/v1/submit/create_private_key_tag": {
977
797
  "post": {
978
- "summary": "Create User Tag",
798
+ "summary": "Create Private Key Tag",
979
799
  "description": "Create a private key tag and add it to private keys.",
980
800
  "operationId": "PublicApiService_CreatePrivateKeyTag",
981
801
  "responses": {
@@ -1013,17 +833,7 @@
1013
833
  }
1014
834
  }
1015
835
  ],
1016
- "tags": ["Private Key Tags"],
1017
- "x-readme": {
1018
- "code-samples": [
1019
- {
1020
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_private_key_tag --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"privateKeyTagName\": \"\",\n\t\t\"privateKeyIds\": \"\",\n}'",
1021
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1022
- "language": "curl",
1023
- "name": "Turnkey CLI"
1024
- }
1025
- ]
1026
- }
836
+ "tags": ["Private Keys"]
1027
837
  }
1028
838
  },
1029
839
  "/public/v1/submit/create_private_keys": {
@@ -1066,17 +876,7 @@
1066
876
  }
1067
877
  }
1068
878
  ],
1069
- "tags": ["Private Keys"],
1070
- "x-readme": {
1071
- "code-samples": [
1072
- {
1073
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_private_keys --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_PRIVATE_KEYS\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"privateKeys\": [{\n\t\t\t\"privateKeyName\": \"\",\n\t\t\t\"curve\": \"\",\n\t\t\t\"privateKeyTags\": \"\",\n\t\t\t\"addressFormats\": \"\"\n\t\t}]\n\t}\n}'",
1074
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1075
- "language": "curl",
1076
- "name": "Turnkey CLI"
1077
- }
1078
- ]
1079
- }
879
+ "tags": ["Private Keys"]
1080
880
  }
1081
881
  },
1082
882
  "/public/v1/submit/create_sub_organization": {
@@ -1119,17 +919,7 @@
1119
919
  }
1120
920
  }
1121
921
  ],
1122
- "tags": ["Organizations"],
1123
- "x-readme": {
1124
- "code-samples": [
1125
- {
1126
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_sub_organization --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"name\": \"\",\n\t\t\"rootAuthenticator\": {\n\t\t\t\"authenticatorName\": \"\",\n\t\t\t\"challenge\":\"\",\n\t\t\t\"attestation\":{\n\t\t\t\t\"credentialId\":\"\",\n\t\t\t\t\"clientDataJson\":\"\",\n\t\t\t\t\"attestationObject\":\"\",\n\t\t\t\t\"transports\":[],\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}'",
1127
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1128
- "language": "curl",
1129
- "name": "Turnkey CLI"
1130
- }
1131
- ]
1132
- }
922
+ "tags": ["Organizations"]
1133
923
  }
1134
924
  },
1135
925
  "/public/v1/submit/create_user_tag": {
@@ -1172,17 +962,7 @@
1172
962
  }
1173
963
  }
1174
964
  ],
1175
- "tags": ["User Tags"],
1176
- "x-readme": {
1177
- "code-samples": [
1178
- {
1179
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_user_tag --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_USER_TAG\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"userTagName\": \"\",\n\t\t\"userIds\": \"\",\n}'",
1180
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1181
- "language": "curl",
1182
- "name": "Turnkey CLI"
1183
- }
1184
- ]
1185
- }
965
+ "tags": ["Users"]
1186
966
  }
1187
967
  },
1188
968
  "/public/v1/submit/create_users": {
@@ -1226,17 +1006,7 @@
1226
1006
  }
1227
1007
  ],
1228
1008
  "tags": ["Users"],
1229
- "deprecated": true,
1230
- "x-readme": {
1231
- "code-samples": [
1232
- {
1233
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/create_users --body '{\n\t\"timestampMs\": \"$TIMESTAMP_IN_MILLISECONDS\",\n\t\"type\": \"ACTIVITY_TYPE_CREATE_USERS\",\n\t\"organizationId\": \"$ORGANIZATION_ID\",\n\t\"parameters\": {\n\t\t\"users\": [{\n\t\t\t\"userName\": \"\",\n\t\t\t\"userEmail\": \"\",\n\t\t\t\"accessType\": \"ACCESS_TYPE_API\",\n\t\t\t\"userTags\": \"[]\", \n\t\t\t\"apiKeys\": [\n\t\t\t\t{\"publicKey\": \"public-key\",\"apiKeyName\": \"test\"}\n\t\t\t]}]}'",
1234
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1235
- "language": "curl",
1236
- "name": "Turnkey CLI"
1237
- }
1238
- ]
1239
- }
1009
+ "deprecated": true
1240
1010
  }
1241
1011
  },
1242
1012
  "/public/v1/submit/delete_api_keys": {
@@ -1279,17 +1049,7 @@
1279
1049
  }
1280
1050
  }
1281
1051
  ],
1282
- "tags": ["Users"],
1283
- "x-readme": {
1284
- "code-samples": [
1285
- {
1286
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/delete_api_keys --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_DELETE_API_KEYS\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"apiKeyIds\": [],\n\t\t\"userId\": \"\"\n\t}\n}'",
1287
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1288
- "language": "curl",
1289
- "name": "Turnkey CLI"
1290
- }
1291
- ]
1292
- }
1052
+ "tags": ["Users"]
1293
1053
  }
1294
1054
  },
1295
1055
  "/public/v1/submit/delete_invitations": {
@@ -1332,17 +1092,7 @@
1332
1092
  }
1333
1093
  }
1334
1094
  ],
1335
- "tags": ["Organizations"],
1336
- "x-readme": {
1337
- "code-samples": [
1338
- {
1339
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/delete_invitation --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_DELETE_INVITATION\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"invitationId\": \"\"\n\t}\n}'",
1340
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1341
- "language": "curl",
1342
- "name": "Turnkey CLI"
1343
- }
1344
- ]
1345
- }
1095
+ "tags": ["Invitations"]
1346
1096
  }
1347
1097
  },
1348
1098
  "/public/v1/submit/delete_policy": {
@@ -1385,17 +1135,7 @@
1385
1135
  }
1386
1136
  }
1387
1137
  ],
1388
- "tags": ["Policies"],
1389
- "x-readme": {
1390
- "code-samples": [
1391
- {
1392
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/delete_policy --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_DELETE_POLICY\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"policyId\": \"\"\n\t}\n}'",
1393
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1394
- "language": "curl",
1395
- "name": "Turnkey CLI"
1396
- }
1397
- ]
1398
- }
1138
+ "tags": ["Policies"]
1399
1139
  }
1400
1140
  },
1401
1141
  "/public/v1/submit/reject_activity": {
@@ -1438,17 +1178,7 @@
1438
1178
  }
1439
1179
  }
1440
1180
  ],
1441
- "tags": ["Activities"],
1442
- "x-readme": {
1443
- "code-samples": [
1444
- {
1445
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/reject_activity --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_REJECT_ACTIVITY\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"fingerprint\": \"\"\n\t}\n}'",
1446
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1447
- "language": "curl",
1448
- "name": "Turnkey CLI"
1449
- }
1450
- ]
1451
- }
1181
+ "tags": ["Activities"]
1452
1182
  }
1453
1183
  },
1454
1184
  "/public/v1/submit/sign_raw_payload": {
@@ -1491,17 +1221,7 @@
1491
1221
  }
1492
1222
  }
1493
1223
  ],
1494
- "tags": ["Private Keys"],
1495
- "x-readme": {
1496
- "code-samples": [
1497
- {
1498
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/sign_raw_payload --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_SIGN_RAW_PAYLOAD\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"privateKeyId\": \"'\"$PRIVATE_KEY_ID\"'\",\n\t\t\"encoding\": \"PAYLOAD_ENCODING_TEXT_UTF8\",\n\t\t\"payload\": \"\",\n\t\t\"hashFunction\": \"HASH_FUNCTION_KECCAK256\"\n\t}\n}'",
1499
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1500
- "language": "curl",
1501
- "name": "Turnkey CLI"
1502
- }
1503
- ]
1504
- }
1224
+ "tags": ["Private Keys"]
1505
1225
  }
1506
1226
  },
1507
1227
  "/public/v1/submit/sign_transaction": {
@@ -1544,23 +1264,13 @@
1544
1264
  }
1545
1265
  }
1546
1266
  ],
1547
- "tags": ["Private Keys"],
1548
- "x-readme": {
1549
- "code-samples": [
1550
- {
1551
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/sign_transaction --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_SIGN_TRANSACTION\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"privateKeyId\": \"'\"$PRIVATE_KEY_ID\"'\",\n\t\t\"unsignedTransaction\": \"\",\n\t\t\"type\": \"\"\n\t}\n}'",
1552
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1553
- "language": "curl",
1554
- "name": "Turnkey CLI"
1555
- }
1556
- ]
1557
- }
1267
+ "tags": ["Private Keys"]
1558
1268
  }
1559
1269
  },
1560
1270
  "/public/v1/submit/update_allowed_origins": {
1561
1271
  "post": {
1562
- "summary": "Update the allowable origins",
1563
- "description": "Update the additional allowable origins for requests besides Turnkey origins",
1272
+ "summary": "Update Allowable Origins",
1273
+ "description": "Update the allowable origins for credentials and requests",
1564
1274
  "operationId": "PublicApiService_UpdateAllowedOrigins",
1565
1275
  "responses": {
1566
1276
  "200": {
@@ -1597,17 +1307,7 @@
1597
1307
  }
1598
1308
  }
1599
1309
  ],
1600
- "tags": ["Update Domains"],
1601
- "x-readme": {
1602
- "code-samples": [
1603
- {
1604
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/update_allowed_origins --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"UPDATE_DOMAINS\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"domains\": \"'\"$DOMAINS\"'\"\n\t}\n}'",
1605
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1606
- "language": "curl",
1607
- "name": "Turnkey CLI"
1608
- }
1609
- ]
1610
- }
1310
+ "tags": ["Organizations"]
1611
1311
  }
1612
1312
  },
1613
1313
  "/public/v1/submit/update_private_key_tag": {
@@ -1650,22 +1350,12 @@
1650
1350
  }
1651
1351
  }
1652
1352
  ],
1653
- "tags": ["Private Key Tags"],
1654
- "x-readme": {
1655
- "code-samples": [
1656
- {
1657
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/private_key_tags/update --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"privateKeyTagId\": \"'\"$PRIVATE_KEY_TAG_ID\"'\",\n\t\t\"privateKeyTagName\": \"\",\n\t\t\"addPrivateKeyTagIds\": \"\",\n\t\t\"removePrivateKeyTagIds\": \"\"\n\t}\n}'",
1658
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1659
- "language": "curl",
1660
- "name": "Turnkey CLI"
1661
- }
1662
- ]
1663
- }
1353
+ "tags": ["Private Keys"]
1664
1354
  }
1665
1355
  },
1666
1356
  "/public/v1/submit/update_root_quorum": {
1667
1357
  "post": {
1668
- "summary": "Set the root quorum",
1358
+ "summary": "Update Root Quorum",
1669
1359
  "description": "Set the threshold and members of the root quorum. This must be approved by the current root quorum.",
1670
1360
  "operationId": "PublicApiService_UpdateRootQuorum",
1671
1361
  "responses": {
@@ -1703,17 +1393,7 @@
1703
1393
  }
1704
1394
  }
1705
1395
  ],
1706
- "tags": ["Root Quorum"],
1707
- "x-readme": {
1708
- "code-samples": [
1709
- {
1710
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/update_root_quorum --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"UPDATE_ROOT_QUORUM\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"userIds\": \"'\"$USER_IDS\"'\",\n\t\t\"threshold\": $THRESHOLD\n\t}\n}'",
1711
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1712
- "language": "curl",
1713
- "name": "Turnkey CLI"
1714
- }
1715
- ]
1716
- }
1396
+ "tags": ["Organizations"]
1717
1397
  }
1718
1398
  },
1719
1399
  "/public/v1/submit/update_user_tag": {
@@ -1756,17 +1436,7 @@
1756
1436
  }
1757
1437
  }
1758
1438
  ],
1759
- "tags": ["User Tags"],
1760
- "x-readme": {
1761
- "code-samples": [
1762
- {
1763
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/submit/update_user_tag --body '{\n\t\"timestampMs\": \"'\"$(date +%s)\"'000\",\n\t\"type\": \"ACTIVITY_TYPE_UPDATE_USER_TAG\",\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"parameters\": {\n\t\t\"userTagId\": \"'\"$USER_TAG_ID\"'\",\n\t\t\"userTagName\": \"\",\n\t\t\"addUserIds\": \"\",\n\t\t\"removeUserIds\": \"\"\n\t}\n}'",
1764
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1765
- "language": "curl",
1766
- "name": "Turnkey CLI"
1767
- }
1768
- ]
1769
- }
1439
+ "tags": ["Users"]
1770
1440
  }
1771
1441
  },
1772
1442
  "/tkhq/api/v1/noop-codegen-anchor": {
@@ -1842,17 +1512,7 @@
1842
1512
  }
1843
1513
  ],
1844
1514
  "tags": ["Private Keys"],
1845
- "deprecated": true,
1846
- "x-readme": {
1847
- "code-samples": [
1848
- {
1849
- "code": "turnkey request --host coordinator-beta.turnkey.io --path /public/v1/query/get_private_key --body '{\n\t\"organizationId\": \"'\"$ORGANIZATION_ID\"'\",\n\t\"privateKeyId\": \"'\"$PRIVATE_KEY_ID\"'\"\n}'",
1850
- "install": "brew tap tkhq/tap \u0026\u0026 brew install turnkey",
1851
- "language": "curl",
1852
- "name": "Turnkey CLI"
1853
- }
1854
- ]
1855
- }
1515
+ "deprecated": true
1856
1516
  }
1857
1517
  }
1858
1518
  },
@@ -5245,10 +4905,5 @@
5245
4905
  {
5246
4906
  "ApiKeyAuth": []
5247
4907
  }
5248
- ],
5249
- "x-readme": {
5250
- "explorer-enabled": true,
5251
- "proxy-enabled": true,
5252
- "samples-languages": ["curl", "javascript"]
5253
- }
4908
+ ]
5254
4909
  }