Tests the ports, asking the router through UPnP and a server or Kad whether others reach them.
POST/ports/test
The test goes on after the answer; read it again until done.
Responses
- 202
- default
The test as it started.
Any other failure: 401 without the right token (with WWW-Authenticate: Bearer), 404 for an
unknown path, 405 for a method the path does not take (with Allow), 429 after too many wrong
tokens, 500 when the request failed, 503 when the engine cannot answer in time.
Response Headers
WWW-Authenticate
Sent with 401 and 429.
Allow
Sent with 405, the methods the path takes.