Open Bug 2071909 Opened 25 days ago Updated 3 days ago

Migrate User REST resource to native Mojo API

Categories

(bugzilla.mozilla.org :: API, task)

Production

Tracking

()

UNCONFIRMED

People

(Reporter: xavier.lhour, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

Part of the REST-to-Mojo migration tracked in bug 2057358.

  • Port Bugzilla::WebService::User (create/get/login/logout/offer_account_by_email/update/valid_login/whoami) into Bugzilla::API::V1::User, alongside the existing /api/user/profile OAuth route already in that module. Please note this is the most auth-sensitive resource in the series: login/logout/valid_login interact directly with cookie and token issuance.
    => It should then land after Product and Group, once the native Mojo auth patterns from earlier resources have proven solid.
  • Preserve field-name translations (e.g. email to login, full_name to name)
  • Same delete/dispatch-table cleanup pattern used for prior resources
Blocks: 2057358
Depends on: 2078690
Depends on: 2078750
Depends on: 2078770
You need to log in before you can comment on or make changes to this bug.