dweb 0.4.0
I’ve published an update to dweb which includes the following:
- RESTful APIs to store and get PublicArchive, PrivateArchive, Chunk
dweb publish
will error right away if you accidentally try to publish-new when you mean publish-update (and vice versa). Thanks to @aatonnomicc for highlighting the need for this.dweb
uses PrivateArchive by default when publishing a website but can display websites published using either PublicArchive or PrivateArchive. This is because using PrivateArchive is cheaper and more efficient, but still leaves the data accessible if it is stored for public access.- several GET APIs now accept a datamap where appropriate (in addition to data address, archive address, History address etc)
To install or update:
cargo install dweb-cli # Add --locked if that doesn't compile
To view the RESTful APIs:
dweb serve
Then, in another terminal:
dweb openapi-docs
I’m looking for feedback and requests from web devs on this topic: Web client devs - best way to do low level Autonomi REST APIs
Next I’ll be implementing Pointer, Scratchpad and then Vault REST APIs, so if you are interested in using those please let me know any requests on that topic.