Commit 09435caa authored by Jeremy Bokobza's avatar Jeremy Bokobza

Added postman test request for getWalletsFiles

parent 6e3e2d7f
......@@ -2,7 +2,7 @@
"variables": [],
"info": {
"name": "Wallet",
"_postman_id": "c9001498-0a8d-e095-7b3e-ba9f2b0df7e7",
"_postman_id": "88e42ac6-4e01-8ec4-c109-12a07b8722de",
"description": "Requests relating to operations on the wallet",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
......@@ -10,7 +10,7 @@
{
"name": "Create wallet - success",
"request": {
"url": "http://localhost:5000/api/v1/wallet/",
"url": "http://localhost:5000/api/v1/wallet/create",
"method": "POST",
"header": [
{
......@@ -30,7 +30,7 @@
{
"name": "Create wallet - validation errors",
"request": {
"url": "http://localhost:5000/api/v1/wallet/",
"url": "http://localhost:5000/api/v1/wallet/create",
"method": "POST",
"header": [
{
......@@ -99,7 +99,10 @@
"description": ""
}
],
"body": {},
"body": {
"mode": "raw",
"raw": ""
},
"description": ""
},
"response": []
......@@ -116,7 +119,10 @@
"description": ""
}
],
"body": {},
"body": {
"mode": "raw",
"raw": ""
},
"description": ""
},
"response": []
......@@ -133,7 +139,10 @@
"description": ""
}
],
"body": {},
"body": {
"mode": "raw",
"raw": ""
},
"description": ""
},
"response": []
......@@ -177,6 +186,23 @@
"description": ""
},
"response": []
},
{
"name": "Get wallets files",
"request": {
"url": "http://localhost:5000/api/v1/wallet/files",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {},
"description": "Gets all the wallets files stored in the default folder"
},
"response": []
}
]
}
\ No newline at end of file
......@@ -303,6 +303,10 @@ namespace Breeze.Wallet.Controllers
}
}
/// <summary>
/// Get the default folder in which the wallets will be stored.
/// </summary>
/// <returns>The folder path for Windows, Linux or OSX systems.</returns>
private string GetDefaultFolderPath()
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment