diff --git a/docs/apis/rest/index.html b/docs/apis/rest/index.html index b6584754..82baeace 100644 --- a/docs/apis/rest/index.html +++ b/docs/apis/rest/index.html @@ -43,12 +43,12 @@ curl -X PUT -H "content-type:application/json" -d '{"value": "Hello World!"}' http://localhost:8000/demo/example/test # Create a Memory storage on demo/test/** via a Put on admin space (@/...) -curl -X PUT -H 'content-type:application/json' http://localhost:8000/@/router/local/config/plugins/storage_manager/storages/demo -d '{key_expr:"demo/test/**", volume:"memory"}' +curl -X PUT -H 'content-type:application/json' http://localhost:8000/@/local/router/config/plugins/storage_manager/storages/demo -d '{key_expr:"demo/test/**", volume:"memory"}'

DELETE

Binds to the remove(keyexpr) operation on Zenoh.

Examples using curl:

# Remove the value with key demo/example/test
 curl -X DELETE http://localhost:8000/demo/example/test
 
 # Remove a storage via a Remove on admin space (@/...)
-curl -X DELETE http://localhost:8000/@/router/local/config/plugins/storage_manager/storages/demo
+curl -X DELETE http://localhost:8000/@/local/router/config/plugins/storage_manager/storages/demo
 
Next up: Kotlin API
diff --git a/docs/getting-started/quick-test/index.html b/docs/getting-started/quick-test/index.html index d56f22e6..3fd575e4 100644 --- a/docs/getting-started/quick-test/index.html +++ b/docs/getting-started/quick-test/index.html @@ -14,9 +14,9 @@ - ./zenoh_docker:/root/.zenoh environment: - RUST_LOG=debug -

First tests using the REST API

The complete Eclipse zenoh’s key/value space is accessible through the REST API, using regular HTTP GET, PUT and DELETE methods. In those examples, we use the curl command line tool.

Managing the admin space