aboutsummaryrefslogtreecommitdiffstats
path: root/api-conventions.md
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@gmail.com>2020-03-25 11:22:36 +0100
committerDrew DeVault <sir@cmpwn.com>2020-03-25 08:29:58 -0400
commitef4f23fae41c927a529352a5e9f31a4d9b7346d9 (patch)
tree492c8721a5e8b5599afb3e689ca97ac659adc378 /api-conventions.md
parentbc40c7094bf215efd6beb0ca3836b62a95bcac20 (diff)
downloadsr.ht-docs-ef4f23fae41c927a529352a5e9f31a4d9b7346d9.tar.gz
Fix some typos
Diffstat (limited to 'api-conventions.md')
-rw-r--r--api-conventions.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/api-conventions.md b/api-conventions.md
index 44e78b1..eb5e6be 100644
--- a/api-conventions.md
+++ b/api-conventions.md
@@ -50,7 +50,7 @@ A singleton which is owned by `:resource`.
OR
-A named action to be completed asyncronously.
+A named action to be completed asynchronously.
### /api/:resource/:id/:subresource/:id
@@ -117,7 +117,7 @@ Errors are returned with a consistent response body:
"errors": [
{
"field": "example",
- "reason": "example is requried"
+ "reason": "example is required"
}
]
}
@@ -199,7 +199,7 @@ that occurred, e.g. `profile:update`.
The `X-Payload-Signature` and `X-Payload-Nonce` headers can be used to verify
the authenticity of the webhook payload. Concatenate the request body with the
nonce (treat the nonce as an ASCII-encoded string) and use it to verify the
-base64-encoded Ed25519 siganture given by the `X-Payload-Signature` header. The
+base64-encoded Ed25519 signature given by the `X-Payload-Signature` header. The
public key (also base64 encoded) is
`uX7KWyyDNMaBma4aVbJ/cbUQpdjqczuCyK/HxzV/u+4=`. Here's an example of verifying
the payload in Python: