# Steps to call rest api for pydio cells home 4.4.6 using Node-Red

**URL:** <https://forum.pydio.com/t/steps-to-call-rest-api-for-pydio-cells-home-4-4-6-using-node-red/6061>\
**Category:** Pydio Cells\
**Tags:** api\
**Created:** [October 9, 2024, 12:25am UTC](https://forum.pydio.com/t/steps-to-call-rest-api-for-pydio-cells-home-4-4-6-using-node-red/6061 "2024-10-09T00:25:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![instantdreams](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/instantdreams/32/2315_2.png) [@instantdreams](https://forum.pydio.com/u/instantdreams)\
**Post date:** [October 9, 2024, 12:25am UTC](https://forum.pydio.com/t/steps-to-call-rest-api-for-pydio-cells-home-4-4-6-using-node-red/6061/1 "2024-10-09T00:25:39Z")

</div>

### Task Description

Describes how to call rest api using various methods and services when running Pydio Cells Home in a docker container. Note that this was originally an issue, but I discovered as I was writing everything up that there is a new version of the Pydio Cells Rest API on Swagger Hub that worked.

### Cells Version

Taken directly from the logs:

```auto
$ docker compose logs
pydio-cells | ### Pydio Cells Home Edition
pydio-cells | Version: 4.4.6
pydio-cells | Built: 27 Sep 24 14:07 +0000
pydio-cells | Git commit: 1d70c6afd6c5c35aa6ff54c5093435e9492f828e
pydio-cells | OS/Arch: linux/amd64
pydio-cells | Go version: go1.21.13
pydio-cells | Binary:
pydio-cells | Package: Pydio Cells Home Edition
pydio-cells | Version: 4.4.6
pydio-cells | BuildTime: 27 Sep 24 14:07 +0000
pydio-cells | Git Commit: 1d70c6afd6c5c35aa6ff54c5093435e9492f828e
pydio-cells | Go Version: go1.21.13
pydio-cells | OS/arch: linux/amd64

```

### Server and Host Details

Operating System Linux 6.1.0-22-amd64 x86\_64  
Docker version 27.0.3, build 7d4bcd8  
Docker Compose version v2.28.1

### Steps to Reproduce

1. Create personal access token

Access command line and issue the following command:

```auto
docker exec pydio-cells cells admin user token -u admin -a 28d

```

Securely store the PAT.

1. Review and confirm api references

2. Create a flow in Node-Red that uses the GET method

3. Create a flow in Node-Red that uses the POST method with an empty body

4. Create a flow in Node-Red that uses the POST method with body parameters

---

<div class="post-metadata">

**Author:** ![instantdreams](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/instantdreams/32/2315_2.png) [@instantdreams](https://forum.pydio.com/u/instantdreams)\
**Post date:** [October 9, 2024, 1:09am UTC](https://forum.pydio.com/t/steps-to-call-rest-api-for-pydio-cells-home-4-4-6-using-node-red/6061/2 "2024-10-09T01:09:37Z")

</div>

This post describes the steps to use the pydio cells 3.0 rest api within node-red.

---

<div class="post-metadata">

**Author:** ![instantdreams](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/instantdreams/32/2315_2.png) [@instantdreams](https://forum.pydio.com/u/instantdreams)\
**Post date:** [October 9, 2024, 3:17pm UTC](https://forum.pydio.com/t/steps-to-call-rest-api-for-pydio-cells-home-4-4-6-using-node-red/6061/3 "2024-10-09T15:17:02Z")

</div>

My final Pydio workspace in Node-Red looks like this:

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/f/f669c1d5b5c161ebe72415212ceeb04fbaf09925.png)

At time of writing, Wednesday at 02:00 was 7 hours ago:

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/5/5b537eff1397e6dff5020dd032a82c0b70407cc8.png)

This is working very well so far 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [October 20, 2024, 9:17pm UTC](https://forum.pydio.com/t/steps-to-call-rest-api-for-pydio-cells-home-4-4-6-using-node-red/6061/4 "2024-10-20T21:17:33Z")

</div>

This topic was automatically closed 11 days after the last reply. New replies are no longer allowed.
