Added transactions

This commit is contained in:
2022-03-14 18:13:16 +01:00
parent e82b614265
commit 4cda34e2c8
3 changed files with 103 additions and 1 deletions

View File

@@ -284,6 +284,56 @@
"response": []
}
]
},
{
"name": "Transactions",
"item": [
{
"name": "/api/keywords",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{BASE_URL}}/api/transactions",
"host": [
"{{BASE_URL}}"
],
"path": [
"api",
"transactions"
]
}
},
"response": []
},
{
"name": "/api/keyword",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"symbol\": \"DTEGY\",\n \"time\": \"2021-03-14T18:08:44.625Z\",\n \"count\": 1,\n \"price\": 10.0\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{BASE_URL}}/api/transaction",
"host": [
"{{BASE_URL}}"
],
"path": [
"api",
"transaction"
]
}
},
"response": []
}
]
}
],
"auth": {
@@ -291,7 +341,7 @@
"bearer": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6IlVzZXJuYW1lIiwiZXhwIjoxNjQ3Mjc1OTI2fQ.MhXTrfeLQmZ8dPzMOcNSTg1PUw4AU-aZ7h_zRmk8ibc",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6IlVzZXJuYW1lIiwiZXhwIjoxNjQ3MjgwMjkwfQ.SL_WpvJBA1XG_BVwD-zIS4-YnGvxbNqluy5fWjGp2DQ",
"type": "string"
}
]