Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Files

Latest commit

 

History

History
34 lines (22 loc) · 1.06 KB

api.md

File metadata and controls

34 lines (22 loc) · 1.06 KB

Impequid Dynamic DNS API

Update DNS

These simple HTTP calls allow you to update the DNS entry to the requesting IP.

  • GET /api/update/:token → update ip (use this on your router/server!)
  • GET /api/update/:token/:ip → force set IP (not implemented yet)

Domains

Used for managing the subdomains.

  • GET /api/domains → domain list
  • PUT /api/domain → add domain
  • POST /api/domain/:token → new token for domain
  • DELETE /api/domain/:token → remove domain

Login

These endpoints are used for signing up with Impequid.

  • GET /api/authenticate/:token@:server → log in or register with impequid
  • GET /api/authenticate/finish → finish registration
  • DELETE /api/authenticate → log out

Fallback

These APIs are used to provide support for browsers without JavaScript.

  • POST /api/fallback/addSubdomainPUT /api/domain
  • GET /api/fallback/removeSubdomain/:tokenDELETE /api/domain/:token
  • GET /api/fallback/newToken/:tokenPOST /api/domain/:token
  • GET /api/fallback/logoutDELETE /api/authenticate