Project

General

Profile

Actions

Feature #38948

closed

Add user status to users list API

Feature #38948: Add user status to users list API

Added by Tom Misilo over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Resolution:
Fixed

Description

Allow for returning all users, and return the status of the user in the response.

Updated by salman mp over 3 years ago Actions #1

Try /users.json?status=
It returns the list of all users but not included status of theme.

Updated by Tom Misilo over 3 years ago Actions #2

That seems to work to return the users, but doesn't return their status, so there is no easy to without querying every user individually to get their status. Is there a way to get their status as well in the returned data?

Updated by salman mp over 3 years ago Actions #3

:)
Try /users.json?status=1, /users.json?status=2 and /users.json?status=3, until that good day that the status field is included in the result.
Do this, instead of querying each user.

Updated by Marius BĂLTEANU almost 3 years ago Actions #4

  • Subject changed from Extend users.json response to Add user status to users list API
  • Assignee set to Marius BĂLTEANU
  • Target version set to 6.0.0

Updated by Marius BĂLTEANU almost 3 years ago Actions #5

  • Status changed from New to Resolved
  • Resolution set to Fixed

Feature added in r22637, the status is now available in the response as integer value.

Updated by Marius BĂLTEANU almost 3 years ago Actions #6

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom