Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 1.15 KB

File metadata and controls

55 lines (43 loc) · 1.15 KB
layout toc title slug
docs-api
toc-api-admin.html
GET /nodes
url label
/docs/api/admin
admin
url label
/docs/api/admin/methods
methods
get nodes

Get a list of the installed nodes

Requires permission: nodes.read

Headers

Header Value
Accept application/json or text/html - see response section
Authorization Bearer [token] - if authentication is enabled

Response

Status Code Reason Response
200 Success Depends on Accept header. See below for details.
401 Not authorized none

Accept: application/json

Returns an array of Node Set objects. For example:

{% highlight json %} [ { "id": "node-red/sentiment", "name": "sentiment", "types": [ "sentiment" ], "enabled": true, "module": "node-red" "version": "0.10.6" } ] {% endhighlight %}

Accept: text/html

This returns the HTML content for all of the installed nodes as a single response.