api documentation update + m5nr fix

Updated api.html to be current (used the auto generator)
fixed missing brackets in request->attributes definition in m5nr