Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 554 Bytes

selecting.md

File metadata and controls

24 lines (19 loc) · 554 Bytes

Selection

The select argument can be used to filter which attributes are present in the response.

It is a comma-separated list of attribute names. Nested attributes can be specified using a dot notation.

GET /rest/users/1?select=name
{
  "data": {
    "name": "Anthony"
  }
}

GraphQL does not need the select argument since it natively uses selection fields.