Commit 1a32c82d authored by Jörg Richter's avatar Jörg Richter

REST API: change 2 topicmaps requests (#341)

BREAKING CHANGE

Change 2 requests:

## setTopicPosition()

    PUT /topicmaps/{id}/topic/{topic_id}/x/{x}/y/{y}

## setTopicVisibility()

    PUT /topicmaps/{id}/topic/{topic_id}/visibility/{visibility}
parent 02f35b2e
Pipeline #10027 passed with stages
in 8 minutes and 10 seconds
......@@ -263,7 +263,7 @@ public class TopicmapsPlugin extends PluginActivator implements TopicmapsService
}
@PUT
@Path("/{id}/topic/{topic_id}/{x}/{y}") // TODO: extend URL .../x/{x}/y/{y}
@Path("/{id}/topic/{topic_id}/x/{x}/y/{y}")
@Transactional
@Override
public void setTopicPosition(@PathParam("id") long topicmapId, @PathParam("topic_id") long topicId,
......@@ -288,7 +288,7 @@ public class TopicmapsPlugin extends PluginActivator implements TopicmapsService
}
@PUT
@Path("/{id}/topic/{topic_id}/{visibility}") // TODO: extend URL .../visibility/{visibility}
@Path("/{id}/topic/{topic_id}/visibility/{visibility}")
@Transactional
@Override
public void setTopicVisibility(@PathParam("id") long topicmapId, @PathParam("topic_id") long topicId,
......
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