diff --git a/api.php b/api.php index 198bfcb..b6ecd5f 100755 --- a/api.php +++ b/api.php @@ -734,7 +734,7 @@ if ($q == "getAddress") { } elseif ($q === 'checkAddress') { /** * @api {get} /api.php?q=checkAddress 22. checkAddress - * @apiName node-info + * @apiName checkAddress * @apiGroup API * @apiDescription Checks the validity of an address. * diff --git a/doc/api_data.js b/doc/api_data.js index 1acf343..e9adea5 100644 --- a/doc/api_data.js +++ b/doc/api_data.js @@ -101,6 +101,50 @@ define({ "api": [ "filename": "./api.php", "groupTitle": "API" }, + { + "type": "get", + "url": "/api.php?q=checkAddress", + "title": "22. checkAddress", + "name": "checkAddress", + "group": "API", + "description": "
Checks the validity of an address.
", + "parameter": { + "fields": { + "Parameter": [ + { + "group": "Parameter", + "type": "string", + "optional": false, + "field": "account", + "description": "Account id / address
" + }, + { + "group": "Parameter", + "type": "string", + "optional": true, + "field": "public_key", + "description": "Public key
" + } + ] + } + }, + "success": { + "fields": { + "Success 200": [ + { + "group": "Success 200", + "type": "boolean", + "optional": false, + "field": "data", + "description": "True if the address is valid, false otherwise.
" + } + ] + } + }, + "version": "0.0.0", + "filename": "./api.php", + "groupTitle": "API" + }, { "type": "get", "url": "/api.php?q=checkSignature", @@ -1015,50 +1059,6 @@ define({ "api": [ "filename": "./api.php", "groupTitle": "API" }, - { - "type": "get", - "url": "/api.php?q=checkAddress", - "title": "22. checkAddress", - "name": "node_info", - "group": "API", - "description": "Checks the validity of an address.
", - "parameter": { - "fields": { - "Parameter": [ - { - "group": "Parameter", - "type": "string", - "optional": false, - "field": "account", - "description": "Account id / address
" - }, - { - "group": "Parameter", - "type": "string", - "optional": true, - "field": "public_key", - "description": "Public key
" - } - ] - } - }, - "success": { - "fields": { - "Success 200": [ - { - "group": "Success 200", - "type": "boolean", - "optional": false, - "field": "data", - "description": "True if the address is valid, false otherwise.
" - } - ] - } - }, - "version": "0.0.0", - "filename": "./api.php", - "groupTitle": "API" - }, { "type": "get", "url": "/api.php?q=node-info", diff --git a/doc/api_data.json b/doc/api_data.json index f9bb35a..adae6ec 100644 --- a/doc/api_data.json +++ b/doc/api_data.json @@ -101,6 +101,50 @@ "filename": "./api.php", "groupTitle": "API" }, + { + "type": "get", + "url": "/api.php?q=checkAddress", + "title": "22. checkAddress", + "name": "checkAddress", + "group": "API", + "description": "Checks the validity of an address.
", + "parameter": { + "fields": { + "Parameter": [ + { + "group": "Parameter", + "type": "string", + "optional": false, + "field": "account", + "description": "Account id / address
" + }, + { + "group": "Parameter", + "type": "string", + "optional": true, + "field": "public_key", + "description": "Public key
" + } + ] + } + }, + "success": { + "fields": { + "Success 200": [ + { + "group": "Success 200", + "type": "boolean", + "optional": false, + "field": "data", + "description": "True if the address is valid, false otherwise.
" + } + ] + } + }, + "version": "0.0.0", + "filename": "./api.php", + "groupTitle": "API" + }, { "type": "get", "url": "/api.php?q=checkSignature", @@ -1015,50 +1059,6 @@ "filename": "./api.php", "groupTitle": "API" }, - { - "type": "get", - "url": "/api.php?q=checkAddress", - "title": "22. checkAddress", - "name": "node_info", - "group": "API", - "description": "Checks the validity of an address.
", - "parameter": { - "fields": { - "Parameter": [ - { - "group": "Parameter", - "type": "string", - "optional": false, - "field": "account", - "description": "Account id / address
" - }, - { - "group": "Parameter", - "type": "string", - "optional": true, - "field": "public_key", - "description": "Public key
" - } - ] - } - }, - "success": { - "fields": { - "Success 200": [ - { - "group": "Success 200", - "type": "boolean", - "optional": false, - "field": "data", - "description": "True if the address is valid, false otherwise.
" - } - ] - } - }, - "version": "0.0.0", - "filename": "./api.php", - "groupTitle": "API" - }, { "type": "get", "url": "/api.php?q=node-info", diff --git a/doc/api_project.js b/doc/api_project.js index dab4369..d29d4ff 100644 --- a/doc/api_project.js +++ b/doc/api_project.js @@ -7,7 +7,7 @@ define({ "apidoc": "0.3.0", "generator": { "name": "apidoc", - "time": "2018-11-05T09:41:33.896Z", + "time": "2018-11-05T10:13:13.657Z", "url": "http://apidocjs.com", "version": "0.17.6" } diff --git a/doc/api_project.json b/doc/api_project.json index 45b3f2d..96be226 100644 --- a/doc/api_project.json +++ b/doc/api_project.json @@ -7,7 +7,7 @@ "apidoc": "0.3.0", "generator": { "name": "apidoc", - "time": "2018-11-05T09:41:33.896Z", + "time": "2018-11-05T10:13:13.657Z", "url": "http://apidocjs.com", "version": "0.17.6" }