Commit 6800d209 authored by Jörg Richter's avatar Jörg Richter

REST client: adapt `/association` -> `/assoc`

See dmx-platform/dmx-platform#341
parent 7dab1a31
Pipeline #10018 passed with stage
in 1 second
......@@ -274,7 +274,7 @@ export default {
},
addAssocToTopicmap (topicmapId, assocId, viewProps) {
http.post(`/topicmaps/${topicmapId}/association/${assocId}`, viewProps)
http.post(`/topicmaps/${topicmapId}/assoc/${assocId}`, viewProps)
},
/**
......@@ -286,7 +286,7 @@ export default {
} else {
viewProps = {} // let axios send a proper Content-Type header
}
http.post(`/topicmaps/${topicmapId}/topic/${topicId}/association/${assocId}`, viewProps)
http.post(`/topicmaps/${topicmapId}/topic/${topicId}/assoc/${assocId}`, viewProps)
},
setTopicViewProps (topicmapId, topicId, viewProps) {
......@@ -295,7 +295,7 @@ export default {
},
setAssocViewProps (topicmapId, assocId, viewProps) {
http.put(`/topicmaps/${topicmapId}/association/${assocId}`, viewProps)
http.put(`/topicmaps/${topicmapId}/assoc/${assocId}`, viewProps)
},
// Note: no debounce here; consecutive calls might relate to *different* topics
......@@ -414,7 +414,7 @@ export default {
},
getAssocPermissions (id) {
return http.get(`/accesscontrol/association/${id}`).then(response =>
return http.get(`/accesscontrol/assoc/${id}`).then(response =>
response.data
)
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment