Skip to main content
System StatusContact Support
VersionOne Community

group

The group parameter organizes results by value within an attribute. For example, stories can be grouped by status.

rest-1 URL Syntax

In rest-1.v1/Data and rest-1.oauth.v1/Data, there is no ability to group.

query.v1 Syntax

In query.v1 and query.legacy.v1, the group parameter is a subquery with from and select parameters. The queried assets are returned in the _children element of the grouped-on asset.

YAML

from: Story
select:
  - Name
  - Number
group:
  - from: Status
    select:
      - Name

JSON

{
  "from": "Story",
  "select":
    [
      "Name",
      "Number"
    ],
  "group":
    [{
      "from": "Status",
      "select":
        [
          "Name"
        ]
    }]
}
  • Was this article helpful?