Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-8570

Why the User Endpoint not include email ?

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      I for to register user in my application send two request. One by /api/1.0/user for receive username and another by /api/1.0/users/username/emails.

      This can only to be one request. for example :

      #!json
      
      "user": {
              "username": "1team",
              "first_name": "1 Team",
             ******** HERE *********
               "email" : {
                   "active": true,
                   "email": "1team.bb@gmail.com",
                   "primary": true
               },
             ******** /HERE *********
              "last_name": "",
              "is_team": true,
              "avatar": "https://secure.gravatar.com/avatar/24b6be68b53e383c5d42bab4fe
      0bde2b?d=https%3A%2F%2Fdwz7u9t8u8usb.cloudfront.net%2Fm%2Fcc0a0a43301e%2Fimg%2Ft
      eam_no_avatar_32.png&s=32",
              "resource_uri": "/1.0/users/1team"
          }
      

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: