hello Stephan,
First of all i would like to know whether an API exists to Retrieve a list of available nodes in a give workspace?
Second how to interpret the syntax:
http://<host>:<port>/<context>
What is <context>?
In the documentation they mention a Reponse format: Does this mean I should change the config.json file ?
Similarly to create a node:
http://<host>:<port>/<context>/<repository_name>/<workspace_name>/items/<node_path>
"http://localhost:8080/modeshape-rest/Persisted_Repository" this is my uri !!!
What does the URI parameters stands for:
<context>
<workspace_name>
<node_path>
Here is the link for the URL syntax.
Is there any example for each of above cases?
badly needing help on create ; delete update and query ?
my config json :
{
"name" : "Persisted_Repository",
"workspaces" : {
"predefined" : ["otherWorkspace"],
"default" : "default",
"allowCreation" : true
},
"security" : {
"anonymous" : {
"roles" : ["readonly","readwrite","admin"],
"useOnFailedLogin" : false
}
},
"storage" : {
"cacheConfiguration" : "infinispan_configuration.xml",
"cacheName" : "Persisted_Repository",
"binaryStorage" : {
"type" : "file",
"directory": "target/content/binaries",
"minimumBinarySizeInBytes" : 4096
}
},
"query":{
"enabled":true,
"rebuildUponStartup":"if_missing",
"indexStorage": {
"type":"filesystem",
"location":"target/content/index",
"lockingStrategy":"simple",
"fileSystemAccessType":"auto"
}
},
}
advanve thanks !!!