List Groups
nextcloud.list_groups
ActionFiles & storageconnection required
Calls the Nextcloud API with the connection's credentials.
List Nextcloud group ids, optionally filtered by a search term.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- Nextcloud
- Secret shape
- {"username": "…", "password": "<app password>"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
search Only return ids containing this text; leave blank for all of them. | string | No | — | — | — |
limit How many ids to return; leave blank for the server's default. | number | No | — | ≥ 1 | — |
offset Skip this many ids before returning any, for paging. | number | No | 0 | ≥ 0 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"offset": 0
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The ids the endpoint returned. | array | — |
count How many ids this response carried. | number | — |
status Nextcloud's OCS status word. | string | ok |
status_code The OCS meta statuscode: 100 on v1, 200 on v2. | number | — |
message The OCS meta message, when the server set one. | string | — |
total_items Total matching items, when the endpoint reports it. | string | — |
items_per_page Page size, when the endpoint reports it. | string | — |
{
"count": 0,
"items": [],
"items_per_page": "",
"message": "",
"status": "ok",
"status_code": 0,
"total_items": ""
}See List Groups run in a workflow.
In a technical demo we add the Nextcloud connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.