Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The path /user/register is not listed on http://drupal.d8/admin/config/services/rest/resource/
Not sure this is a core issue in \Drupal\user\Plugin\rest\resource\UserRegistrationResource or ours.
Comments
Comment #2
phonkala CreditAttribution: phonkala commentedI don't think the url should be listed as it is only resource to enable the actual user registration. The api call will still be done to the /user/{user} endpoint.
EDIT: never mind, seems you do execute the user registration to /user/register endpoint. I guess then the url really should be visible as it seems really confusing otherwise.
Comment #3
Wim LeersThis is related to #2800097: Confusing UI: POST URL differs from GET/PATCH/DELETE URL, but UI doesn't indicate this!, and I think it's likely this will be fixed by that. Because it's effectively the same problem: a
POST
URL which does not get displayed by REST UI.Comment #4
Wim LeersAs predicted, this is fixed by #2800097. See #2800097-12: Confusing UI: POST URL differs from GET/PATCH/DELETE URL, but UI doesn't indicate this! for proof+explanation.