docs: Fix some typos in hooks.md (#684)

This commit is contained in:
Veniamin Krol 2022-03-21 13:44:20 +03:00 committed by GitHub
parent ff35768afd
commit fbc83f508e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -41,7 +41,7 @@ A non-zero exit code or HTTP response greater than `400` will return a HTTP 500
### post-finish ### post-finish
This event will be triggered after an upload is fully finished, meaning that all chunks have been transfered and saved in the storage. After this point, no further modifications, except possible deletion, can be made to the upload entity and it may be desirable to use the file for further processing or notify other applications of the completions of this upload. This event will be triggered after an upload is fully finished, meaning that all chunks have been transferred and saved in the storage. After this point, no further modifications, except possible deletion, can be made to the upload entity and it may be desirable to use the file for further processing or notify other applications of the completions of this upload.
### post-terminate ### post-terminate
@ -49,7 +49,7 @@ This event will be triggered after an upload has been terminated, meaning that t
### post-receive ### post-receive
This event will be triggered for every running upload to indicate its current progress. It will be emitted whenever the server has received more data from the client but at most every second. The offset property will be set to the number of bytes which have been transfered to the server, at the time in total. Please be aware that this number may be higher than the number of bytes which have been stored by the data store! This event will be triggered for every running upload to indicate its current progress. It will be emitted whenever the server has received more data from the client but at most every second. The offset property will be set to the number of bytes which have been transferred to the server, at the time in total. Please be aware that this number may be higher than the number of bytes which have been stored by the data store!
## Whitelisting Hook Events ## Whitelisting Hook Events
@ -101,7 +101,7 @@ The process of the hook files are provided with information about the event and
"filename": "transloadit.png" "filename": "transloadit.png"
}, },
// Details about where the data store saved the uploaded file. The different // Details about where the data store saved the uploaded file. The different
// availabl keys vary depending on the used data store. // available keys vary depending on the used data store.
"Storage": { "Storage": {
// For example, the filestore supplies the absolute file path: // For example, the filestore supplies the absolute file path:
"Type": "filestore", "Type": "filestore",
@ -176,7 +176,7 @@ Tusd will issue a `POST` request to the specified URL endpoint, specifying the h
"filename": "transloadit.png" "filename": "transloadit.png"
}, },
// Details about where the data store saved the uploaded file. The different // Details about where the data store saved the uploaded file. The different
// availabl keys vary depending on the used data store. // available keys vary depending on the used data store.
"Storage": { "Storage": {
// For example, the filestore supplies the absolute file path: // For example, the filestore supplies the absolute file path:
"Type": "filestore", "Type": "filestore",
@ -253,7 +253,7 @@ Tusd will issue a `gRPC` request to the specified endpoint, specifying the hook
"filename": "transloadit.png" "filename": "transloadit.png"
}, },
// Details about where the data store saved the uploaded file. The different // Details about where the data store saved the uploaded file. The different
// availabl keys vary depending on the used data store. // available keys vary depending on the used data store.
"Storage": { "Storage": {
// For example, the filestore supplies the absolute file path: // For example, the filestore supplies the absolute file path:
"Type": "filestore", "Type": "filestore",