From a35649061b3bff45478dd0dfaa65a4078de0787f Mon Sep 17 00:00:00 2001 From: travisladuke Date: Tue, 13 Feb 2024 13:46:57 -0800 Subject: [PATCH] docs: update spec docs to point to this repo --- main.tsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tsp b/main.tsp index 69efc04..9e7956e 100644 --- a/main.tsp +++ b/main.tsp @@ -23,7 +23,7 @@ using TypeSpec.JsonSchema;

API requests must be authenticated via an authentication token. ZeroTier One saves this token in the authtoken.secret file in its working directory. This token may be supplied via the X-ZT1-Auth HTTP request header.

For example: curl -H "X-ZT1-Auth: $TOKEN" http://localhost:9993/status

The token can be found in:

-

You can get the OpenAPI spec here as well: https://docs.zerotier.com/openapi/servicev1.json

+

Learn more about the spec at github

""") namespace Root { @tag("Node Status")