"bpy.ops.wm.addon_install" error in 2.80

Does any body know it there has been a syntax change in 2.80 on how an addon_install is done. I have been getting this error from the 2.80 nightly build for about three days:

AttributeError: Calling operator "bpy.ops.wm.addon_install" error, could not be found

And I can’t tell if it is a proper error or the syntax has changed

It’s called bpy.ops.preferences.addon_install now.

Yes thank you, that does the job. Is that captured in any documentation? I did try an google my way out of that one but must have been missing a term or two.

Hi.

It is in the docs Blender Python 2.8 API.