0.1.2 • Published 2 years ago

@4lch4/tailscale-api v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Tailscale-API

This repository/package is a wrapper library for interacting with the Tailscale API. It's written in TypeScript and published to the NPM registry and GitHub Package Repository.

ToDo

The following table is all the routes, and the associated HTTP method, that need to be implemented for the 1.0.0 release.

  • GET/api/v2/device/:deviceID ⸺ List the details for a device.
  • DELETE/api/v2/device/:deviceID ⸺ Deletes the device from its Tailnet.
  • GET/api/v2/device/:deviceID/routes ⸺ Fetch subnet routes that are advertised and enabled for a device
  • POST/api/v2/device/:deviceID/routes ⸺ Set the subnet routes that are enabled for a device.
  • POST/api/v2/device/:deviceID/authorized ⸺ Authorize a device.
  • POST/api/v2/device/:deviceID/tags ⸺ Update tags on a device.
  • POST/api/v2/device/:deviceID/key ⸺ Update device key.
  • GET/api/v2/tailnet/:tailnet/acl ⸺ Fetch ACL for a Tailnet.
  • POST/api/v2/tailnet/:tailnet/acl ⸺ Set ACL for a Tailnet.
  • POST/api/v2/tailnet/:tailnet/acl/preview ⸺ Preview rule matches on an ACL for a resource.
  • POST/api/v2/tailnet/:tailnet/acl/validate ⸺ Run validation tests against the Tailnet’s active ACL.
  • GET/api/v2/tailnet/:tailnet/devices ⸺ List the devices for a Tailnet.
  • GET/api/v2/tailnet/:tailnet/keys ⸺ List the keys for a Tailnet.
  • POST/api/v2/tailnet/:tailnet/keys ⸺ Create a new key for a Tailnet.
  • GET/api/v2/tailnet/:tailnet/keys/:keyID ⸺ Get information for a specific key.
  • DELETE/api/v2/tailnet/:tailnet/keys/:keyID ⸺ Delete a specific key.
  • GET/api/v2/tailnet/:tailnet/dns/nameservers ⸺ List the DNS nameservers for a Tailnet.
  • POST/api/v2/tailnet/:tailnet/dns/nameservers ⸺ Replaces the list of DNS nameservers for a Tailnet.
  • GET/api/v2/tailnet/:tailnet/dns/preferences ⸺ Retrieves the DNS preferences for a Tailnet.
  • POST/api/v2/tailnet/:tailnet/dns/preferences ⸺ Replaces the DNS preferences for a Tailnet.
  • GET/api/v2/tailnet/:tailnet/dns/searchpaths ⸺ Retrieves the search paths for a Tailnet.
  • POST/api/v2/tailnet/:tailnet/dns/searchpaths ⸺ Replaces the search paths for a Tailnet.
0.1.2

2 years ago

0.1.1

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago