docs: def get(project, credentials=None):
          """Main Get method: Get project state, parameters, outputindex"""
          user, oauth_access_token = parsecredentials(credentials)
          if not Project.exists(project, user):
              return withheaders(flask.make_response("Project " + project + " was not found for user " + user,404) ,headers={'allow_origin': settings.ALLOW_ORIGIN})#404
          else:
              #if user and not Project.access(project, user) and not user in settings.ADMINS:
              #    return flask.make_response("Access denied to project " +  project + " for user " + user, 401) #401
              datafile = os.path.join(Project.path(project,credentials),'clam.xml')
              statuscode, statusmsg, statuslog, completion = Project.status(project, user) #pylint: disable=unused-variable
              if statuscode == clam.common.status.DONE and os.path.exists(datafile):
                  f = io.open(datafile,'r',encoding='utf-8')
                  xmldata = f.read(os.path.getsize(datafile))
                  f.close()
                  data = clam.common.data.CLAMData(xmldata, None,False, Project.path(project,credentials), loadmetadata=False)
                  return Project.response(user, project, settings.PARAMETERS,"",False,oauth_access_token,','.join([str(x) for x in data.program.matchedprofiles]) if data.program else "", data.program) #200
              else:
                  #HTTP request parameters may be used to pre-set global parameters when starting a project (issue #66)
                  for parametergroup, parameterlist in settings.PARAMETERS: #pylint: disable=unused-variable
                      for parameter in parameterlist:
                          value = parameter.valuefrompostdata(flask.request.values)
                          if value is not None:
                              parameter.set(value)
                  return Project.response(user, project, settings.PARAMETERS,"",False,oauth_access_token)