Edit
Edit
				
					{
    "method": "hub.custom.nodes.list",
    "id": "_ID_",
    "params": {}
}				
			
Edit
				
					{
    "method": "hub.custom.nodes.list",
    "id": "_ID_",
    "params": {
        "showMeta": true,
        "showAdvanced": true
    }
}				
			
Edit
				
					{
    "method": "hub.custom.nodes.list",
    "id": "_ID_",
    "params": {
        "id": "8765918273645",
        "showMeta": true,
        "showAdvanced": true
    }
}				
			
Edit
				
					{
    "method": "hub.custom.nodes.list",
    "id": "_ID_",
    "params": {
         "ids": ["Id1", "Id2"],
         "name": "Name",
         "author": "Author",
         "showMeta": true,
         "showAdvanced": true
    }
}				
			
Edit
				
					{
    "method": "hub.custom.nodes.list",
    "id": "_ID_",
    "params": {
        "author": "John Doe"
    }
}				
			
Edit
Code Message Data
-32600 The format of any required field is wrong rpc.params.invalid.{FIELD}
Edit

Response contains nodes:

Field Type Required Description
nodes array of objects + An array of node information objects
Edit
				
					{
    "id": "_ID_",
    "error": null,
    "result": {
        "nodes": [
            {
                "_id": "61a8becb0000007e25311f48",
                "configuration": {
                    "inputs": [
                        {
                            "description": "Fake Account Username",
                            "field": "username",
                            "name": "Username",
                            "required": true,
                            "type": "string"
                        },
                        {
                            "description": "Fake Account Password",
                            "field": "password",
                            "format": "password",
                            "name": "Password",
                            "required": true,
                            "type": "string"
                        }
                    ],
                    "placement": "device,plugin",
                    "script": "HUB:node_test_plugin/configs/account",
                    "type": "static"
                },
                "meta": {
                    "author": "Ezlo Cloud Device Integration team",
                    "description": "This plugin will create a fake switch with an item upon installation.",
                    "language": "lua",
                    "name": "Node test plugin (updated)",
                    "placement": [
                        "static",
                        "custom"
                    ],
                    "prefix": "",
                    "size": 32767,
                    "type": "node"
                },
                "plugin": "node_test_plugin",
                "shortName": "node_test_plugin",
                "version": "1.0"
            }
        ]
    }
}