{ "swagger": "2.0", "info": { "version": "1.0.0", "title": "REST API", "description": "" }, "host": "localhost:3000", "basePath": "/", "schemes": [ "http" ], "paths": { "/blocks": { "get": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" } } } }, "/MetaDataTransactions": { "get": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" } } } }, "/CoinTransactions": { "get": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" } } } }, "/Transactions": { "get": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" } } } }, "/mine-transactions": { "get": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" } } } }, "/public-key": { "get": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" } } } }, "/Balance": { "get": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" } } } }, "/mine": { "post": { "description": "", "parameters": [ { "name": "body", "in": "body", "schema": { "type": "object", "properties": { "data": { "example": "any" } } } } ], "responses": { "200": { "description": "OK" } } } }, "/IoTdeviceRegistration": { "post": { "description": "", "parameters": [ { "name": "body", "in": "body", "schema": { "type": "object", "properties": { "Name": { "example": "any" }, "Geo": { "example": "any" }, "IP_URL": { "example": "any" }, "Topic_Token": { "example": "any" }, "Permission": { "example": "any" }, "RequestDetail": { "example": "any" }, "OrgOwner": { "example": "any" }, "DepOwner": { "example": "any" }, "PrsnOwner": { "example": "any" }, "PaymentPerKbyte": { "example": "any" }, "PaymentPerMinute": { "example": "any" }, "Protocol": { "example": "any" }, "MessageAttributes": { "example": "any" }, "Interval": { "example": "any" }, "FurtherDetails": { "example": "any" } } } } ], "responses": { "200": { "description": "OK" } } } }, "/IoTdevicePaymentTransaction": { "post": { "description": "", "parameters": [ { "name": "body", "in": "body", "schema": { "type": "object", "properties": { "Recipient_payment_address": { "example": "any" }, "Amount_of_money": { "example": "any" }, "Payment_method": { "example": "any" }, "Further_details": { "example": "any" } } } } ], "responses": { "200": { "description": "OK" } } } }, "/UploadMetafile": { "post": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" }, "201": { "description": "Created" } } } }, "/selectedMeta": { "post": { "description": "", "parameters": [ { "name": "body", "in": "body", "schema": { "type": "object", "properties": { "Name": { "example": "any" } } } } ], "responses": { "200": { "description": "OK" } } } }, "/sparql": { "post": { "description": "", "parameters": [ { "name": "body", "in": "body", "schema": { "type": "object", "properties": { "Select": { "example": "any" }, "subject": { "example": "any" }, "predicate": { "example": "any" }, "object": { "example": "any" }, "Limit": { "example": "any" } } } } ], "responses": { "200": { "description": "OK" } } } }, "/sparql2": { "post": { "description": "", "parameters": [ { "name": "body", "in": "body", "schema": { "type": "object", "properties": { "Select": { "example": "any" }, "subject": { "example": "any" }, "predicate": { "example": "any" }, "object": { "example": "any" }, "Limit": { "example": "any" } } } } ], "responses": { "200": { "description": "OK" } } } }, "/IoTdeviceIntegration-Control": { "post": { "description": "", "parameters": [ { "name": "body", "in": "body", "schema": { "type": "object", "properties": { "IoTDeviceID": { "example": "any" }, "paymentTransactionID": { "example": "any" }, "Duration": { "example": "any" }, "Protocol": { "example": "any" } } } } ], "responses": { "200": { "description": "OK" } } } }, "/IoTdataObtainingAndForward": { "get": { "description": "", "parameters": [], "responses": { "200": { "description": "OK" } } } } } }