Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27105

Don't require the "username" property when creating a user with the REST API

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Rest API

      Description

      Currently, when doing a POST on the user endpoint, we need to send:

      POST /user
      {
        "entity-type": "user",
        "properties": {
          "username": "joe",
          "firstName": "Joe",
          "lastName": "DiMaggio"
      }
      

      We should use "id" at the root level instead and return 400 if missing.

      Same thing for a PUT request.

       

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: