diff --git a/web/swagger/api.json b/web/swagger/api.json index 77e41ed..fac5f93 100644 --- a/web/swagger/api.json +++ b/web/swagger/api.json @@ -361,7 +361,7 @@ "version": "1.0" }, "paths": { - "/v1/assets/{asset}": { + "/v0/assets/{asset}": { "get": { "description": "Get information for a specific asset.", "parameters": [ @@ -392,7 +392,7 @@ ] } }, - "/v1/markets": { + "/v0/markets": { "get": { "description": "Returns the list of markets information supported by GeniusYield DEX.", "produces": [ @@ -415,7 +415,7 @@ ] } }, - "/v1/orders/cancel": { + "/v0/orders/cancel": { "post": { "consumes": [ "application/json;charset=utf-8" @@ -451,7 +451,7 @@ ] } }, - "/v1/orders/cancel/tx/generate": { + "/v0/orders/cancel/tx/generate": { "post": { "consumes": [ "application/json;charset=utf-8" @@ -487,7 +487,7 @@ ] } }, - "/v1/orders/open": { + "/v0/orders/open": { "post": { "consumes": [ "application/json;charset=utf-8" @@ -523,7 +523,7 @@ ] } }, - "/v1/orders/open/tx/generate": { + "/v0/orders/open/tx/generate": { "post": { "consumes": [ "application/json;charset=utf-8" @@ -559,7 +559,7 @@ ] } }, - "/v1/orders/{market_id}": { + "/v0/orders/{market_id}": { "get": { "description": "Get on-chain order(s)", "parameters": [ @@ -597,7 +597,7 @@ ] } }, - "/v1/settings": { + "/v0/settings": { "get": { "description": "Get server settings such as network, version, and revision", "produces": [ @@ -617,7 +617,7 @@ ] } }, - "/v1/trading_fees": { + "/v0/trading_fees": { "get": { "description": "Get trading fees of DEX.", "produces": [ @@ -637,7 +637,7 @@ ] } }, - "/v1/tx/sign": { + "/v0/tx/sign": { "post": { "consumes": [ "application/json;charset=utf-8" @@ -673,7 +673,7 @@ ] } }, - "/v1/tx/sign_and_submit": { + "/v0/tx/sign_and_submit": { "post": { "consumes": [ "application/json;charset=utf-8" @@ -709,7 +709,7 @@ ] } }, - "/v1/tx/submit": { + "/v0/tx/submit": { "post": { "consumes": [ "application/json;charset=utf-8" diff --git a/web/swagger/api.yaml b/web/swagger/api.yaml index f43ee28..290f462 100644 --- a/web/swagger/api.yaml +++ b/web/swagger/api.yaml @@ -272,7 +272,7 @@ info: title: Genius Yield DEX Server API version: '1.0' paths: - /v1/assets/{asset}: + /v0/assets/{asset}: get: description: Get information for a specific asset. parameters: @@ -292,7 +292,7 @@ paths: summary: Get assets information tags: - Assets - /v1/markets: + /v0/markets: get: description: Returns the list of markets information supported by GeniusYield DEX. @@ -308,7 +308,7 @@ paths: summary: Get markets information for the DEX. tags: - Markets - /v1/orders/cancel: + /v0/orders/cancel: post: consumes: - application/json;charset=utf-8 @@ -332,7 +332,7 @@ paths: summary: Cancel order(s) tags: - Orders - /v1/orders/cancel/tx/generate: + /v0/orders/cancel/tx/generate: post: consumes: - application/json;charset=utf-8 @@ -355,7 +355,7 @@ paths: summary: Build transaction to cancel order(s) tags: - Orders - /v1/orders/open: + /v0/orders/open: post: consumes: - application/json;charset=utf-8 @@ -379,7 +379,7 @@ paths: summary: Create an order tags: - Orders - /v1/orders/open/tx/generate: + /v0/orders/open/tx/generate: post: consumes: - application/json;charset=utf-8 @@ -402,7 +402,7 @@ paths: summary: Build transaction to create order tags: - Orders - /v1/orders/{market_id}: + /v0/orders/{market_id}: get: description: Get on-chain order(s) parameters: @@ -427,7 +427,7 @@ paths: summary: Get order(s) tags: - Orders - /v1/settings: + /v0/settings: get: description: Get server settings such as network, version, and revision produces: @@ -440,7 +440,7 @@ paths: summary: Server settings tags: - Settings - /v1/trading_fees: + /v0/trading_fees: get: description: Get trading fees of DEX. produces: @@ -453,7 +453,7 @@ paths: summary: Trading fees tags: - Trading Fees - /v1/tx/sign: + /v0/tx/sign: post: consumes: - application/json;charset=utf-8 @@ -476,7 +476,7 @@ paths: summary: Sign a transaction tags: - Transaction - /v1/tx/sign_and_submit: + /v0/tx/sign_and_submit: post: consumes: - application/json;charset=utf-8 @@ -500,7 +500,7 @@ paths: summary: Sign and submit a transaction tags: - Transaction - /v1/tx/submit: + /v0/tx/submit: post: consumes: - application/json;charset=utf-8