diff options
Diffstat (limited to 'docs/MESHBAY_HTTP_API.md')
| -rw-r--r-- | docs/MESHBAY_HTTP_API.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/MESHBAY_HTTP_API.md b/docs/MESHBAY_HTTP_API.md index 73d079d..70bcefe 100644 --- a/docs/MESHBAY_HTTP_API.md +++ b/docs/MESHBAY_HTTP_API.md @@ -40,6 +40,7 @@ hub also serves the web application at `/` and `/app/`, which are not listed. | Method | Path | Auth | What | |---|---|---|---| +| GET | `/v1/users/captcha` | none | A proof-of-work challenge for the register and reset-request forms. | | POST | `/v1/users/register` | none | Create an account. | | POST | `/v1/users/verify-email` | none | Verify a registration email with the code received by mail. | | POST | `/v1/users/me/bundle-pepper` | user | The pepper, for a session that has just been given the passphrase again. | @@ -60,10 +61,11 @@ hub also serves the web application at `/` and `/app/`, which are not listed. | GET | `/v1/users/me/preferences` | user or node | The account's stored interface preferences. | | PUT | `/v1/users/me/preferences/{key:path}` | user | Store one interface preference. | | DELETE | `/v1/users/me/preferences/{key:path}` | user | Remove one interface preference. | -| PUT | `/v1/users/me/node_key` | user | Link a node daemon's Ed25519 public key to the operator's account. | -| DELETE | `/v1/users/me/node_key` | user or node | Remove the linked node key from the operator's account. | +| GET | `/v1/users/me/node_keys` | user | The node keys linked to your account, oldest first, with what the hub saw of each node. | +| PUT | `/v1/users/me/node_key` | user | Link a node daemon's Ed25519 public key to your account, alongside any already linked. | +| DELETE | `/v1/users/me/node_key` | user or node | Unlink one node key from your account. | | DELETE | `/v1/users/me` | user | Erase your own account. | -| GET | `/v1/users/{username}/pubkeys` | user or node | Resolve a username to its account id, and its node's linking key. | +| GET | `/v1/users/{username}/pubkeys` | user or node | Resolve a username to its account id. | ### Nodes |