From 77b99f7d3a8747f562f2b8f1e8df551aafea1b28 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 15 Apr 2021 13:35:06 +0300 Subject: Remove lorems and inpsumses --- site/content/transaction_docs.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'site/content/transaction_docs.md') 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" weight = 2 +++ -Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod -tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At -vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd -ubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. +A transaction request between `source` and `target` to move `amount` Gradecoin. +# Requests + +## GET +A HTTP `GET` request to [/transaction](/transaction) endpoint will return the current list of pending transactions. + +## POST + +A HTTP `POST` request with Authorization using JWT to [/transaction](/transactions) will allow you to propose your own transactions. + + +# Fields +``` +by: Fingerprint +source: Fingerprint +target: Fingerprint +amount: unsigned 16 bit integer +timestamp: ISO 8601 T