var jsRoutes = {}; (function(_root){
var _nS = function(c,f,b){var e=c.split(f||"."),g=b||_root,d,a;for(d=0,a=e.length;d<a;d++){g=g[e[d]]=g[e[d]]||{}}return g}
var _qS = function(items){var qs = ''; for(var i=0;i<items.length;i++) {if(items[i]) qs += (qs ? '&' : '') + items[i]}; return qs ? ('?' + qs) : ''}
var _s = function(p,s){return p+((s===true||(s&&s.secure))?'s':'')+'://'}
var _wA = function(r){return {ajax:function(c){c=c||{};c.url=r.url;c.type=r.method;return jQuery.ajax(c)}, method:r.method,type:r.method,url:r.url,absoluteURL: function(s){return _s('http',s)+'uperiscope.hpcf.cyi.ac.cy'+r.url},webSocketURL: function(s){return _s('ws',s)+'uperiscope.hpcf.cyi.ac.cy'+r.url}}}
_nS('controllers.Admin'); _root.controllers.Admin.reindexFiles = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "admin/reindexFiles"})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.createIndex = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "admin/createIndex"})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.buildIndex = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "admin/index/" + (function(k,v) {return v})("id", encodeURIComponent(id)) + "/build"})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.deleteIndex = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "admin/index/" + (function(k,v) {return v})("id", encodeURIComponent(id))})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.deleteAllIndexes = 
      function() {
      return _wA({method:"DELETE", url:"/clowder/" + "admin/index"})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.getIndexes = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "admin/indexes"})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.getAdapters = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "admin/adapters"})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.getExtractors = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "admin/extractors"})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.getMeasures = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "admin/measures"})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.getIndexers = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "admin/indexers"})
      }
   
_nS('controllers.Spaces'); _root.controllers.Spaces.getSpace = 
      function(id,size,direction) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/" + (function(k,v) {return v})("id", id) + _qS([(size == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("size", size)), (direction == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("direction", direction))])})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.removeRole = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "admin/roles/delete/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('controllers.Admin'); _root.controllers.Admin.editRole = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "admin/roles/" + (function(k,v) {return v})("id", id) + "/edit"})
      }
   
_nS('controllers.Files'); _root.controllers.Files.file = 
      function(id,dataset,space,folder) {
      return _wA({method:"GET", url:"/clowder/" + "files/" + (function(k,v) {return v})("id", id) + _qS([(dataset == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("dataset", dataset)), (space == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space)), (folder == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("folder", folder))])})
      }
   
_nS('controllers.Files'); _root.controllers.Files.fileBySection = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "file_by_section/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('controllers.Datasets'); _root.controllers.Datasets.dataset = 
      function(id,space,limit,filter) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/" + (function(k,v) {return v})("id", id) + _qS([(space == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (filter == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("filter", filter))])})
      }
   
_nS('controllers.Datasets'); _root.controllers.Datasets.datasetBySection = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "datasets_by_section/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('controllers.Datasets'); _root.controllers.Datasets.addFiles = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/" + (function(k,v) {return v})("id", id) + "/addFiles"})
      }
   
_nS('controllers.Folders'); _root.controllers.Folders.addFiles = 
      function(id,folderId) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/" + (function(k,v) {return v})("id", id) + "/" + (function(k,v) {return v})("folderId", encodeURIComponent(folderId)) + "/addFiles"})
      }
   
_nS('controllers.Geostreams'); _root.controllers.Geostreams.list = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "geostreams/sensors"})
      }
   
_nS('controllers.Collections'); _root.controllers.Collections.collection = 
      function(id,limit) {
      return _wA({method:"GET", url:"/clowder/" + "collection/" + (function(k,v) {return v})("id", id) + _qS([(limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit))])})
      }
   
_nS('controllers.Error'); _root.controllers.Error.authenticationRequiredMessage = 
      function(msg,url) {
      return _wA({method:"GET", url:"/clowder/" + "error/authenticationRequiredMessage/" + (function(k,v) {return v})("msg", encodeURIComponent(msg)) + "/" + (function(k,v) {return v})("url", encodeURIComponent(url))})
      }
   
_nS('controllers.Collections'); _root.controllers.Collections.getUpdatedDatasets = 
      function(id,index,limit) {
      return _wA({method:"GET", url:"/clowder/" + "collection/" + (function(k,v) {return v})("id", id) + "/datasets" + _qS([(index == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("index", index)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit))])})
      }
   
_nS('controllers.Collections'); _root.controllers.Collections.getUpdatedChildCollections = 
      function(id,index,limit) {
      return _wA({method:"GET", url:"/clowder/" + "collection/" + (function(k,v) {return v})("id", id) + "/childCollections" + _qS([(index == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("index", index)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit))])})
      }
   
_nS('controllers.Profile'); _root.controllers.Profile.viewProfileUUID = 
      function(uuid) {
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "profile/viewProfile/" + (function(k,v) {return v})("uuid", uuid)})
      }
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "profile/" + (function(k,v) {return v})("uuid", uuid)})
      }
      }
   
_nS('controllers.Assets'); _root.controllers.Assets.at = 
      function(file) {
      if (file == "/jsonld/contexts/metadata.jsonld") {
      return _wA({method:"GET", url:"/clowder/" + "contexts/metadata.jsonld"})
      }
      if (file == "/images/glyphicons-halflings-white.png") {
      return _wA({method:"GET", url:"/clowder/" + "assets/img/glyphicons-halflings-white.png"})
      }
      if (file == "/images/glyphicons-halflings.png") {
      return _wA({method:"GET", url:"/clowder/" + "assets/img/glyphicons-halflings.png"})
      }
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "assets/" + (function(k,v) {return v})("file", file)})
      }
      }
   
_nS('controllers.Application'); _root.controllers.Application.swaggerUI = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "swaggerUI"})
      }
   
_nS('api.Admin'); _root.api.Admin.reindex = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/reindex"})
      }
   
_nS('api.Comments'); _root.api.Comments.comment = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/comment/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Comments'); _root.api.Comments.removeComment = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/comment/" + (function(k,v) {return v})("id", id) + "/removeComment"})
      }
   
_nS('api.Comments'); _root.api.Comments.editComment = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/comment/" + (function(k,v) {return v})("id", id) + "/editComment"})
      }
   
_nS('api.Comments'); _root.api.Comments.mentionInComment = 
      function(userID,resourceID,resourceName,resourceType,commenterId) {
      return _wA({method:"POST", url:"/clowder/" + "api/comment/mention" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("userID", userID), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("resourceID", resourceID), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("resourceName", resourceName), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("resourceType", resourceType), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("commenterId", commenterId)])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.get = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Datasets'); _root.api.Datasets.list = 
      function(when,title,date,limit,exact) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets" + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (exact == null ? null : (function(k,v){return k+'='+(!!v)})("exact", exact))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.listCanEdit = 
      function(when,title,date,limit,exact) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/canEdit" + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (exact == null ? null : (function(k,v){return k+'='+(!!v)})("exact", exact))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.listMoveFileToDataset = 
      function(file_id,title,limit,exact) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/moveFileToDataset" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("file_id", file_id), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (exact == null ? null : (function(k,v){return k+'='+(!!v)})("exact", exact))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.comment = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/comment"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.createEmptyDataset = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/createempty"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.attachExistingFile = 
      function(ds_id,file_id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("ds_id", ds_id) + "/files/" + (function(k,v) {return v})("file_id", file_id)})
      }
   
_nS('api.Datasets'); _root.api.Datasets.attachMultipleFiles = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/attachmultiple"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.deleteDataset = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Datasets'); _root.api.Datasets.detachAndDeleteDataset = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/detachdelete"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.datasetFilesList = 
      function(id,count) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/listFiles" + _qS([(count == null ? null : (function(k,v){return k+'='+(!!v)})("count", count))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.datasetAllFilesList = 
      function(id, max) {
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/listAllFiles" + _qS([(max == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("max", max))])})
      }
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/files" + _qS([(max == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("max", max))])})
      }
      }
   
_nS('api.Datasets'); _root.api.Datasets.getTechnicalMetadataJSON = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/technicalmetadatajson"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.listInCollection = 
      function(coll_id) {
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/datasets"})
      }
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/getDatasets"})
      }
      }
   
_nS('api.Datasets'); _root.api.Datasets.getTags = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.addTags = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.copyDatasetToSpace = 
      function(datasetId,spaceId) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("datasetId", datasetId) + "/copyDatasetToSpace/" + (function(k,v) {return v})("spaceId", spaceId)})
      }
   
_nS('api.Datasets'); _root.api.Datasets.removeTag = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/removeTag"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.removeTags = 
      function(id) {
      if (true) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/tags/remove"})
      }
      if (true) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
      }
   
_nS('api.Datasets'); _root.api.Datasets.removeAllTags = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/tags/remove_all"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.updateInformation = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/editing"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.updateName = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/title"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.updateDescription = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/description"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.addCreator = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/creator"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.removeCreator = 
      function(id,creator) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/creator/remove" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("creator", creator)])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.moveCreator = 
      function(id,creator,newPos) {
      return _wA({method:"PUT", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/creator/reorder" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("creator", creator), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("newPos", newPos)])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.updateLicense = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/license"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.follow = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/follow"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.unfollow = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/unfollow"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.detachFile = 
      function(ds_id, file_id, ignoreNotFound) {
      if (true) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("ds_id", ds_id) + "/filesRemove/" + (function(k,v) {return v})("file_id", file_id) + "/" + (function(k,v) {return v})("ignoreNotFound", encodeURIComponent(ignoreNotFound))})
      }
      if (true) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("ds_id", ds_id) + "/" + (function(k,v) {return v})("file_id", file_id) + _qS([(ignoreNotFound == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("ignoreNotFound", ignoreNotFound))])})
      }
      }
   
_nS('api.Datasets'); _root.api.Datasets.download = 
      function(id,bagit,compression,tracking) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/download" + _qS([(bagit == null ? null : (function(k,v){return k+'='+(!!v)})("bagit", bagit)), (compression == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("compression", compression)), (tracking == null ? null : (function(k,v){return k+'='+(!!v)})("tracking", tracking))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.downloadPartial = 
      function(id,fileList,bagit) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/downloadPartial" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("fileList", fileList), (bagit == null ? null : (function(k,v){return k+'='+(!!v)})("bagit", bagit))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.downloadFolder = 
      function(id,folderId,bagit) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/downloadFolder" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("folderId", folderId), (bagit == null ? null : (function(k,v){return k+'='+(!!v)})("bagit", bagit))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.getPreviews = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/getPreviews"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.updateAccess = 
      function(id,aceess) {
      return _wA({method:"PUT", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/access" + _qS([(aceess == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("aceess", aceess))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.addFileEvent = 
      function(id,inFolder,fileCount) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/addFileEvent" + _qS([(function(k,v){return k+'='+(!!v)})("inFolder", inFolder), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("fileCount", fileCount)])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.getMetadataDefinitions = 
      function(id,space) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/metadata" + _qS([(space == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space))])})
      }
   
_nS('api.Datasets'); _root.api.Datasets.moveFileBetweenDatasets = 
      function(datasetId,toDataset,fileId) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("datasetId", datasetId) + "/moveBetweenDatasets/" + (function(k,v) {return v})("toDataset", toDataset) + "/" + (function(k,v) {return v})("fileId", fileId)})
      }
   
_nS('api.Datasets'); _root.api.Datasets.users = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/users"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.restoreDataset = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/datasets/restore/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Datasets'); _root.api.Datasets.emptyTrash = 
      function() {
      return _wA({method:"DELETE", url:"/clowder/" + "api/datasets/emptyTrash"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.queueArchival = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/queueArchival"})
      }
   
_nS('api.Datasets'); _root.api.Datasets.queueUnarchival = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", id) + "/queueUnarchival"})
      }
   
_nS('api.Extractions'); _root.api.Extractions.submitFilesToExtractor = 
      function(ds_id,file_ids) {
      return _wA({method:"POST", url:"/clowder/" + "api/selected/submit/" + (function(k,v) {return v})("ds_id", ds_id) + "/" + (function(k,v) {return v})("file_ids", encodeURIComponent(file_ids))})
      }
   
_nS('api.Files'); _root.api.Files.download = 
      function(id, tracking) {
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/blob" + _qS([(tracking == null ? null : (function(k,v){return k+'='+(!!v)})("tracking", tracking))])})
      }
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + _qS([(tracking == null ? null : (function(k,v){return k+'='+(!!v)})("tracking", tracking))])})
      }
      }
   
_nS('api.Files'); _root.api.Files.archive = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/archive"})
      }
   
_nS('api.Files'); _root.api.Files.sendArchiveRequest = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/sendArchiveRequest"})
      }
   
_nS('api.Files'); _root.api.Files.unarchive = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/unarchive"})
      }
   
_nS('api.Files'); _root.api.Files.sendUnarchiveRequest = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/sendUnarchiveRequest"})
      }
   
_nS('api.Files'); _root.api.Files.comment = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/comment"})
      }
   
_nS('api.Files'); _root.api.Files.getTags = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
   
_nS('api.Files'); _root.api.Files.addTags = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
   
_nS('api.Files'); _root.api.Files.removeTags = 
      function(id) {
      if (true) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/tags/remove"})
      }
      if (true) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
      }
   
_nS('api.Files'); _root.api.Files.removeAllTags = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/tags/remove_all"})
      }
   
_nS('api.Files'); _root.api.Files.updateLicense = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/license"})
      }
   
_nS('api.Files'); _root.api.Files.updateFileName = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/filename"})
      }
   
_nS('api.Files'); _root.api.Files.updateDescription = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/updateDescription"})
      }
   
_nS('api.Files'); _root.api.Files.extract = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/extracted_metadata"})
      }
   
_nS('api.Files'); _root.api.Files.bulkDeleteFiles = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/files/bulkRemove"})
      }
   
_nS('api.Files'); _root.api.Files.removeFile = 
      function(id) {
      if (true) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/remove"})
      }
      if (true) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id)})
      }
      }
   
_nS('api.Files'); _root.api.Files.follow = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/follow"})
      }
   
_nS('api.Files'); _root.api.Files.unfollow = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/unfollow"})
      }
   
_nS('api.Files'); _root.api.Files.getTechnicalMetadataJSON = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/technicalmetadatajson"})
      }
   
_nS('api.Files'); _root.api.Files.filePreviewsList = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/listpreviews"})
      }
   
_nS('api.Files'); _root.api.Files.updateMetadata = 
      function(id,extractor_id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/updateMetadata" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("extractor_id", extractor_id)])})
      }
   
_nS('api.Files'); _root.api.Files.addMetadata = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/metadata"})
      }
   
_nS('api.Files'); _root.api.Files.getMetadataDefinitions = 
      function(id,space) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/metadataDefinitions" + _qS([(space == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space))])})
      }
   
_nS('api.Files'); _root.api.Files.users = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/users"})
      }
   
_nS('api.Files'); _root.api.Files.getMetadataJsonLD = 
      function(id,extractor) {
      return _wA({method:"GET", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("id", id) + "/metadata.jsonld" + _qS([(extractor == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("extractor", extractor))])})
      }
   
_nS('api.Previews'); _root.api.Previews.upload = 
      function(iipKey) {
      return _wA({method:"POST", url:"/clowder/" + "api/previews" + _qS([(iipKey == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("iipKey", iipKey))])})
      }
   
_nS('api.Previews'); _root.api.Previews.uploadMetadata = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/previews/" + (function(k,v) {return v})("id", id) + "/metadata"})
      }
   
_nS('api.Previews'); _root.api.Previews.download = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/previews/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Previews'); _root.api.Previews.getMetadata = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/previews/" + (function(k,v) {return v})("id", id) + "/metadata"})
      }
   
_nS('api.Search'); _root.api.Search.searchMultimediaIndex = 
      function(section_id) {
      return _wA({method:"GET", url:"/clowder/" + "api/search/multimediasearch" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("section_id", section_id)])})
      }
   
_nS('api.Search'); _root.api.Search.search = 
      function(query,resource_type,datasetid,collectionid,spaceid,folderid,field,tag,from,size,page,sort,order) {
      return _wA({method:"GET", url:"/clowder/" + "api/search" + _qS([(query == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("query", query)), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("resource_type", resource_type), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("datasetid", datasetid), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("collectionid", collectionid), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("spaceid", spaceid), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("folderid", folderid), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("field", field), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("tag", tag), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("from", from), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("size", size), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("page", page), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("sort", sort), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("order", order)])})
      }
   
_nS('api.Search'); _root.api.Search.searchJson = 
      function(query,grouping,from,size) {
      return _wA({method:"GET", url:"/clowder/" + "api/search/json" + _qS([(query == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("query", query)), (grouping == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("grouping", grouping)), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("from", from), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("size", size)])})
      }
   
_nS('api.Sections'); _root.api.Sections.add = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/sections"})
      }
   
_nS('api.Sections'); _root.api.Sections.delete = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/sections/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Sections'); _root.api.Sections.comment = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/sections/" + (function(k,v) {return v})("id", id) + "/comments"})
      }
   
_nS('api.Sections'); _root.api.Sections.getTags = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/sections/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
   
_nS('api.Sections'); _root.api.Sections.addTags = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/sections/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
   
_nS('api.Sections'); _root.api.Sections.removeTags = 
      function(id) {
      if (true) {
      return _wA({method:"POST", url:"/clowder/" + "api/sections/" + (function(k,v) {return v})("id", id) + "/tags/remove"})
      }
      if (true) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/sections/" + (function(k,v) {return v})("id", id) + "/tags"})
      }
      }
   
_nS('api.Sections'); _root.api.Sections.removeAllTags = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/sections/" + (function(k,v) {return v})("id", id) + "/tags/remove_all"})
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.searchSensors = 
      function(geocode,sensor_name,geojson) {
      return _wA({method:"GET", url:"/clowder/" + "api/geostreams/sensors" + _qS([(geocode == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geocode", geocode)), (sensor_name == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("sensor_name", sensor_name)), (geojson == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geojson", geojson))])})
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.searchStreams = 
      function(geocode,stream_name,geojson) {
      return _wA({method:"GET", url:"/clowder/" + "api/geostreams/streams" + _qS([(geocode == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geocode", geocode)), (stream_name == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("stream_name", stream_name)), (geojson == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geojson", geojson))])})
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.getSensor = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/geostreams/sensors/" + (function(k,v) {return v})("id", encodeURIComponent(id))})
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.getStream = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/geostreams/streams/" + (function(k,v) {return v})("id", encodeURIComponent(id))})
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.getSensorStreams = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/geostreams/sensors/" + (function(k,v) {return v})("id", encodeURIComponent(id)) + "/streams"})
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.searchDatapoints = 
      function(operator, since, until, geocode, stream_id, sensor_id, sources, attributes, format, semi, onlyCount, window_start, window_end, binning, geojson) {
      if (operator == "" && window_start == null && window_end == null) {
      return _wA({method:"GET", url:"/clowder/" + "api/geostreams/datapoints" + _qS([(since == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("since", since)), (until == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("until", until)), (geocode == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geocode", geocode)), (stream_id == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("stream_id", stream_id)), (sensor_id == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("sensor_id", sensor_id)), (sources == null ? null : (function(k,vs){var l=vs&&vs.length,r=[],i=0;for(;i<l;i++){r[i]=(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,vs[i])}return r.join('&')})("sources", sources)), (attributes == null ? null : (function(k,vs){var l=vs&&vs.length,r=[],i=0;for(;i<l;i++){r[i]=(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,vs[i])}return r.join('&')})("attributes", attributes)), (format == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("format", format)), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("semi", semi), (onlyCount == null ? null : (function(k,v){return k+'='+(!!v)})("onlyCount", onlyCount)), (binning == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("binning", binning)), (geojson == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geojson", geojson))])})
      }
      if (operator == "averages" && window_start == null && window_end == null) {
      return _wA({method:"GET", url:"/clowder/" + "api/geostreams/datapoints/averages" + _qS([(since == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("since", since)), (until == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("until", until)), (geocode == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geocode", geocode)), (stream_id == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("stream_id", stream_id)), (sensor_id == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("sensor_id", sensor_id)), (sources == null ? null : (function(k,vs){var l=vs&&vs.length,r=[],i=0;for(;i<l;i++){r[i]=(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,vs[i])}return r.join('&')})("sources", sources)), (attributes == null ? null : (function(k,vs){var l=vs&&vs.length,r=[],i=0;for(;i<l;i++){r[i]=(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,vs[i])}return r.join('&')})("attributes", attributes)), (format == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("format", format)), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("semi", semi), (onlyCount == null ? null : (function(k,v){return k+'='+(!!v)})("onlyCount", onlyCount)), (binning == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("binning", binning)), (geojson == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geojson", geojson))])})
      }
      if (operator == "trends") {
      return _wA({method:"GET", url:"/clowder/" + "api/geostreams/datapoints/trends" + _qS([(since == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("since", since)), (until == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("until", until)), (geocode == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geocode", geocode)), (stream_id == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("stream_id", stream_id)), (sensor_id == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("sensor_id", sensor_id)), (sources == null ? null : (function(k,vs){var l=vs&&vs.length,r=[],i=0;for(;i<l;i++){r[i]=(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,vs[i])}return r.join('&')})("sources", sources)), (attributes == null ? null : (function(k,vs){var l=vs&&vs.length,r=[],i=0;for(;i<l;i++){r[i]=(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,vs[i])}return r.join('&')})("attributes", attributes)), (format == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("format", format)), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("semi", semi), (onlyCount == null ? null : (function(k,v){return k+'='+(!!v)})("onlyCount", onlyCount)), (window_start == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("window_start", window_start)), (window_end == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("window_end", window_end)), (binning == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("binning", binning)), (geojson == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("geojson", geojson))])})
      }
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.deleteSensor = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/geostreams/sensors/" + (function(k,v) {return v})("id", encodeURIComponent(id))})
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.updateSensorMetadata = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/geostreams/sensors/" + (function(k,v) {return v})("id", encodeURIComponent(id))})
      }
   
_nS('api.Geostreams'); _root.api.Geostreams.patchStreamMetadata = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/geostreams/streams/" + (function(k,v) {return v})("id", encodeURIComponent(id))})
      }
   
_nS('api.Collections'); _root.api.Collections.list = 
      function(when, title, date, limit, exact) {
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections" + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (exact == null ? null : (function(k,v){return k+'='+(!!v)})("exact", exact))])})
      }
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/list" + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (exact == null ? null : (function(k,v){return k+'='+(!!v)})("exact", exact))])})
      }
      }
   
_nS('api.Collections'); _root.api.Collections.listCanEdit = 
      function(when,title,date,limit,exact) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/canEdit" + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (exact == null ? null : (function(k,v){return k+'='+(!!v)})("exact", exact))])})
      }
   
_nS('api.Collections'); _root.api.Collections.addDatasetToCollectionOptions = 
      function(when,ds_id,title,date,limit,exact) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/datasetPossibleParents/" + (function(k,v) {return v})("ds_id", ds_id) + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (exact == null ? null : (function(k,v){return k+'='+(!!v)})("exact", exact))])})
      }
   
_nS('api.Collections'); _root.api.Collections.listPossibleParents = 
      function(when,currentCollectionId,title,date,limit,exact) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/possibleParents" + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("currentCollectionId", currentCollectionId), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (exact == null ? null : (function(k,v){return k+'='+(!!v)})("exact", exact))])})
      }
   
_nS('api.Collections'); _root.api.Collections.restoreCollection = 
      function(collectionId) {
      return _wA({method:"PUT", url:"/clowder/" + "api/collections/restore/" + (function(k,v) {return v})("collectionId", collectionId)})
      }
   
_nS('api.Collections'); _root.api.Collections.emptyTrash = 
      function() {
      return _wA({method:"DELETE", url:"/clowder/" + "api/collections/emptyTrash"})
      }
   
_nS('api.Selected'); _root.api.Selected.get = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "api/selected"})
      }
   
_nS('api.Selected'); _root.api.Selected.add = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/selected"})
      }
   
_nS('api.Selected'); _root.api.Selected.remove = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/selected/remove"})
      }
   
_nS('api.Selected'); _root.api.Selected.deleteAll = 
      function() {
      return _wA({method:"DELETE", url:"/clowder/" + "api/selected/files"})
      }
   
_nS('api.Selected'); _root.api.Selected.downloadAll = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "api/selected/files"})
      }
   
_nS('api.Selected'); _root.api.Selected.clearAll = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/selected/clear"})
      }
   
_nS('api.Selected'); _root.api.Selected.tagAll = 
      function(tags) {
      return _wA({method:"POST", url:"/clowder/" + "api/selected/tag" + _qS([(function(k,vs){var l=vs&&vs.length,r=[],i=0;for(;i<l;i++){r[i]=(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,vs[i])}return r.join('&')})("tags", tags)])})
      }
   
_nS('api.Collections'); _root.api.Collections.attachPreview = 
      function(c_id,p_id) {
      return _wA({method:"POST", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("c_id", c_id) + "/previews/" + (function(k,v) {return v})("p_id", p_id)})
      }
   
_nS('api.Collections'); _root.api.Collections.attachDataset = 
      function(coll_id,ds_id) {
      return _wA({method:"POST", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/datasets/" + (function(k,v) {return v})("ds_id", ds_id)})
      }
   
_nS('api.Collections'); _root.api.Collections.removeDataset = 
      function(coll_id, ds_id, ignoreNotFound) {
      if (true) {
      return _wA({method:"POST", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/datasetsRemove/" + (function(k,v) {return v})("ds_id", ds_id) + "/" + (function(k,v) {return v})("ignoreNotFound", encodeURIComponent(ignoreNotFound))})
      }
      if (true) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/datasets/" + (function(k,v) {return v})("ds_id", ds_id) + _qS([(ignoreNotFound == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("ignoreNotFound", ignoreNotFound))])})
      }
      }
   
_nS('api.Collections'); _root.api.Collections.removeCollection = 
      function(coll_id) {
      if (true) {
      return _wA({method:"POST", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/remove"})
      }
      if (true) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id)})
      }
      }
   
_nS('api.Collections'); _root.api.Collections.attachSubCollection = 
      function(coll_id,sub_coll_id) {
      return _wA({method:"POST", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/addSubCollection/" + (function(k,v) {return v})("sub_coll_id", sub_coll_id)})
      }
   
_nS('api.Collections'); _root.api.Collections.removeSubCollection = 
      function(coll_id,sub_coll_id,ignoreNotFound) {
      return _wA({method:"POST", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/removeSubCollection/" + (function(k,v) {return v})("sub_coll_id", sub_coll_id) + _qS([(ignoreNotFound == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("ignoreNotFound", ignoreNotFound))])})
      }
   
_nS('api.Collections'); _root.api.Collections.follow = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("id", id) + "/follow"})
      }
   
_nS('api.Collections'); _root.api.Collections.unfollow = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("id", id) + "/unfollow"})
      }
   
_nS('api.Collections'); _root.api.Collections.updateCollectionName = 
      function(coll_id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/title"})
      }
   
_nS('api.Collections'); _root.api.Collections.updateCollectionDescription = 
      function(coll_id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/description"})
      }
   
_nS('api.Collections'); _root.api.Collections.getCollection = 
      function(coll_id) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id)})
      }
   
_nS('api.Collections'); _root.api.Collections.removeFromSpaceAllowed = 
      function(coll_id,space_id) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("coll_id", coll_id) + "/removeFromSpaceAllowed/" + (function(k,v) {return v})("space_id", space_id)})
      }
   
_nS('api.Collections'); _root.api.Collections.download = 
      function(id,compression,bagit) {
      return _wA({method:"GET", url:"/clowder/" + "api/collections/" + (function(k,v) {return v})("id", id) + "/download" + _qS([(compression == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("compression", compression)), (bagit == null ? null : (function(k,v){return k+'='+(!!v)})("bagit", bagit))])})
      }
   
_nS('api.Spaces'); _root.api.Spaces.get = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Spaces'); _root.api.Spaces.removeSpace = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Spaces'); _root.api.Spaces.list = 
      function(when,title,date,limit) {
      return _wA({method:"GET", url:"/clowder/" + "api/spaces" + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit))])})
      }
   
_nS('api.Spaces'); _root.api.Spaces.listCanEdit = 
      function(when,title,date,limit) {
      return _wA({method:"GET", url:"/clowder/" + "api/spaces/canEdit" + _qS([(when == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("when", when)), (title == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("title", title)), (date == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("date", date)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit))])})
      }
   
_nS('api.Spaces'); _root.api.Spaces.addCollectionToSpace = 
      function(spaceId,collectionId) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("spaceId", spaceId) + "/addCollectionToSpace/" + (function(k,v) {return v})("collectionId", collectionId)})
      }
   
_nS('api.Spaces'); _root.api.Spaces.addDatasetToSpace = 
      function(spaceId,datasetId) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("spaceId", spaceId) + "/addDatasetToSpace/" + (function(k,v) {return v})("datasetId", datasetId)})
      }
   
_nS('api.Spaces'); _root.api.Spaces.removeCollection = 
      function(spaceId,collectionId,removeDatasets) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("spaceId", spaceId) + "/removeCollection/" + (function(k,v) {return v})("collectionId", collectionId) + _qS([(function(k,v){return k+'='+(!!v)})("removeDatasets", removeDatasets)])})
      }
   
_nS('api.Spaces'); _root.api.Spaces.removeDataset = 
      function(spaceId,datasetId) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("spaceId", spaceId) + "/removeDataset/" + (function(k,v) {return v})("datasetId", datasetId)})
      }
   
_nS('api.Spaces'); _root.api.Spaces.updateSpace = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/update"})
      }
   
_nS('api.Spaces'); _root.api.Spaces.updateUsers = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/updateUsers"})
      }
   
_nS('api.Spaces'); _root.api.Spaces.removeUser = 
      function(id,removeUser) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/removeUser" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("removeUser", removeUser)])})
      }
   
_nS('api.Spaces'); _root.api.Spaces.follow = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/follow"})
      }
   
_nS('api.Spaces'); _root.api.Spaces.unfollow = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/unfollow"})
      }
   
_nS('api.Spaces'); _root.api.Spaces.acceptRequest = 
      function(id,user,role) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/acceptRequest" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("user", user), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("role", role)])})
      }
   
_nS('api.Spaces'); _root.api.Spaces.rejectRequest = 
      function(id,user) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/rejectRequest" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("user", user)])})
      }
   
_nS('api.Spaces'); _root.api.Spaces.verifySpace = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/verify"})
      }
   
_nS('api.Tree'); _root.api.Tree.getChildrenOfNode = 
      function(nodeType,nodeId,mine) {
      return _wA({method:"GET", url:"/clowder/" + "api/tree/getChildrenOfNode" + _qS([(nodeType == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("nodeType", nodeType)), (nodeId == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("nodeId", nodeId)), (mine == null ? null : (function(k,v){return k+'='+(!!v)})("mine", mine))])})
      }
   
_nS('api.Users'); _root.api.Users.getUser = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "api/me"})
      }
   
_nS('api.Users'); _root.api.Users.findById = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/users/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Users'); _root.api.Users.follow = 
      function(followeeUUID) {
      return _wA({method:"POST", url:"/clowder/" + "api/users/follow" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("followeeUUID", followeeUUID)])})
      }
   
_nS('api.Users'); _root.api.Users.unfollow = 
      function(followeeUUID) {
      return _wA({method:"POST", url:"/clowder/" + "api/users/unfollow" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("followeeUUID", followeeUUID)])})
      }
   
_nS('api.Users'); _root.api.Users.updateName = 
      function(id,firstName,lastName) {
      return _wA({method:"POST", url:"/clowder/" + "api/users/" + (function(k,v) {return v})("id", id) + "/updateName" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("firstName", firstName), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("lastName", lastName)])})
      }
   
_nS('api.Users'); _root.api.Users.list = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "api/users"})
      }
   
_nS('api.Users'); _root.api.Users.keysAdd = 
      function(name) {
      return _wA({method:"POST", url:"/clowder/" + "api/users/keys" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("name", name)])})
      }
   
_nS('api.Users'); _root.api.Users.keysDelete = 
      function(key) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/users/keys/" + (function(k,v) {return v})("key", encodeURIComponent(key))})
      }
   
_nS('api.Relations'); _root.api.Relations.findTargets = 
      function(sourceId,sourceType,targetType) {
      return _wA({method:"GET", url:"/clowder/" + "api/relations/search" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("sourceId", sourceId), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("sourceType", sourceType), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("targetType", targetType)])})
      }
   
_nS('api.Relations'); _root.api.Relations.add = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/relations"})
      }
   
_nS('api.Relations'); _root.api.Relations.delete = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/relations/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Projects'); _root.api.Projects.addproject = 
      function(project) {
      return _wA({method:"POST", url:"/clowder/" + "api/projects/addproject" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("project", project)])})
      }
   
_nS('api.Institutions'); _root.api.Institutions.addinstitution = 
      function(institution) {
      return _wA({method:"POST", url:"/clowder/" + "api/institutions/addinstitution" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("institution", institution)])})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.getCurationObjectOre = 
      function(curationId) {
      return _wA({method:"GET", url:"/clowder/" + "api/curations/" + (function(k,v) {return v})("curationId", curationId) + "/ore"})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.findMatchmakingRepositories = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/matchmaker"})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.retractCurationObject = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "spaces/curations/retract/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.getCurationFiles = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/curationFile"})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.deleteCurationFile = 
      function(id,parentId,curationFileId) {
      return _wA({method:"DELETE", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/files/" + (function(k,v) {return v})("curationFileId", curationFileId) + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("parentId", parentId)])})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.deleteCurationFolder = 
      function(id,parentId,curationFolderId) {
      return _wA({method:"DELETE", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/folders/" + (function(k,v) {return v})("curationFolderId", curationFolderId) + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("parentId", parentId)])})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.savePublishedObject = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/status"})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.getMetadataDefinitionsByFile = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/getMetadataDefinitionsByFile"})
      }
   
_nS('api.CurationObjects'); _root.api.CurationObjects.getMetadataDefinitions = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/metadataDefinitions"})
      }
   
_nS('api.ContextLD'); _root.api.ContextLD.addContext = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/contexts"})
      }
   
_nS('api.ContextLD'); _root.api.ContextLD.getContextByName = 
      function(name) {
      return _wA({method:"GET", url:"/clowder/" + "api/contexts/" + (function(k,v) {return v})("name", encodeURIComponent(name)) + "/context.json"})
      }
   
_nS('api.ContextLD'); _root.api.ContextLD.removeById = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/contexts/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.ContextLD'); _root.api.ContextLD.getContextById = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/contexts/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Metadata'); _root.api.Metadata.addUserMetadata = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/metadata.jsonld"})
      }
   
_nS('api.Metadata'); _root.api.Metadata.getDefinitions = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/definitions"})
      }
   
_nS('api.Metadata'); _root.api.Metadata.getDefinition = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/definitions/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Metadata'); _root.api.Metadata.getMetadataDefinition = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/definition/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Metadata'); _root.api.Metadata.getDefinitionsDistinctName = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/distinctdefinitions"})
      }
   
_nS('api.Metadata'); _root.api.Metadata.getAutocompleteName = 
      function(filter) {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/autocompletenames" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("filter", filter)])})
      }
   
_nS('api.Metadata'); _root.api.Metadata.getUrl = 
      function(in_url) {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/url/" + (function(k,v) {return v})("in_url", in_url)})
      }
   
_nS('api.Metadata'); _root.api.Metadata.addDefinition = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/metadata/definitions"})
      }
   
_nS('api.Metadata'); _root.api.Metadata.addDefinitionToSpace = 
      function(id) {
      return _wA({method:"POST", url:"/clowder/" + "api/spaces/" + (function(k,v) {return v})("id", id) + "/metadata"})
      }
   
_nS('api.Metadata'); _root.api.Metadata.editDefinition = 
      function(id,spaceId) {
      return _wA({method:"PUT", url:"/clowder/" + "api/metadata/definitions/" + (function(k,v) {return v})("id", id) + _qS([(spaceId == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("spaceId", spaceId))])})
      }
   
_nS('api.Metadata'); _root.api.Metadata.deleteDefinition = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "admin/metadata/definitions/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Metadata'); _root.api.Metadata.removeMetadata = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/metadata.jsonld/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Metadata'); _root.api.Metadata.listPeople = 
      function(term,limit) {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/people" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("term", term), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)])})
      }
   
_nS('api.Metadata'); _root.api.Metadata.getPerson = 
      function(pid) {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/people/" + (function(k,v) {return v})("pid", encodeURIComponent(pid))})
      }
   
_nS('api.Metadata'); _root.api.Metadata.getRepository = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/metadata/repository/" + (function(k,v) {return v})("id", encodeURIComponent(id))})
      }
   
_nS('api.Metadata'); _root.api.Metadata.createVocabulary = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/standardvocab"})
      }
   
_nS('api.Metadata'); _root.api.Metadata.updateVocabulary = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/standardvocab/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Metadata'); _root.api.Metadata.deleteVocabulary = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/standardvocab/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Events'); _root.api.Events.sendExceptionEmail = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "sendEmail"})
      }
   
_nS('api.Extractions'); _root.api.Extractions.addNewFilesetEvent = 
      function(id,fileids) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("id", encodeURIComponent(id)) + "/filesetUploadEvent" + _qS([(function(k,vs){var l=vs&&vs.length,r=[],i=0;for(;i<l;i++){r[i]=(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,vs[i])}return r.join('&')})("fileids", fileids)])})
      }
   
_nS('api.Extractions'); _root.api.Extractions.submitFileToExtractor = 
      function(file_id) {
      return _wA({method:"POST", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("file_id", file_id) + "/extractions"})
      }
   
_nS('api.Extractions'); _root.api.Extractions.submitDatasetToExtractor = 
      function(ds_id) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("ds_id", ds_id) + "/extractions"})
      }
   
_nS('api.Extractions'); _root.api.Extractions.cancelFileExtractionSubmission = 
      function(file_id,msg_id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/files/" + (function(k,v) {return v})("file_id", file_id) + "/extractions/" + (function(k,v) {return v})("msg_id", msg_id)})
      }
   
_nS('api.Extractions'); _root.api.Extractions.cancelDatasetExtractionSubmission = 
      function(ds_id,msg_id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("ds_id", ds_id) + "/extractions/" + (function(k,v) {return v})("msg_id", msg_id)})
      }
   
_nS('api.Extractions'); _root.api.Extractions.addExtractorInfo = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/extractors"})
      }
   
_nS('api.Extractions'); _root.api.Extractions.getExtractorInfo = 
      function(name) {
      return _wA({method:"GET", url:"/clowder/" + "api/extractors/" + (function(k,v) {return v})("name", encodeURIComponent(name))})
      }
   
_nS('api.Extractions'); _root.api.Extractions.deleteExtractor = 
      function(extractorName) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/extractions/" + (function(k,v) {return v})("extractorName", encodeURIComponent(extractorName)) + "/delete"})
      }
   
_nS('api.Extractions'); _root.api.Extractions.createExtractorsLabel = 
      function() {
      return _wA({method:"POST", url:"/clowder/" + "api/extractors/labels"})
      }
   
_nS('api.Extractions'); _root.api.Extractions.updateExtractorsLabel = 
      function(id) {
      return _wA({method:"PUT", url:"/clowder/" + "api/extractors/labels/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Extractions'); _root.api.Extractions.deleteExtractorsLabel = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/extractors/labels/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('api.Folders'); _root.api.Folders.createFolder = 
      function(parentDatasetId) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("parentDatasetId", parentDatasetId) + "/newFolder"})
      }
   
_nS('api.Folders'); _root.api.Folders.deleteFolder = 
      function(parentDatasetId,folderId) {
      return _wA({method:"DELETE", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("parentDatasetId", parentDatasetId) + "/deleteFolder/" + (function(k,v) {return v})("folderId", folderId)})
      }
   
_nS('api.Folders'); _root.api.Folders.updateFolderName = 
      function(parentDatasetId,folderId) {
      return _wA({method:"PUT", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("parentDatasetId", parentDatasetId) + "/updateName/" + (function(k,v) {return v})("folderId", folderId)})
      }
   
_nS('api.Folders'); _root.api.Folders.getAllFoldersByDatasetId = 
      function(datasetId) {
      return _wA({method:"GET", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("datasetId", datasetId) + "/folders"})
      }
   
_nS('api.Folders'); _root.api.Folders.moveFileBetweenFolders = 
      function(datasetId,toFolder,fileId) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("datasetId", datasetId) + "/moveFile/" + (function(k,v) {return v})("toFolder", toFolder) + "/" + (function(k,v) {return v})("fileId", fileId)})
      }
   
_nS('api.Folders'); _root.api.Folders.moveFileToDataset = 
      function(datasetId,fromFolder,fileId) {
      return _wA({method:"POST", url:"/clowder/" + "api/datasets/" + (function(k,v) {return v})("datasetId", datasetId) + "/moveToDataset/" + (function(k,v) {return v})("fromFolder", fromFolder) + "/" + (function(k,v) {return v})("fileId", fileId)})
      }
   
_nS('api.Thumbnails'); _root.api.Thumbnails.get = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "api/thumbnails/" + (function(k,v) {return v})("id", id) + "/blob"})
      }
   
_nS('api.Tree'); _root.api.Tree.getChildrenOfNode = 
      function(nodeType,nodeId,mine) {
      return _wA({method:"GET", url:"/clowder/" + "api/tree/getChildrenOfNode" + _qS([(nodeType == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("nodeType", nodeType)), (nodeId == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("nodeId", nodeId)), (mine == null ? null : (function(k,v){return k+'='+(!!v)})("mine", mine))])})
      }
   
_nS('controllers.Login'); _root.controllers.Login.isLoggedIn = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "login/isLoggedIn"})
      }
   
_nS('controllers.Login'); _root.controllers.Login.ldapAuthenticate = 
      function(uid,password) {
      return _wA({method:"POST", url:"/clowder/" + "ldap/authenticate" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("uid", uid), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("password", password)])})
      }
   
_nS('controllers.Files'); _root.controllers.Files.file = 
      function(id,dataset,space,folder) {
      return _wA({method:"GET", url:"/clowder/" + "files/" + (function(k,v) {return v})("id", id) + _qS([(dataset == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("dataset", dataset)), (space == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space)), (folder == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("folder", folder))])})
      }
   
_nS('controllers.Datasets'); _root.controllers.Datasets.dataset = 
      function(id,space,limit,filter) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/" + (function(k,v) {return v})("id", id) + _qS([(space == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (filter == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("filter", filter))])})
      }
   
_nS('controllers.Datasets'); _root.controllers.Datasets.newDataset = 
      function(space,collection) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/new" + _qS([(function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space), (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("collection", collection)])})
      }
   
_nS('controllers.Datasets'); _root.controllers.Datasets.createStep2 = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/createStep2" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("id", id)])})
      }
   
_nS('controllers.ToolManager'); _root.controllers.ToolManager.launchTool = 
      function(sessionName,ttype,datasetId,datasetName) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/launchTool" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("sessionName", sessionName), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("ttype", ttype), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("datasetId", datasetId), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("datasetName", datasetName)])})
      }
   
_nS('controllers.ToolManager'); _root.controllers.ToolManager.getLaunchableTools = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "datasets/launchableTools"})
      }
   
_nS('controllers.ToolManager'); _root.controllers.ToolManager.uploadDatasetToTool = 
      function(instanceID,datasetID,datasetName) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/uploadToTool" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("instanceID", instanceID), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("datasetID", datasetID), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("datasetName", datasetName)])})
      }
   
_nS('controllers.ToolManager'); _root.controllers.ToolManager.getInstances = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "datasets/getInstances"})
      }
   
_nS('controllers.ToolManager'); _root.controllers.ToolManager.refreshToolSidebar = 
      function(datasetid,datasetName) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/refreshToolList" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("datasetid", datasetid), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("datasetName", datasetName)])})
      }
   
_nS('controllers.ToolManager'); _root.controllers.ToolManager.removeInstance = 
      function(toolType,instanceID) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/removeInstance" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("toolType", toolType), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("instanceID", instanceID)])})
      }
   
_nS('controllers.Folders'); _root.controllers.Folders.createFolder = 
      function(parentDatasetId) {
      return _wA({method:"POST", url:"/clowder/" + "datasets/" + (function(k,v) {return v})("parentDatasetId", parentDatasetId) + "/newFolder"})
      }
   
_nS('controllers.Datasets'); _root.controllers.Datasets.getUpdatedFilesAndFolders = 
      function(datasetId,limit,pageIndex,space,filter) {
      return _wA({method:"POST", url:"/clowder/" + "datasets/" + (function(k,v) {return v})("datasetId", datasetId) + "/updatedFilesAndFolders" + _qS([(limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit)), (pageIndex == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("pageIndex", pageIndex)), (space == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space)), (filter == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("filter", filter))])})
      }
   
_nS('controllers.Collections'); _root.controllers.Collections.collection = 
      function(id,limit) {
      return _wA({method:"GET", url:"/clowder/" + "collection/" + (function(k,v) {return v})("id", id) + _qS([(limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit))])})
      }
   
_nS('controllers.Collections'); _root.controllers.Collections.newCollection = 
      function(space) {
      return _wA({method:"GET", url:"/clowder/" + "collections/new" + _qS([(function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("space", space)])})
      }
   
_nS('controllers.Collections'); _root.controllers.Collections.newCollectionWithParent = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "collections/" + (function(k,v) {return v})("id", id) + "/newchildCollection"})
      }
   
_nS('controllers.Spaces'); _root.controllers.Spaces.stagingArea = 
      function(id,index,limit) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/" + (function(k,v) {return v})("id", id) + "/stagingArea" + _qS([(index == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("index", index)), (limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit))])})
      }
   
_nS('controllers.Extractors'); _root.controllers.Extractors.selectExtractors = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "extractors"})
      }
   
_nS('controllers.Extractors'); _root.controllers.Extractors.manageLabels = 
      function() {
      return _wA({method:"GET", url:"/clowder/" + "extractors/labels"})
      }
   
_nS('controllers.Extractors'); _root.controllers.Extractors.showJobHistory = 
      function(extractorName) {
      return _wA({method:"GET", url:"/clowder/" + "extractors/" + (function(k,v) {return v})("extractorName", encodeURIComponent(extractorName)) + "/history"})
      }
   
_nS('controllers.Extractors'); _root.controllers.Extractors.submitSelectedExtractions = 
      function(ds_id) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/submit/" + (function(k,v) {return v})("ds_id", ds_id)})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.submit = 
      function(id,spaceId) {
      return _wA({method:"POST", url:"/clowder/" + "dataset/" + (function(k,v) {return v})("id", id) + "/curations/spaces/" + (function(k,v) {return v})("spaceId", spaceId) + "/submit"})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.getCurationObject = 
      function(id,limit) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + _qS([(limit == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit))])})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.getUpdatedFilesAndFolders = 
      function(id,curationFolderId,limit,pageIndex) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/updatedFilesAndFolders" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("curationFolderId", curationFolderId), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("pageIndex", pageIndex)])})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.findMatchingRepositories = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/matchmaker"})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.sendToRepository = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/sendToRepository"})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.compareToRepository = 
      function(id,repository) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/compareToRepository" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("repository", repository)])})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.deleteCuration = 
      function(id) {
      return _wA({method:"DELETE", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id)})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.getStatusFromRepository = 
      function(id) {
      return _wA({method:"GET", url:"/clowder/" + "spaces/curations/" + (function(k,v) {return v})("id", id) + "/getStatusFromRepository"})
      }
   
_nS('controllers.CurationObjects'); _root.controllers.CurationObjects.getPublishedData = 
      function(space) {
      if (space == "") {
      return _wA({method:"GET", url:"/clowder/" + "publishedData"})
      }
      if (true) {
      return _wA({method:"GET", url:"/clowder/" + "publishedData/" + (function(k,v) {return v})("space", encodeURIComponent(space))})
      }
      }
   
_nS('controllers.Events'); _root.controllers.Events.getEvents = 
      function(index) {
      return _wA({method:"GET", url:"/clowder/" + "getEvents" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("index", index)])})
      }
   
_nS('controllers.Collections'); _root.controllers.Collections.sortedListInSpace = 
      function(space,offset,limit,showPublic) {
      return _wA({method:"GET", url:"/clowder/" + "collections/sorted" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("space", space), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("offset", offset), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("limit", limit), (showPublic == null ? null : (function(k,v){return k+'='+(!!v)})("showPublic", showPublic))])})
      }
   
_nS('controllers.Datasets'); _root.controllers.Datasets.sortedListInSpace = 
      function(space,offset,size,showPublic) {
      return _wA({method:"GET", url:"/clowder/" + "datasets/sorted" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("space", space), (offset == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("offset", offset)), (size == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("size", size)), (showPublic == null ? null : (function(k,v){return k+'='+(!!v)})("showPublic", showPublic))])})
      }
   
_nS('controllers.Users'); _root.controllers.Users.sendEmail = 
      function(subject,from,recipient,body) {
      return _wA({method:"POST", url:"/clowder/" + "users/sendEmail" + _qS([(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("subject", subject), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("from", from), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("recipient", recipient), (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("body", body)])})
      }
   
_nS('controllers.FileLinks'); _root.controllers.FileLinks.createLink = 
      function(fileId) {
      return _wA({method:"POST", url:"/clowder/" + "files/" + (function(k,v) {return v})("fileId", fileId) + "/links"})
      }
   
_nS('controllers.Search'); _root.controllers.Search.search = 
      function(query) {
      return _wA({method:"GET", url:"/clowder/" + "search" + _qS([(query == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("query", query))])})
      }
   
})(jsRoutes)
          