func (p *politeiawww) handleAllUnvetted(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleAllUnvetted")

	// Get the all unvetted command.
	var u v1.GetAllUnvetted
	err := util.ParseGetParams(r, &u)
	if err != nil {
		RespondWithError(w, r, 0, "handleAllUnvetted: ParseGetParams",
			v1.UserError{
				ErrorCode: v1.ErrorStatusInvalidInput,
			})
		return
	}

	ur := p.backend.ProcessAllUnvetted(u)
	util.RespondWithJSON(w, http.StatusOK, ur)
}
// handleAllUnvetted replies with the list of unvetted proposals.
handleAllUnvetted replies with the list of unvetted proposals.
// handleAllUnvetted replies with the list of unvetted proposals .
func (p *politeiawww) handleAllUnvetted(w http.ResponseWriter, r *http.Request) {
	log.Tracef("handleAllUnvetted")
	var u v1.GetAllUnvetted
	err := util.ParseGetParams(r, &u)
	if err != nil {
		RespondWithError(w, r, 0, "handleAllUnvetted: ParseGetParams",
			v1.UserError{
				ErrorCode: v1.ErrorStatusInvalidInput,
			})
		return
	}
	ur := p.backend.ProcessAllUnvetted(u)
	util.RespondWithJSON(w, http.StatusOK, ur)
}
func ( p * politeiawww ) handleAllUnvetted ( w http . ResponseWriter , r * http . Request ) { log . Tracef ( " " ) var u v1 . GetAllUnvetted err := util . ParseGetParams ( r , & u ) if err != nil { RespondWithError ( w , r , 0 , " " , v1 . UserError { ErrorCode : v1 . ErrorStatusInvalidInput , } ) return } ur := p . backend . ProcessAllUnvetted ( u ) util . RespondWithJSON ( w , http . StatusOK , ur ) }
handleAllUnvetted replies with the list of unvetted proposals.
handleAllUnvetted replies with the list of unvetted proposals .
// Get the all unvetted command.