Project

General

Profile

Actions

Feature #38948

closed

Add user status to users list API

Added by Tom Misilo 9 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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

Actions #1

Updated by salman mp 9 months ago

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

Actions #2

Updated by Tom Misilo 9 months ago

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?

Actions #3

Updated by salman mp 9 months ago

:)
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.

Actions #4

Updated by Marius BĂLTEANU 3 months ago

  • 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
Actions #5

Updated by Marius BĂLTEANU 3 months ago

  • 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.

Actions #6

Updated by Marius BĂLTEANU 3 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF