Skip to content

Api REST calls returning lists in Foulkon don't return the identifier in the JSON #16

Description

@beikern

Example:

Listing group members, the group does not have members.

Result:

{
    "limit": 1000,
    "offset": 0,
    "total": 0
}

What I've expected:

{
    "members": [ ],
    "limit": 1000,
    "offset": 0,
    "total": 2
}

The parser should support the lack of "members" identifier when there are not members registered.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions