Commit 9145a6ef authored by Jeremy Bokobza's avatar Jeremy Bokobza Committed by GitHub

Merge pull request #95 from bokobza/master

Fix api version in the TB project
parents a12d5f8d e0379287
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
{ {
"name": "Start syncing from hash", "name": "Start syncing from hash",
"request": { "request": {
"url": "http://localhost:5000/api/v1/node/sync", "url": "http://localhost:5000/api/node/sync",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
{ {
"name": "Create wallet - success", "name": "Create wallet - success",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/create", "url": "http://localhost:5000/api/wallet/create",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
{ {
"name": "Create wallet - validation errors", "name": "Create wallet - validation errors",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/create", "url": "http://localhost:5000/api/wallet/create",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
{ {
"name": "Load wallet", "name": "Load wallet",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/load", "url": "http://localhost:5000/api/wallet/load",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
{ {
"name": "Recover wallet", "name": "Recover wallet",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/recover", "url": "http://localhost:5000/api/wallet/recover",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
{ {
"name": "Get wallet Info", "name": "Get wallet Info",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/general-info?name=mywallet", "url": "http://localhost:5000/api/wallet/general-info?name=mywallet",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
{ {
"name": "Get Wallet History", "name": "Get Wallet History",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/history?walletname=wallet1&cointype=0", "url": "http://localhost:5000/api/wallet/history?walletname=wallet1&cointype=0",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
{ {
"name": "Get wallet balance", "name": "Get wallet balance",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/balance?walletname=wallet1&cointype=0", "url": "http://localhost:5000/api/wallet/balance?walletname=wallet1&cointype=0",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
{ {
"name": "Build transaction", "name": "Build transaction",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/build-transaction", "url": "http://localhost:5000/api/wallet/build-transaction",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
{ {
"name": "Send transaction", "name": "Send transaction",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/send-transaction", "url": "http://localhost:5000/api/wallet/send-transaction",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
{ {
"name": "Get wallets files", "name": "Get wallets files",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/files", "url": "http://localhost:5000/api/wallet/files",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
{ {
"name": "Get unused account in wallet", "name": "Get unused account in wallet",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/account", "url": "http://localhost:5000/api/wallet/account",
"method": "POST", "method": "POST",
"header": [ "header": [
{ {
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
{ {
"name": "Get unused address in wallet", "name": "Get unused address in wallet",
"request": { "request": {
"url": "http://localhost:5000/api/v1/wallet/address?walletName=wallet1&accountName=account 0&coinType=0", "url": "http://localhost:5000/api/wallet/address?walletName=wallet1&accountName=account 0&coinType=0",
"method": "GET", "method": "GET",
"header": [ "header": [
{ {
......
...@@ -12,7 +12,7 @@ namespace Breeze.TumbleBit.Controllers ...@@ -12,7 +12,7 @@ namespace Breeze.TumbleBit.Controllers
/// <summary> /// <summary>
/// Controller providing TumbleBit operations. /// Controller providing TumbleBit operations.
/// </summary> /// </summary>
[Route("api/v{version:apiVersion}/[controller]")] [Route("api/[controller]")]
public class TumbleBitController : Controller public class TumbleBitController : Controller
{ {
private readonly ITumbleBitManager tumbleBitManager; private readonly ITumbleBitManager tumbleBitManager;
......
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