Skip to content

Manage the node's local datastore files

Request

List or manage files in the node's local datastore directory.


Requires nodes::service:datastore-manager or nodes::remote-execute permission.

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

Query
waitinteger

Pass 1 to block until the node responds and return its output.

Value:1
Bodyapplication/json
actionstring

Action to perform on the datastore

Default:"LIST"
Value:"LIST"
filenamestring

File or directory name for operations that target a specific entry

curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/datastore-manager?wait=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "action": "LIST",
    "filename": "string"
  }'

Responses

OK

Bodyapplication/json
property name*anyadditional property
Response
{}