From 2dd324367f73a320bb23ce80922d1a335fa5d18a Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Tue, 21 Jun 2016 14:20:34 +0000 Subject: [PATCH] SSDM-3733 : New V3 API Call to retrieve session information SVN: 36720 --- .../cisd/openbis/public/resources/api/v3/openbis.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/openbis.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/openbis.js index 60a4b1766e0..eef8a86cab5 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/openbis.js +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/openbis.js @@ -145,6 +145,18 @@ define([ 'jquery', 'util/Json' ], function(jquery, stjsUtil) { }); } + this.getSessionInformation = function() { + var thisFacade = this; + return thisFacade._private.ajaxRequest({ + url : openbisUrl, + data : { + "method" : "getSessionInformation", + "params" : [ thisFacade._private.sessionToken ] + }, + returnType : "SessionInformation" + }); + } + this.createSpaces = function(creations) { var thisFacade = this; return thisFacade._private.ajaxRequest({ -- GitLab