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