diff options
author | Yigit Sever | 2021-04-15 13:35:06 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-15 13:35:06 +0300 |
commit | 77b99f7d3a8747f562f2b8f1e8df551aafea1b28 (patch) | |
tree | 8c02f0fc3e463439f5d05653a3f1052caa2138ed /site/content/transaction_docs.md | |
parent | cd6839a3c6596f5e4197c6696b95efbf0c76d2ca (diff) | |
download | gradecoin-77b99f7d3a8747f562f2b8f1e8df551aafea1b28.tar.gz gradecoin-77b99f7d3a8747f562f2b8f1e8df551aafea1b28.tar.bz2 gradecoin-77b99f7d3a8747f562f2b8f1e8df551aafea1b28.zip |
Remove lorems and inpsumses
Diffstat (limited to 'site/content/transaction_docs.md')
-rw-r--r-- | site/content/transaction_docs.md | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/site/content/transaction_docs.md b/site/content/transaction_docs.md index 6607fe9..0526f4e 100644 --- a/site/content/transaction_docs.md +++ b/site/content/transaction_docs.md | |||
@@ -4,8 +4,23 @@ description = "Transaction documentation" | |||
4 | weight = 2 | 4 | weight = 2 |
5 | +++ | 5 | +++ |
6 | 6 | ||
7 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod | 7 | A transaction request between `source` and `target` to move `amount` Gradecoin. |
8 | tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At | ||
9 | vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd | ||
10 | ubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | ||
11 | 8 | ||
9 | # Requests | ||
10 | |||
11 | ## GET | ||
12 | A HTTP `GET` request to [/transaction](/transaction) endpoint will return the current list of pending transactions. | ||
13 | |||
14 | ## POST | ||
15 | |||
16 | A HTTP `POST` request with Authorization using JWT to [/transaction](/transactions) will allow you to propose your own transactions. | ||
17 | |||
18 | |||
19 | # Fields | ||
20 | ``` | ||
21 | by: Fingerprint | ||
22 | source: Fingerprint | ||
23 | target: Fingerprint | ||
24 | amount: unsigned 16 bit integer | ||
25 | timestamp: ISO 8601 <date>T<time> | ||
26 | ``` | ||