Project

General

Profile

Actions

Bug #9594

closed

User groups API does not contain "admin" field on GET requests.

Added by Shimon Shtein almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Steps to reproduce:
Issue GET request to this address: https://$host/api/v2/usergroups/<usergroup_name>

Expected result: All properties of the group, including "admin" flag.
Actual result: "admin" flag is missing from the JSON

Side note:
PUT request will accept the "admin" field, will respect it, and will show its new state in the response.

Actions

Also available in: Atom PDF