@imbue-ai/detent 1.12.0 → 1.14.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/dist/src/schemas/generatedBuiltinSchemas.d.ts.map +1 -1
- package/dist/src/schemas/generatedBuiltinSchemas.js +449 -0
- package/dist/src/schemas/generatedBuiltinSchemas.js.map +1 -1
- package/dist/tests/builtinSchemas.test.js +234 -0
- package/dist/tests/builtinSchemas.test.js.map +1 -1
- package/dist/tests/tailscaleOpenapiCoverage.test.d.ts +18 -0
- package/dist/tests/tailscaleOpenapiCoverage.test.d.ts.map +1 -0
- package/dist/tests/tailscaleOpenapiCoverage.test.js +140 -0
- package/dist/tests/tailscaleOpenapiCoverage.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CA4nP5E,CAAC"}
|
|
@@ -3685,6 +3685,226 @@ export const generatedBuiltinSchemas = {
|
|
|
3685
3685
|
"path"
|
|
3686
3686
|
]
|
|
3687
3687
|
},
|
|
3688
|
+
"huggingface-api": {
|
|
3689
|
+
"$comment": "Any Hugging Face API activity: the Hub API and repository file/git transfers on huggingface.co (or its hf.co alias), the Inference Providers router, the storage hosts that repository downloads and uploads are redirected to, and the dataset viewer. Does not cover, OAuth, the Hub MCP server, apps hosted on *.hf.space, or the Inference Endpoints management API.",
|
|
3690
|
+
"properties": {
|
|
3691
|
+
"domain": {
|
|
3692
|
+
"type": "string"
|
|
3693
|
+
},
|
|
3694
|
+
"path": {
|
|
3695
|
+
"type": "string"
|
|
3696
|
+
}
|
|
3697
|
+
},
|
|
3698
|
+
"required": [
|
|
3699
|
+
"domain",
|
|
3700
|
+
"path"
|
|
3701
|
+
],
|
|
3702
|
+
"anyOf": [
|
|
3703
|
+
{
|
|
3704
|
+
"$comment": "Hub REST API, e.g. /api/models, /api/datasets, /api/whoami-v2, /api/jobs.",
|
|
3705
|
+
"properties": {
|
|
3706
|
+
"domain": {
|
|
3707
|
+
"enum": [
|
|
3708
|
+
"huggingface.co",
|
|
3709
|
+
"hf.co"
|
|
3710
|
+
]
|
|
3711
|
+
},
|
|
3712
|
+
"path": {
|
|
3713
|
+
"type": "string",
|
|
3714
|
+
"pattern": "^/api(/|$)"
|
|
3715
|
+
}
|
|
3716
|
+
},
|
|
3717
|
+
"required": [
|
|
3718
|
+
"domain",
|
|
3719
|
+
"path"
|
|
3720
|
+
]
|
|
3721
|
+
},
|
|
3722
|
+
{
|
|
3723
|
+
"$comment": "Repository file contents, e.g. /openai-community/gpt2/resolve/main/config.json or /datasets/foo/bar/raw/main/README.md.",
|
|
3724
|
+
"properties": {
|
|
3725
|
+
"domain": {
|
|
3726
|
+
"enum": [
|
|
3727
|
+
"huggingface.co",
|
|
3728
|
+
"hf.co"
|
|
3729
|
+
]
|
|
3730
|
+
},
|
|
3731
|
+
"path": {
|
|
3732
|
+
"type": "string",
|
|
3733
|
+
"pattern": "^/(datasets/|spaces/)?[^/]+/([^/]+/)?(resolve|raw)/"
|
|
3734
|
+
}
|
|
3735
|
+
},
|
|
3736
|
+
"required": [
|
|
3737
|
+
"domain",
|
|
3738
|
+
"path"
|
|
3739
|
+
]
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
"$comment": "Git-over-HTTP and Git LFS endpoints of Hub repositories.",
|
|
3743
|
+
"properties": {
|
|
3744
|
+
"domain": {
|
|
3745
|
+
"enum": [
|
|
3746
|
+
"huggingface.co",
|
|
3747
|
+
"hf.co"
|
|
3748
|
+
]
|
|
3749
|
+
},
|
|
3750
|
+
"path": {
|
|
3751
|
+
"type": "string",
|
|
3752
|
+
"pattern": "^/.+/(info/refs|git-upload-pack|git-receive-pack|info/lfs(/.*)?)$"
|
|
3753
|
+
}
|
|
3754
|
+
},
|
|
3755
|
+
"required": [
|
|
3756
|
+
"domain",
|
|
3757
|
+
"path"
|
|
3758
|
+
]
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"$comment": "The Inference Providers router and the storage hosts that repository transfers are redirected to (signed, opaque paths).",
|
|
3762
|
+
"properties": {
|
|
3763
|
+
"domain": {
|
|
3764
|
+
"type": "string",
|
|
3765
|
+
"pattern": "^(router\\.huggingface\\.co|datasets-server\\.huggingface\\.co|([a-z0-9-]+\\.)*(cdn|xethub)\\.hf\\.co|cdn-lfs(-[a-z0-9-]+)?\\.hf\\.co)$"
|
|
3766
|
+
}
|
|
3767
|
+
},
|
|
3768
|
+
"required": [
|
|
3769
|
+
"domain"
|
|
3770
|
+
]
|
|
3771
|
+
}
|
|
3772
|
+
]
|
|
3773
|
+
},
|
|
3774
|
+
"huggingface-read-all": {
|
|
3775
|
+
"$comment": "Read anything from the Hugging Face APIs: list and search models, datasets and Spaces, inspect repositories, download files, and browse the dataset viewer. Safe methods only, including the HEAD request huggingface_hub issues before a download.",
|
|
3776
|
+
"properties": {
|
|
3777
|
+
"method": {
|
|
3778
|
+
"enum": [
|
|
3779
|
+
"GET",
|
|
3780
|
+
"HEAD",
|
|
3781
|
+
"OPTIONS"
|
|
3782
|
+
]
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
"required": [
|
|
3786
|
+
"method"
|
|
3787
|
+
]
|
|
3788
|
+
},
|
|
3789
|
+
"huggingface-write-all": {
|
|
3790
|
+
"$comment": "Change anything through the Hugging Face APIs: create repositories, upload files, push commits, edit settings, manage Spaces, and submit jobs. Covers every unsafe method except requests to the inference router.",
|
|
3791
|
+
"properties": {
|
|
3792
|
+
"method": {
|
|
3793
|
+
"enum": [
|
|
3794
|
+
"POST",
|
|
3795
|
+
"PUT",
|
|
3796
|
+
"PATCH",
|
|
3797
|
+
"DELETE"
|
|
3798
|
+
]
|
|
3799
|
+
},
|
|
3800
|
+
"domain": {
|
|
3801
|
+
"not": {
|
|
3802
|
+
"const": "router.huggingface.co"
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
},
|
|
3806
|
+
"required": [
|
|
3807
|
+
"method",
|
|
3808
|
+
"domain"
|
|
3809
|
+
]
|
|
3810
|
+
},
|
|
3811
|
+
"huggingface-inference": {
|
|
3812
|
+
"$comment": "Run hosted inference through the Inference Providers router: a POST to router.huggingface.co. Consumes compute/quota.",
|
|
3813
|
+
"properties": {
|
|
3814
|
+
"domain": {
|
|
3815
|
+
"const": "router.huggingface.co"
|
|
3816
|
+
},
|
|
3817
|
+
"method": {
|
|
3818
|
+
"const": "POST"
|
|
3819
|
+
}
|
|
3820
|
+
},
|
|
3821
|
+
"required": [
|
|
3822
|
+
"domain",
|
|
3823
|
+
"method"
|
|
3824
|
+
]
|
|
3825
|
+
},
|
|
3826
|
+
"huggingface-download": {
|
|
3827
|
+
"$comment": "Download repository contents by any transport: resolve/raw file requests, the redirected CDN and Xet storage hosts, and a read-only Git clone or fetch (including the LFS batch call it needs). Does not grant access to the rest of the Hub API.",
|
|
3828
|
+
"anyOf": [
|
|
3829
|
+
{
|
|
3830
|
+
"properties": {
|
|
3831
|
+
"method": {
|
|
3832
|
+
"enum": [
|
|
3833
|
+
"GET",
|
|
3834
|
+
"HEAD"
|
|
3835
|
+
]
|
|
3836
|
+
},
|
|
3837
|
+
"path": {
|
|
3838
|
+
"type": "string",
|
|
3839
|
+
"pattern": "^(/api/resolve-cache/|/api/(models|datasets|spaces)/.+/xet-read-token/|/(datasets/|spaces/)?[^/]+/([^/]+/)?(resolve|raw)/)"
|
|
3840
|
+
}
|
|
3841
|
+
},
|
|
3842
|
+
"required": [
|
|
3843
|
+
"method",
|
|
3844
|
+
"path"
|
|
3845
|
+
]
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"properties": {
|
|
3849
|
+
"method": {
|
|
3850
|
+
"enum": [
|
|
3851
|
+
"GET",
|
|
3852
|
+
"HEAD"
|
|
3853
|
+
]
|
|
3854
|
+
},
|
|
3855
|
+
"domain": {
|
|
3856
|
+
"type": "string",
|
|
3857
|
+
"pattern": "^(([a-z0-9-]+\\.)*(cdn|xethub)\\.hf\\.co|cdn-lfs(-[a-z0-9-]+)?\\.hf\\.co)$"
|
|
3858
|
+
}
|
|
3859
|
+
},
|
|
3860
|
+
"required": [
|
|
3861
|
+
"method",
|
|
3862
|
+
"domain"
|
|
3863
|
+
]
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
"properties": {
|
|
3867
|
+
"method": {
|
|
3868
|
+
"const": "GET"
|
|
3869
|
+
},
|
|
3870
|
+
"path": {
|
|
3871
|
+
"type": "string",
|
|
3872
|
+
"pattern": "^/.+/info/refs$"
|
|
3873
|
+
},
|
|
3874
|
+
"queryParams": {
|
|
3875
|
+
"properties": {
|
|
3876
|
+
"service": {
|
|
3877
|
+
"const": "git-upload-pack"
|
|
3878
|
+
}
|
|
3879
|
+
},
|
|
3880
|
+
"required": [
|
|
3881
|
+
"service"
|
|
3882
|
+
]
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
"required": [
|
|
3886
|
+
"method",
|
|
3887
|
+
"path",
|
|
3888
|
+
"queryParams"
|
|
3889
|
+
]
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
"properties": {
|
|
3893
|
+
"method": {
|
|
3894
|
+
"const": "POST"
|
|
3895
|
+
},
|
|
3896
|
+
"path": {
|
|
3897
|
+
"type": "string",
|
|
3898
|
+
"pattern": "^/.+/(git-upload-pack|info/lfs/objects/batch)$"
|
|
3899
|
+
}
|
|
3900
|
+
},
|
|
3901
|
+
"required": [
|
|
3902
|
+
"method",
|
|
3903
|
+
"path"
|
|
3904
|
+
]
|
|
3905
|
+
}
|
|
3906
|
+
]
|
|
3907
|
+
},
|
|
3688
3908
|
"linear-api": {
|
|
3689
3909
|
"$comment": "All requests to the Linear API.",
|
|
3690
3910
|
"properties": {
|
|
@@ -5186,6 +5406,65 @@ export const generatedBuiltinSchemas = {
|
|
|
5186
5406
|
"path"
|
|
5187
5407
|
]
|
|
5188
5408
|
},
|
|
5409
|
+
"openrouter-api": {
|
|
5410
|
+
"$comment": "All requests to the OpenRouter API.",
|
|
5411
|
+
"properties": {
|
|
5412
|
+
"domain": {
|
|
5413
|
+
"const": "openrouter.ai"
|
|
5414
|
+
},
|
|
5415
|
+
"path": {
|
|
5416
|
+
"type": "string",
|
|
5417
|
+
"pattern": "^/api/"
|
|
5418
|
+
}
|
|
5419
|
+
},
|
|
5420
|
+
"required": [
|
|
5421
|
+
"domain",
|
|
5422
|
+
"path"
|
|
5423
|
+
]
|
|
5424
|
+
},
|
|
5425
|
+
"openrouter-read-all": {
|
|
5426
|
+
"$comment": "Read anything from the OpenRouter API: list models and providers, and read key, credit, and generation metadata.",
|
|
5427
|
+
"properties": {
|
|
5428
|
+
"method": {
|
|
5429
|
+
"const": "GET"
|
|
5430
|
+
}
|
|
5431
|
+
},
|
|
5432
|
+
"required": [
|
|
5433
|
+
"method"
|
|
5434
|
+
]
|
|
5435
|
+
},
|
|
5436
|
+
"openrouter-write-all": {
|
|
5437
|
+
"$comment": "Create, update, or delete through the OpenRouter API: manage API keys, workspaces, guardrails, files, and account settings. Also covers running inference.",
|
|
5438
|
+
"properties": {
|
|
5439
|
+
"method": {
|
|
5440
|
+
"enum": [
|
|
5441
|
+
"POST",
|
|
5442
|
+
"PUT",
|
|
5443
|
+
"PATCH",
|
|
5444
|
+
"DELETE"
|
|
5445
|
+
]
|
|
5446
|
+
}
|
|
5447
|
+
},
|
|
5448
|
+
"required": [
|
|
5449
|
+
"method"
|
|
5450
|
+
]
|
|
5451
|
+
},
|
|
5452
|
+
"openrouter-inference": {
|
|
5453
|
+
"$comment": "Run models through the OpenRouter inference endpoints (POST chat/completions, messages, responses, embeddings, rerank, images, videos, and audio speech/transcriptions), which consume credits. Verified against the OpenRouter OpenAPI spec.",
|
|
5454
|
+
"properties": {
|
|
5455
|
+
"method": {
|
|
5456
|
+
"const": "POST"
|
|
5457
|
+
},
|
|
5458
|
+
"path": {
|
|
5459
|
+
"type": "string",
|
|
5460
|
+
"pattern": "^/api/v1/(chat/completions|messages|responses|embeddings|rerank|images|videos|audio/speech|audio/transcriptions)$"
|
|
5461
|
+
}
|
|
5462
|
+
},
|
|
5463
|
+
"required": [
|
|
5464
|
+
"method",
|
|
5465
|
+
"path"
|
|
5466
|
+
]
|
|
5467
|
+
},
|
|
5189
5468
|
"ramp-api": {
|
|
5190
5469
|
"$comment": "Any interaction with the Ramp API.",
|
|
5191
5470
|
"properties": {
|
|
@@ -6478,6 +6757,176 @@ export const generatedBuiltinSchemas = {
|
|
|
6478
6757
|
"path"
|
|
6479
6758
|
]
|
|
6480
6759
|
},
|
|
6760
|
+
"tailscale-api": {
|
|
6761
|
+
"$comment": "All requests to the Tailscale admin REST API (api.tailscale.com), which is served under /api/v2/. Covers tailnet-wide user management (roles, approval, suspension, deletion), device management, ACL/policy, DNS, keys, logs, and webhooks. Does not cover the admin console (console.tailscale.com) or the sign-in host (login.tailscale.com), which the browser login visits but which are not API targets.",
|
|
6762
|
+
"properties": {
|
|
6763
|
+
"domain": {
|
|
6764
|
+
"const": "api.tailscale.com"
|
|
6765
|
+
},
|
|
6766
|
+
"path": {
|
|
6767
|
+
"type": "string",
|
|
6768
|
+
"pattern": "^/api/"
|
|
6769
|
+
}
|
|
6770
|
+
},
|
|
6771
|
+
"required": [
|
|
6772
|
+
"domain",
|
|
6773
|
+
"path"
|
|
6774
|
+
]
|
|
6775
|
+
},
|
|
6776
|
+
"tailscale-read-all": {
|
|
6777
|
+
"$comment": "Read anything from the Tailscale admin API: list users, devices, keys, webhooks, posture integrations, services, tailnets, DNS and logging configuration, and the policy file. Safe methods only.",
|
|
6778
|
+
"properties": {
|
|
6779
|
+
"method": {
|
|
6780
|
+
"enum": [
|
|
6781
|
+
"GET",
|
|
6782
|
+
"HEAD",
|
|
6783
|
+
"OPTIONS"
|
|
6784
|
+
]
|
|
6785
|
+
}
|
|
6786
|
+
},
|
|
6787
|
+
"required": [
|
|
6788
|
+
"method"
|
|
6789
|
+
]
|
|
6790
|
+
},
|
|
6791
|
+
"tailscale-write-all": {
|
|
6792
|
+
"$comment": "Change anything through the Tailscale admin API: change user roles, approve/suspend/restore/delete users, authorize/expire/delete devices, set device tags/routes/names, set the policy file, configure DNS and logging, create and revoke keys, and manage webhooks and OAuth apps. Covers every unsafe method.",
|
|
6793
|
+
"properties": {
|
|
6794
|
+
"method": {
|
|
6795
|
+
"enum": [
|
|
6796
|
+
"POST",
|
|
6797
|
+
"PUT",
|
|
6798
|
+
"PATCH",
|
|
6799
|
+
"DELETE"
|
|
6800
|
+
]
|
|
6801
|
+
}
|
|
6802
|
+
},
|
|
6803
|
+
"required": [
|
|
6804
|
+
"method"
|
|
6805
|
+
]
|
|
6806
|
+
},
|
|
6807
|
+
"tailscale-read-users": {
|
|
6808
|
+
"$comment": "Read user information and invitations: list users and user invites, get a user's details. Safe methods on the users and user-invites endpoints only. Maps to Tailscale's own OAuth `users:read` scope.",
|
|
6809
|
+
"properties": {
|
|
6810
|
+
"method": {
|
|
6811
|
+
"enum": [
|
|
6812
|
+
"GET",
|
|
6813
|
+
"HEAD",
|
|
6814
|
+
"OPTIONS"
|
|
6815
|
+
]
|
|
6816
|
+
},
|
|
6817
|
+
"path": {
|
|
6818
|
+
"type": "string",
|
|
6819
|
+
"pattern": "^/api/v2/(users/|user-invites/|tailnet/[^/]+/users|tailnet/[^/]+/user-invites)"
|
|
6820
|
+
}
|
|
6821
|
+
},
|
|
6822
|
+
"required": [
|
|
6823
|
+
"method",
|
|
6824
|
+
"path"
|
|
6825
|
+
]
|
|
6826
|
+
},
|
|
6827
|
+
"tailscale-write-users": {
|
|
6828
|
+
"$comment": "Change user roles and handle user approval, suspension, deletion, and restoration; create and resend user invites. Unsafe methods on the users and user-invites endpoints only. Maps to Tailscale's own OAuth `users` scope.",
|
|
6829
|
+
"properties": {
|
|
6830
|
+
"method": {
|
|
6831
|
+
"enum": [
|
|
6832
|
+
"POST",
|
|
6833
|
+
"PUT",
|
|
6834
|
+
"PATCH",
|
|
6835
|
+
"DELETE"
|
|
6836
|
+
]
|
|
6837
|
+
},
|
|
6838
|
+
"path": {
|
|
6839
|
+
"type": "string",
|
|
6840
|
+
"pattern": "^/api/v2/(users/|user-invites/|tailnet/[^/]+/users|tailnet/[^/]+/user-invites)"
|
|
6841
|
+
}
|
|
6842
|
+
},
|
|
6843
|
+
"required": [
|
|
6844
|
+
"method",
|
|
6845
|
+
"path"
|
|
6846
|
+
]
|
|
6847
|
+
},
|
|
6848
|
+
"tailscale-read-devices": {
|
|
6849
|
+
"$comment": "Read device information: list tailnet devices, get a device's details, posture attributes, and routes. Safe methods on the device and device-invites endpoints only. Maps to Tailscale's own OAuth `devices:read` scope.",
|
|
6850
|
+
"properties": {
|
|
6851
|
+
"method": {
|
|
6852
|
+
"enum": [
|
|
6853
|
+
"GET",
|
|
6854
|
+
"HEAD",
|
|
6855
|
+
"OPTIONS"
|
|
6856
|
+
]
|
|
6857
|
+
},
|
|
6858
|
+
"path": {
|
|
6859
|
+
"type": "string",
|
|
6860
|
+
"pattern": "^/api/v2/(device-invites/|device/|tailnet/[^/]+/devices|tailnet/[^/]+/device-attributes)"
|
|
6861
|
+
}
|
|
6862
|
+
},
|
|
6863
|
+
"required": [
|
|
6864
|
+
"method",
|
|
6865
|
+
"path"
|
|
6866
|
+
]
|
|
6867
|
+
},
|
|
6868
|
+
"tailscale-write-devices": {
|
|
6869
|
+
"$comment": "Add or edit machines: authorize, expire, rename, retag, re-route, or delete devices, and manage device invites and posture attributes. Unsafe methods on the device and device-invites endpoints only. Maps to Tailscale's own OAuth `devices` scope.",
|
|
6870
|
+
"properties": {
|
|
6871
|
+
"method": {
|
|
6872
|
+
"enum": [
|
|
6873
|
+
"POST",
|
|
6874
|
+
"PUT",
|
|
6875
|
+
"PATCH",
|
|
6876
|
+
"DELETE"
|
|
6877
|
+
]
|
|
6878
|
+
},
|
|
6879
|
+
"path": {
|
|
6880
|
+
"type": "string",
|
|
6881
|
+
"pattern": "^/api/v2/(device-invites/|device/|tailnet/[^/]+/devices|tailnet/[^/]+/device-attributes)"
|
|
6882
|
+
}
|
|
6883
|
+
},
|
|
6884
|
+
"required": [
|
|
6885
|
+
"method",
|
|
6886
|
+
"path"
|
|
6887
|
+
]
|
|
6888
|
+
},
|
|
6889
|
+
"tailscale-read-keys": {
|
|
6890
|
+
"$comment": "Read the tailnet's keys: list and inspect auth keys (tskey-auth, for the tailscale CLI), API access tokens, OAuth clients, and federated identities. Safe methods on the keys endpoint only. Tailscale's own OAuth model splits this across `auth_keys:read`, `api_access_tokens:read`, `oauth_keys:read`, and `federated_keys:read`, but those are all served by the same `/tailnet/{tailnet}/keys` endpoint and cannot be separated by path.",
|
|
6891
|
+
"properties": {
|
|
6892
|
+
"method": {
|
|
6893
|
+
"enum": [
|
|
6894
|
+
"GET",
|
|
6895
|
+
"HEAD",
|
|
6896
|
+
"OPTIONS"
|
|
6897
|
+
]
|
|
6898
|
+
},
|
|
6899
|
+
"path": {
|
|
6900
|
+
"type": "string",
|
|
6901
|
+
"pattern": "^/api/v2/tailnet/[^/]+/keys"
|
|
6902
|
+
}
|
|
6903
|
+
},
|
|
6904
|
+
"required": [
|
|
6905
|
+
"method",
|
|
6906
|
+
"path"
|
|
6907
|
+
]
|
|
6908
|
+
},
|
|
6909
|
+
"tailscale-write-keys": {
|
|
6910
|
+
"$comment": "Mint, update, or revoke any key the tailnet's keys endpoint serves: auth keys (tskey-auth, which the tailscale CLI consumes to bring up nodes), API access tokens, OAuth clients, and federated identities. Unsafe methods on the keys endpoint only. Note that minting an OAuth client or federated identity creates a long-lived credential that can mint further access tokens, so this scope is broader than Tailscale's own `auth_keys` OAuth scope (which covers device auth keys only) -- detent matches by method and path, not request body, so the keyType field that distinguishes them cannot be narrowed here. This is the scope an agent needs to connect new machines to the tailnet.",
|
|
6911
|
+
"properties": {
|
|
6912
|
+
"method": {
|
|
6913
|
+
"enum": [
|
|
6914
|
+
"POST",
|
|
6915
|
+
"PUT",
|
|
6916
|
+
"PATCH",
|
|
6917
|
+
"DELETE"
|
|
6918
|
+
]
|
|
6919
|
+
},
|
|
6920
|
+
"path": {
|
|
6921
|
+
"type": "string",
|
|
6922
|
+
"pattern": "^/api/v2/tailnet/[^/]+/keys"
|
|
6923
|
+
}
|
|
6924
|
+
},
|
|
6925
|
+
"required": [
|
|
6926
|
+
"method",
|
|
6927
|
+
"path"
|
|
6928
|
+
]
|
|
6929
|
+
},
|
|
6481
6930
|
"telegram-api": {
|
|
6482
6931
|
"$comment": "Matches any request to the Telegram Bot API.",
|
|
6483
6932
|
"properties": {
|