-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathendpoints.json
More file actions
1031 lines (1031 loc) · 30.9 KB
/
Copy pathendpoints.json
File metadata and controls
1031 lines (1031 loc) · 30.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$comment": "Machine-readable manifest of every LocalAPI endpoint this package implements. Single source of truth: Scripts/generate-endpoint-docs.py renders the human tables in LOCALAPI-COVERAGE.md and INTEGRATING.md from this file, and CI fails if they drift. Two INDEPENDENT stability axes: upstream_maturity is Tailscale's own per-method 'API maturity' annotation for the daemon endpoint (stable | unstable | unspecified - upstream documents that unannotated methods must be assumed unstable), and swift_support is THIS package's promise for its Swift facade (supported | preview | experimental). A supported Swift facade over an upstream-unstable endpoint means we normalize upstream drift, not that Tailscale guarantees the wire contract. Other fields: endpoint (LocalAPI path suffix), methods, symbol (Swift API), access (read|write|destructive), gate (core = always registered, else the upstream build feature), since (package version), min_tailscaled ('old' = predates our tested floor), tested, transports, upstream (general|debug|gui-contract), upstream_symbol (Go client/local method), upstream_notes, notes.",
"tested_matrix": "hermetic headscale lanes: tailscaled stable / previous-stable 1.96.4 / unstable; plus a real tailnet daemon on self-hosted macOS",
"endpoints": [
{
"endpoint": "status",
"methods": [
"GET"
],
"symbol": "status(query:)",
"access": "read",
"gate": "core",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "Status / StatusWithoutPeers",
"since": "0.1.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "?peers=false via StatusQuery; interfaceName/interfaceInfo derived client-side"
},
{
"endpoint": "services",
"methods": [
"GET"
],
"symbol": "services()",
"access": "read",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "GetServices",
"since": "0.12.0",
"min_tailscaled": "recent (VIP services era; older daemons -> endpointUnavailable)",
"tested": "matrix (503 without netmap and absent-endpoint 404 both tolerated)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "Tailscale Services (VIP services) keyed by svc: name; Ports are upstream ProtoPortRange text forms"
},
{
"endpoint": "whois",
"methods": [
"GET"
],
"symbol": "whois(address:), whois(address:protocol:), whois(nodeKey:), whois(address:scopedToDestination:), whois(address:forService:)",
"access": "read",
"gate": "core",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "WhoIs / WhoIsProto / WhoIsNodeKey / WhoIsForIP / WhoIsForService",
"since": "0.2.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "all stable variants wrapped; a peer miss (404) throws typed .peerNotFound"
},
{
"endpoint": "prefs",
"methods": [
"GET",
"PATCH"
],
"symbol": "prefs(), editPrefs(_:)",
"access": "write",
"gate": "core",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "GetPrefs / EditPrefs",
"since": "0.2.0",
"min_tailscaled": "old",
"tested": "matrix+live (writes hermetic-only)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "PATCH takes typed MaskedPrefs value+Set flag pairs (v0.8.0)"
},
{
"endpoint": "ping",
"methods": [
"POST"
],
"symbol": "ping(ip:type:size:)",
"access": "read",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "Ping / PingWithOpts",
"since": "0.2.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "disco/TSMP/ICMP/peerAPI ping types"
},
{
"endpoint": "metrics",
"methods": [
"GET"
],
"symbol": "metrics()",
"access": "read",
"gate": "HasClientMetrics || HasDebug",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "DaemonMetrics",
"since": "0.2.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "debug",
"notes": "Prometheus text; internal counters, names may churn upstream"
},
{
"endpoint": "usermetrics",
"methods": [
"GET"
],
"symbol": "userMetrics()",
"access": "read",
"gate": "HasUserMetrics",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "UserMetrics",
"since": "0.6.0",
"min_tailscaled": "1.78",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "stable user-facing metrics (tailscale metrics print)"
},
{
"endpoint": "watch-ipn-bus",
"methods": [
"GET (stream)"
],
"symbol": "watchIPNBus(options:reconnect:onUndecodableLine:)",
"access": "read",
"gate": "HasIPNBus",
"upstream_maturity": "unstable",
"swift_support": "supported",
"upstream_symbol": "WatchIPNBus",
"upstream_notes": "our Swift facade normalizes and tolerates shape drift",
"since": "0.3.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback (Darwin only)"
],
"upstream": "general",
"notes": "NDJSON stream; skip-and-report on malformed lines, opt-in reconnect (v0.4.0)"
},
{
"endpoint": "debug-optional-features",
"methods": [
"POST"
],
"symbol": "daemonFeatures()",
"access": "read",
"gate": "HasDebug",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "QueryOptionalFeatures",
"since": "0.4.0",
"min_tailscaled": "1.86",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "debug",
"notes": "capability probe: which optional features this daemon was built with"
},
{
"endpoint": "derpmap",
"methods": [
"GET"
],
"symbol": "derpMap()",
"access": "read",
"gate": "core",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "CurrentDERPMap",
"since": "0.6.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "relay regions/nodes; feeds the client-side netcheck"
},
{
"endpoint": "suggest-exit-node",
"methods": [
"GET"
],
"symbol": "suggestExitNode(forceProbe:)",
"access": "read",
"gate": "HasUseExitNode",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "SuggestExitNode / SuggestExitNodeWithProbe",
"since": "0.6.0",
"min_tailscaled": "old (POST probe: 1.86)",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "empty 200 body = no candidates"
},
{
"endpoint": "dns-osconfig",
"methods": [
"GET"
],
"symbol": "dnsOSConfig()",
"access": "read",
"gate": "HasDNS",
"upstream_maturity": "unstable",
"swift_support": "supported",
"upstream_symbol": "GetDNSOSConfig",
"since": "0.7.0",
"min_tailscaled": "old",
"tested": "matrix+live (userspace daemons 500 → skip)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "installed OS DNS state; 500 on userspace-networking daemons"
},
{
"endpoint": "dns-query",
"methods": [
"GET"
],
"symbol": "dnsQuery(name:type:)",
"access": "read",
"gate": "HasDNS",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "QueryDNS",
"since": "0.7.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "raw RFC 1035 answer bytes + chosen resolvers"
},
{
"endpoint": "check-ip-forwarding",
"methods": [
"GET"
],
"symbol": "checkIPForwarding()",
"access": "read",
"gate": "HasAdvertiseRoutes",
"upstream_maturity": "unstable",
"swift_support": "supported",
"upstream_symbol": "CheckIPForwarding",
"since": "0.7.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "subnet-router/exit-node preflight"
},
{
"endpoint": "check-udp-gro-forwarding",
"methods": [
"GET"
],
"symbol": "checkUDPGROForwarding()",
"access": "read",
"gate": "HasAdvertiseRoutes",
"upstream_maturity": "unstable",
"swift_support": "supported",
"upstream_symbol": "CheckUDPGROForwarding",
"since": "0.11.0",
"min_tailscaled": "old",
"tested": "matrix (non-Linux daemons -> endpointUnavailable skip)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "Linux subnet-router/exit-node performance preflight",
"upstream_notes": "annotated unstable upstream despite its diagnostic role - not a stable-parity item"
},
{
"endpoint": "dns-config",
"methods": [
"GET"
],
"symbol": "dnsConfig()",
"access": "read",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "DNSConfig",
"since": "0.10.0",
"min_tailscaled": "1.98",
"tested": "matrix (previous-stable asserts endpointUnavailable)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "tailnet DNS intent from the netmap; older daemons → endpointUnavailable"
},
{
"endpoint": "peer-by-id",
"methods": [
"GET"
],
"symbol": "peer(byID:)",
"access": "read",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "PeerByID",
"since": "0.7.0",
"min_tailscaled": "~1.98",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "404 = not in netmap OR daemon predates the endpoint — indistinguishable"
},
{
"endpoint": "user-profile",
"methods": [
"GET"
],
"symbol": "userProfile(byID:)",
"access": "read",
"gate": "core",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "UserProfile",
"since": "0.7.0",
"min_tailscaled": "~1.98",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "404 = unknown user OR older daemon — indistinguishable"
},
{
"endpoint": "check-prefs",
"methods": [
"POST"
],
"symbol": "checkPrefs(_:)",
"access": "read",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "CheckPrefs",
"since": "0.8.0",
"min_tailscaled": "old",
"tested": "matrix",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "fails closed: daemon-reported Error throws; malformed 200 throws .decoding"
},
{
"endpoint": "set-use-exit-node-enabled",
"methods": [
"POST"
],
"symbol": "setUseExitNode(enabled:)",
"access": "write",
"gate": "HasUseExitNode",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "SetUseExitNode",
"since": "0.8.0",
"min_tailscaled": "old",
"tested": "matrix (hermetic-only writes)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "toggles without forgetting the selected exit node"
},
{
"endpoint": "set-expiry-sooner",
"methods": [
"POST"
],
"symbol": "setExpirySooner(_:)",
"access": "write",
"gate": "core",
"upstream_maturity": "unstable",
"swift_support": "supported",
"upstream_symbol": "DebugSetExpireIn",
"upstream_notes": "upstream files this under debug",
"since": "0.8.0",
"min_tailscaled": "old",
"tested": "unit (wire shape)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "key hygiene; shortens node-key expiry"
},
{
"endpoint": "reload-config",
"methods": [
"POST"
],
"symbol": "reloadConfig()",
"access": "write",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "ReloadConfig",
"since": "0.8.0",
"min_tailscaled": "old",
"tested": "matrix (no-config daemons return ok=false)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "only meaningful for config-file daemons"
},
{
"endpoint": "start",
"methods": [
"POST"
],
"symbol": "start(options:) / startFreshProfile(controlURL:authKey:)",
"access": "write",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "Start",
"since": "0.8.0",
"min_tailscaled": "old",
"tested": "matrix",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "backend start / headless auth-key bring-up; 204 on success"
},
{
"endpoint": "login-interactive",
"methods": [
"POST"
],
"symbol": "loginInteractive()",
"access": "write",
"gate": "core",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "StartLoginInteractive",
"since": "0.9.0",
"min_tailscaled": "old",
"tested": "matrix + CLI black-box",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "BrowseToURL arrives on the IPN bus — subscribe before calling"
},
{
"endpoint": "logout",
"methods": [
"POST"
],
"symbol": "logout()",
"access": "destructive",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "Logout",
"since": "0.9.0",
"min_tailscaled": "old",
"tested": "unit only (never integration-tested)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "disconnects and expires the node key"
},
{
"endpoint": "shutdown",
"methods": [
"POST"
],
"symbol": "shutdownTailscaled()",
"access": "destructive",
"gate": "core",
"upstream_maturity": "unstable",
"swift_support": "supported",
"upstream_symbol": "ShutdownTailscaled",
"since": "0.12.0",
"min_tailscaled": "recent (older daemons -> endpointUnavailable)",
"tested": "unit only (destructive: terminates the daemon; never run live)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "graceful daemon exit; requires write access AND the AllowTailscaledRestart policy (403 -> .permissionDenied)"
},
{
"endpoint": "update/check",
"methods": [
"GET"
],
"symbol": "checkUpdate()",
"access": "read",
"gate": "HasClientUpdate",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "CheckUpdate",
"since": "0.11.0",
"min_tailscaled": "old",
"tested": "matrix (skips where the build omits clientupdate)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "reports update availability only; installs nothing"
},
{
"endpoint": "disconnect-control",
"methods": [
"POST"
],
"symbol": "disconnectControl()",
"access": "write",
"gate": "HasDebug || HasAdvertiseRoutes",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "DisconnectControl",
"since": "0.11.0",
"min_tailscaled": "old",
"tested": "unit only (administrative: never exercised against live daemons)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "administrative: drains HA subnet-router/app-connector replicas before shutdown"
},
{
"endpoint": "reset-auth",
"methods": [
"POST"
],
"symbol": "resetAuth()",
"access": "destructive",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "",
"upstream_notes": "no public Go client method",
"since": "0.9.0",
"min_tailscaled": "old",
"tested": "unit only (never integration-tested)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "wipes auth state for re-login"
},
{
"endpoint": "profiles/",
"methods": [
"GET",
"PUT",
"POST",
"DELETE"
],
"symbol": "profiles(), currentProfile(), switchToEmptyProfile(), switchProfile(_:), deleteProfile(_:)",
"access": "write",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "ProfileStatus / SwitchProfile / SwitchToEmptyProfile / DeleteProfile",
"upstream_notes": "mixed per-symbol maturity; switchToEmptyProfile() mirrors the upstream name (stable), with addProfile() kept as a deprecated alias",
"since": "0.9.0",
"min_tailscaled": "old",
"tested": "matrix (reads; mutations hermetic-only)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "multi-account profile management (LoginProfile/NetworkProfile models)",
"upstream_symbol_maturity": {
"SwitchProfile": "stable",
"SwitchToEmptyProfile": "stable"
}
},
{
"endpoint": "id-token",
"methods": [
"POST"
],
"symbol": "idToken(audience:)",
"access": "read",
"gate": "HasDebug",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "IDToken",
"since": "0.9.0",
"min_tailscaled": "old",
"tested": "unit (control-plane dependent)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "OIDC token passed through as raw control-plane JSON"
},
{
"endpoint": "serve-config",
"methods": [
"GET",
"POST"
],
"symbol": "serveConfig(), setServeConfig(_:)",
"access": "write",
"gate": "HasServe",
"upstream_maturity": "unstable",
"swift_support": "supported",
"upstream_symbol": "GetServeConfig / SetServeConfig",
"upstream_notes": "GetServeConfig is explicitly unstable upstream; GetServeConfig is annotated unstable; SetServeConfig carries no annotation (assume unstable)",
"since": "0.10.0",
"min_tailscaled": "old (ETag: 1.40+)",
"tested": "matrix incl. live stale-ETag 412 proof (hermetic-only writes)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "ETag optimistic concurrency; stale writes throw .preconditionFailed",
"upstream_symbol_maturity": {
"SetServeConfig": "unspecified"
}
},
{
"endpoint": "cert-domains",
"methods": [
"GET"
],
"symbol": "certDomains()",
"access": "read",
"gate": "core",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "CertDomains",
"since": "0.10.0",
"min_tailscaled": "old",
"tested": "matrix (ACME-less builds → endpointUnavailable, seen on 1.96.4 tarball)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "null body (no HTTPS) decodes as empty list"
},
{
"endpoint": "cert/",
"methods": [
"GET"
],
"symbol": "certPEM(domain:kind:minValidity:), certPair(domain:minValidity:)",
"access": "read",
"gate": "HasACME",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "CertPair / CertPairWithValidity / GetCertificate",
"since": "0.10.0",
"min_tailscaled": "old",
"tested": "unit (needs HTTPS-enabled tailnet live)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "first fetch may block on ACME issuance; pair split fails closed"
},
{
"endpoint": "set-dns",
"methods": [
"POST"
],
"symbol": "setDNS(name:value:)",
"access": "write",
"gate": "HasACME",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "SetDNS",
"since": "0.10.0",
"min_tailscaled": "old",
"tested": "unit (control-plane rate-limited)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "ACME dns-01 TXT records only; control plane restricts names"
},
{
"endpoint": "query-feature",
"methods": [
"POST"
],
"symbol": "queryFeature(_:)",
"access": "read",
"gate": "HasServe",
"upstream_maturity": "unspecified",
"swift_support": "supported",
"upstream_symbol": "QueryFeature",
"since": "0.10.0",
"min_tailscaled": "old",
"tested": "matrix (headscale control plane → skip)",
"transports": [
"unix",
"loopback"
],
"upstream": "general",
"notes": "control-plane probe for serve/funnel enablement; 503 without a netmap"
},
{
"endpoint": "bugreport",
"methods": [
"POST"
],
"symbol": "bugReport(note:) (supported), experimental.bugreport(note:diagnose:record:)",
"access": "write",
"gate": "HasDebug",
"upstream_maturity": "stable",
"swift_support": "supported",
"upstream_symbol": "BugReport",
"upstream_notes": "upstream-stable; the supported facade wraps BugReport only - BugReportWithOpts (recording lifecycle) stays in the stable-parity ledger because a faithful recording handle must hold the request body open, which this client cannot do yet",
"since": "0.7.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "debug",
"notes": "drops a marker in the daemon log; returns the marker ID"
},
{
"endpoint": "goroutines",
"methods": [
"GET"
],
"symbol": "experimental.goroutines()",
"access": "read",
"gate": "core",
"upstream_maturity": "unspecified",
"swift_support": "experimental",
"upstream_symbol": "Goroutines",
"since": "0.7.0",
"min_tailscaled": "old",
"tested": "matrix+live",
"transports": [
"unix",
"loopback"
],
"upstream": "debug",
"notes": "Go stack dump for diagnostics"
},
{
"endpoint": "logtap",
"methods": [
"GET (stream)"
],
"symbol": "experimental.logtap()",
"access": "read",
"gate": "HasLogTail",
"upstream_maturity": "unstable",
"swift_support": "experimental",
"upstream_symbol": "TailDaemonLogs",
"since": "0.7.0",
"min_tailscaled": "old",
"tested": "matrix",
"transports": [
"unix",
"loopback (Darwin only)"
],
"upstream": "debug",
"notes": "live daemon log stream"
},
{
"endpoint": "set-gui-visible",
"methods": [
"POST"
],
"symbol": "experimental.setGUIVisible(_:sessionID:)",
"access": "write",
"gate": "HasDebug || windows || darwin",
"upstream_maturity": "unspecified",
"swift_support": "experimental",
"upstream_symbol": "",
"upstream_notes": "GUI-client contract; no public Go client method",
"since": "0.9.0",
"min_tailscaled": "old",
"tested": "unit (wire shape)",
"transports": [
"unix",
"loopback"
],
"upstream": "gui-contract",
"notes": "GUI-client contract; shapes follow Tailscale's own clients"
},
{
"endpoint": "set-push-device-token",
"methods": [
"POST"
],
"symbol": "experimental.setPushDeviceToken(_:)",
"access": "write",
"gate": "HasDebug",
"upstream_maturity": "unspecified",
"swift_support": "experimental",
"upstream_symbol": "",
"upstream_notes": "GUI-client contract; no public Go client method",
"since": "0.9.0",
"min_tailscaled": "old",
"tested": "unit (wire shape)",
"transports": [
"unix",
"loopback"
],
"upstream": "gui-contract",
"notes": "APNs token registration (GUI contract)"
},
{
"endpoint": "handle-push-message",
"methods": [
"POST"
],
"symbol": "experimental.handlePushMessage(_:)",
"access": "write",
"gate": "HasDebug",
"upstream_maturity": "unspecified",
"swift_support": "experimental",
"upstream_symbol": "",
"upstream_notes": "GUI-client contract; no public Go client method",
"since": "0.9.0",
"min_tailscaled": "old",
"tested": "unit (wire shape)",
"transports": [
"unix",
"loopback"
],
"upstream": "gui-contract",
"notes": "delivers a push payload to the daemon (GUI contract)"
}
],
"upstream_provenance": {
"repository": "tailscale/tailscale",
"revision": "4c4d1c35f83a21c6069ae09de69b246ed1993f3e",
"capability_version": 144,
"verified": "2026-08-03",
"source": "client/local/{local,cert,serve}.go 'API maturity' doc comments; unannotated methods are upstream-unstable per package documentation. Validated by Scripts/verify-upstream-maturity.py against this exact revision."
},
"upstream_stable_unimplemented": [
{
"go_symbol": "BugReportWithOpts",
"endpoint": "bugreport",
"note": "recording lifecycle: upstream holds the POST body open until the caller ends the recording; needs a Swift recording handle whose cancellation closes the body (the experimental record: knob ends the window immediately and says so)"
},
{
"go_symbol": "DialTCP / UserDial",
"endpoint": "dial",
"note": "raw duplex streams over HTTP upgrade; needs a Swift connection abstraction first (issue draft 04)"
}
],
"unwrapped_upstream_handlers": [
{
"endpoint": "alpha-set-device-attrs",
"gate": "HasDebug",
"note": "Alpha device-attribute push; unsupported until upstream stabilizes it."
},
{
"endpoint": "appc-route-info",
"gate": "HasAppConnectors",
"note": "App-connector route diagnostics; experimental candidate on demand (ROADMAP Ongoing)."
},
{
"endpoint": "check-so-mark-in-use",
"gate": "core",
"note": "Linux SO_MARK availability probe for tailscaled's own tooling; no client use case."
},
{
"endpoint": "component-debug-logging",
"gate": "HasDebug",
"note": "Debug surface; added to client.experimental on demand (ROADMAP Ongoing)."
},
{
"endpoint": "debug",
"gate": "HasDebug",
"note": "Debug action multiplexer; individual actions wrapped on demand (ROADMAP Ongoing)."
},
{
"endpoint": "debug-bus-events",
"gate": "HasDebug",
"note": "Event-bus debug stream; on demand (ROADMAP Ongoing)."
},
{
"endpoint": "debug-bus-graph",
"gate": "HasDebug",
"note": "Event-bus debug graph; on demand (ROADMAP Ongoing)."
},
{
"endpoint": "debug-bus-queues",
"gate": "HasDebug",
"note": "Event-bus debug queues; on demand (ROADMAP Ongoing)."
},
{
"endpoint": "debug-derp-region",
"gate": "HasDebug",
"note": "DERP region debug probe; netcheck covers the monitoring use case."
},
{
"endpoint": "debug-dial-types",
"gate": "HasDebug",
"note": "Dial-path debug probe; on demand (ROADMAP Ongoing)."
},
{
"endpoint": "debug-log",
"gate": "HasDebug",
"note": "Debug log injection; logtap (experimental) covers log observation."
},
{
"endpoint": "debug-packet-filter-matches",
"gate": "HasDebug",
"note": "Packet-filter debug dump; on demand (ROADMAP Ongoing)."
},
{
"endpoint": "debug-packet-filter-rules",
"gate": "HasDebug",
"note": "Packet-filter debug dump; on demand (ROADMAP Ongoing)."
},
{
"endpoint": "debug-peer-endpoint-changes",
"gate": "HasDebug",
"note": "Peer endpoint-change history; on demand (ROADMAP Ongoing)."
},
{