priority seems to be always reported as 0, which does not match the output of bitbake-layers show_layers (for example, this command will report that the priority of the meta-yocto layer is '5', but the API returns priority 0 for this layer).
Fixed, will be available in webhob-poky/master-1_5-1909.
Verified fixed on webhob-poky/webhob-master-1_5-2009
Not working in webhob-poky/master:aa7bec2e9dffd6901ebe3accf748ce458d1481a3
Merged in origin/master and in origin/dora-toaster.
Wrong layer priority in dora-toaster: 4b64eb444ab065915267d8040bf878ecae9b00c4 master: 76751a03b1475f22499c488395274453096b9c38 see attached show_layers-output.png and layer_priority_in_simple_interface.png
Created attachment 1590 [details] layer_priority_in_simple_interface.png
Created attachment 1591 [details] show_layers-output.png
Works for me on poky-contrib toaster/master:82e00eadb893da8f7fedd0e59f980274eb492802
Working for me too