• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessing netPI web UI with REST API
#4
Hello Tad,

this API reference is the wrong API for you because this it the API of netPIs UI. What you need is the Docker API supported by the separated Docker icon and service provided by portainer.io which is described here https://forum.hilscher.com/thread-369.html.

In this thread you find also a wonderful Node-RED flow as example which you can use to access your netPI from an external PC for example where you have a running Node-RED. The first thing you have to do after you copied the flow is to go use the injections nodes stepwise. So start with STEP 1 using the node-red function node "OPEN ME ... to set your credentials" and enter all you relevant parameters of your netPI like IP address, username, password, your docker repo "hilschernetpi/netpi-raspbian" for example, your tag like "latest", docker username and password (optional) and the registry you want to pull from like the official Docker Hub registry "registry.hub.docker.com". This node-red function node stores all this in a global variable.

After that you can use all the other injection nodes STEP X wise.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Accessing netPI web UI with REST API - by Armin@netPI - September-5th-2018, 03:45 PM
RE: Accessing netPI web GUI with HTTP REST - by Armin@netPI - September-11th-2018, 06:51 AM
RE: Accessing netPI web GUI with HTTP REST - by tad - March-30th-2021, 02:50 AM
RE: Accessing netPI web GUI with HTTP REST - by Armin@netPI - March-30th-2021, 06:37 AM
RE: Accessing netPI web GUI with HTTP REST - by tad - March-30th-2021, 07:18 AM
RE: Accessing netPI web UI with REST API - by Armin@netPI - March-30th-2021, 07:45 AM
RE: Accessing netPI web UI with REST API - by tad - June-10th-2021, 01:40 PM
RE: Accessing netPI web UI with REST API - by tad - June-25th-2021, 09:06 AM
RE: Accessing netPI web UI with REST API - by tad - June-28th-2021, 07:41 AM
RE: Accessing netPI web UI with REST API - by tad - June-30th-2021, 03:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  REST API server data communication MGharat 2 2,529 July-21st-2021, 07:01 AM
Last Post: MGharat
  Get host MAC via REST API inside container bschandra 4 3,763 November-16th-2020, 09:26 AM
Last Post: bschandra
  Accessing a modbus device connected to RTE port from Node-RED tad 10 8,206 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI
  Web browser reports "insecure connection" when accessing netPI for the first time Armin@netPI 2 2,861 January-31st-2020, 07:07 AM
Last Post: Armin@netPI
Information netPI Docker REST API patrick 1 3,456 July-16th-2019, 02:45 PM
Last Post: patrick
  Accessing Docker daemon through remote CLI adeeljsid 2 3,546 August-30th-2018, 12:32 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)