Hi,
I don't know if it is a bug, but when I send GET request to my custom entity, I received an error 500.
The watchdog entry :
Symfony\Component\Routing\Exception\RouteNotFoundException : Route "entity.MY_ENTITY_TYPE.canonical" does not exist. dans Drupal\Core\Routing\RouteProvider->getRouteByName() (ligne 191 de /Applications/MAMP/htdocs/drupal8/core/lib/Drupal/Core/Routing/RouteProvider.php).
It's worry because one of my custom entity without bundle works perfectly.
But, this entity is configured to accept bundles. If I add only one bundle, it's OK. But when I add another bundle and I try to access to one entry of this new bundle via REST, Drupal save this error.
My endpoint :
http//mydrupal.env/MY_ENTITY/3?_format=json
Thanks,
Anthony (french who have bad english)