Ejemplo n.º 1
0
def get_folders():
    folders = Folder.getFolders(Folder())
    return folders
Ejemplo n.º 2
0
 def post(self):
     folder_name = self.request.get('folder_name')
     folder = Folder.createFolder(Folder(),str(folder_name))
     self.response.headers['Content-Type'] = 'aplication/json'
     return self.response.out.write(folder.content)   
Ejemplo n.º 3
0
 def get(self):
     folder = Folder.getSpaceInfo(Folder())
     self.response.headers['Content-Type'] = 'aplication/json'
     return self.response.out.write(folder.content)