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

clemens.tolboom created an issue. See original summary.

phonkala’s picture

I 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.

Wim Leers’s picture

Title: Path /user/register is not presented in the UI » [PP-1] Path /user/register is not presented in the UI
Status: Active » Postponed
Related issues: +#2800097: Confusing UI: POST URL differs from GET/PATCH/DELETE URL, but UI doesn't indicate this!

This 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.

Wim Leers’s picture

Title: [PP-1] Path /user/register is not presented in the UI » Path /user/register is not presented in the UI
Status: Postponed » Closed (duplicate)

As 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.