apidocs icon indicating copy to clipboard operation
apidocs copied to clipboard

Updating user information

Open paulyoung opened this issue 9 years ago • 5 comments

I think the information on updating users is unclear.

"required" suggests that email address must be provided whenever an update is made. Is that only the case if the email address is being updated?

If I'm interpreting the User schema correctly, email address is not required and may not be present in order to send back in a PUT request anyway.

paulyoung avatar Apr 22 '15 06:04 paulyoung

Could I get confirmation on whether email address is required or not?

paulyoung avatar Sep 15 '15 23:09 paulyoung

In that particular API call it is required currently whether changed or not.

trustmaster avatar Sep 16 '15 09:09 trustmaster

So should email address be listed as required in the schema?

Otherwise, a GET request could return a user that doesn't have an email address which means it can't be updated.

paulyoung avatar Sep 28 '15 18:09 paulyoung

@trustmaster so is the User schema incorrect?

I interpret it's current state to mean that it may not be returned from the server, in which case an update can't be made.

paulyoung avatar Oct 17 '15 04:10 paulyoung

@paulyoung yes, it's a bug rather than a feature

trustmaster avatar Oct 17 '15 07:10 trustmaster