Getting stuck with NRS so decideed to ask for help
I want to establish a topname safe://comnet-ttesting and subname safe:://available-downloads.comnet-testing.
Then I want anyone to be able tp read and append to a document in that subdir.
If you can’t do it with the CLI (haven’t looked) you’ll need to write code (in Rust for now), so start by looking at the tests for this in the Safe API crate. But check the CLI first as I thought that was pretty complete.
Where you would obviously replace the safe URL here with the URL of your own files container.
Note: the version of the container must be supplied in the URL because a container is versioned content. If you linked directly to a file, which is immutable content, the version wouldn’t be needed.
Note 2: the command will appear to be hanging, but it’s just taking a long time to complete. If you run with debugging output you’ll see it retrying. To reduce the time it takes, you need to set SN_QUERY_TIMEOUT to a small value, like say 5. There should be no performance issue when resolving the NRS URL; this only applies as it’s created.