BREAKING The include_deleted and exclude_global_only parameters in GET /resource have been removed.
In resource list (GET /resource), resource types can be filtered using the exclude parameter, whose value is a CSV-style (comma-separated) list of the types to exclude from the results.
Supported types are active, deleted and globalonly.
If omittted or left empty, the parameter defaults to exclude=deleted, which means the results include all active resources.
Examples
List the first ten deleted resources:
GET /resource?exclude=active&p=1&i=10
List all active resources without the global-only ones:
GET /resource?exclude=deleted,globalonly
Changes
BREAKING
Theinclude_deleted
andexclude_global_only
parameters inGET /resource
have been removed.In resource list (
GET /resource
), resource types can be filtered using theexclude
parameter, whose value is a CSV-style (comma-separated) list of the types to exclude from the results.Supported types are
active
,deleted
andglobalonly
.If omittted or left empty, the parameter defaults to
exclude=deleted
, which means the results include all active resources.Examples
List the first ten deleted resources:
GET /resource?exclude=active&p=1&i=10
List all active resources without the global-only ones:
GET /resource?exclude=deleted,globalonly