Get Share

nextcloud.get_share
ActionFiles & storageconnection required

Calls the Nextcloud API with the connection's credentials.

Read one share by id, including its link URL, permissions and expiry.

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

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
share_id
The share id returned by nextcloud.create_share or nextcloud.list_shares.
stringYes———

Output

One shape.

result

FieldTypeExample
id
The share id, used by get, update and delete.
string42
share_type
The numeric shareType Nextcloud recorded.
number—
uid_owner
The account that owns the shared item.
string—
share_with
The recipient; empty for a public link.
string—
path
The shared path.
string/Documents/report.pdf
item_type
'file' or 'folder'.
stringfile
permissions
The permission bitmask on the share.
number—
url
The public link URL, for a link or email share.
string—
token
The public link token, for a link or email share.
string—
expiration
When the share expires, or empty.
string—
status
Nextcloud's OCS status word.
stringok
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—
{
  "expiration": "",
  "id": "42",
  "item_type": "file",
  "items_per_page": "",
  "message": "",
  "path": "/Documents/report.pdf",
  "permissions": 0,
  "share_type": 0,
  "share_with": "",
  "status": "ok",
  "status_code": 0,
  "token": "",
  "total_items": "",
  "uid_owner": "",
  "url": ""
}

See Get Share 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.