changes
This commit is contained in:
32
public-valetax.http
Normal file
32
public-valetax.http
Normal file
@@ -0,0 +1,32 @@
|
||||
@hostname = localhost
|
||||
@port = 5090
|
||||
@host = {{hostname}}:{{port}}
|
||||
|
||||
### Get Tree
|
||||
POST http://{{host}}/api.tree/get?treeName=MyTree
|
||||
|
||||
### Create Root Node
|
||||
POST http://{{host}}/api.node/create?treeName=MyTree&nodeName=RootNode
|
||||
|
||||
### Create Child Node
|
||||
POST http://{{host}}/api.node/create?treeName=MyTree&parentNodeId=1&nodeName=ChildNode
|
||||
|
||||
### Rename Node
|
||||
POST http://{{host}}/api.node/rename?nodeId=1&newNodeName=NewRootName
|
||||
|
||||
### Delete Node
|
||||
POST http://{{host}}/api.node/delete?nodeId=2
|
||||
|
||||
### Get Journal Entries Range
|
||||
POST http://{{host}}/api.journal/getRange?skip=0&take=10
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"search": ""
|
||||
}
|
||||
|
||||
### Get Single Journal Entry
|
||||
POST http://{{host}}/api.journal/getSingle?id=1
|
||||
|
||||
### Authenticate (Optional)
|
||||
POST http://{{host}}/api.partner/rememberMe?code=unique_code
|
||||
Reference in New Issue
Block a user