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.