in gstack/controllers/project.py [0:0]
def getproject(authorization, projectid):
project = _get_account_by_name(authorization, projectid)
if project:
metadata = {}
metadata['sshKeys'] = _list_ssh_keys(authorization)
publickey_storage[projectid] = metadata['sshKeys']
res = jsonify(_cloudstack_project_to_gce(project, metadata))
res.status_code = 200
else:
func_route = urllib.unquote_plus(
url_for(
'getproject',
projectid=projectid))
res = errors.resource_not_found(func_route)
return res