cleanup and support for editing links within the web app and rest api
This commit is contained in:
parent
5f6f718e92
commit
f9200db939
8 changed files with 180 additions and 38 deletions
|
@ -81,6 +81,10 @@ class CoreRest {
|
|||
return await postJson(`/sessions/${this.currentSession}/links`, link);
|
||||
}
|
||||
|
||||
async editLink(link) {
|
||||
return await putJson(`/sessions/${this.currentSession}/links`, link);
|
||||
}
|
||||
|
||||
async getLinks(nodeId) {
|
||||
return await $.getJSON(`/sessions/${this.currentSession}/nodes/${nodeId}/links`)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue