Newer Version Available

This content describes an older version of this product. View Latest

Filter a Response Body

Filter response bodies in Connect REST API.
Resource
All
HTTP method
GET
Request parameters
exclude, include, and filterGroup

Use the exclude and include query parameters to filter a response body when making a request. The query value is a bar (|) delimited list of properties. URL encode the bar as %7C. Use a forward slash (/) before each property name.

Use the filterGroup query parameter to specify whether to return a Big, Medium, or Small response body. Every property in every response body is assigned one of these group sizes.

Request parameter example
This News Feed URL resource:

For a detailed list of rules and examples, see Specify Response Sizes.

Returns
A filtered response body
The request parameter example above returns this for the Feed response body: