Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: Return 'user_id' in 'POST /users' response. #16107

Closed
wants to merge 1 commit into from

Conversation

akashaviator
Copy link
Collaborator

This adds 'user_id' to the simple success response for 'POST /users'
api endpoint. Appropriate changes have been made in the docs and
test_users.py.

Fixes #16072.

@akashaviator akashaviator force-pushed the create_user branch 2 times, most recently from 9afa1df to 4c3dcab Compare August 11, 2020 21:21
This adds 'user_id' to the simple success response for 'POST /users'
api endpoint. Appropriate changes have been made in the docs and
test_users.py.

Fixes  zulip#16072.
@akashaviator
Copy link
Collaborator Author

@orientor This is ready for a review.

@@ -10,6 +10,11 @@ below features are supported.

## Changes in Zulip 4.0

**Feature level 31**
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put this in Feature level 30 since we hadn't actually bumped API_FEATURE_LEVEL yet.

@timabbott
Copy link
Sponsor Member

Merged as 63173d5 after extending the similar API endpoint for creating bots to have the same feature. Thanks @akashaviator!

@timabbott timabbott closed this Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New user via the API: include the id of the new user in the response
3 participants