Get specific field values on Podio::filter
Hi,
in order to minimize the transferred data between each request to Podio, i'm trying to perform request but with lower data chunks. Every time that i want a list of items, all fields of that items are transferred. My ideia is to transfer only specific fields. How can i do that? On my application i'm using Podio client PHP.
-
We do have a
fields
parameter that's usually used to include more content, not less. Read here: https://developers.podio.com/index/api in the last section called "Bundling responses using fields parameter"PodioItem::filter() has an optional
$options
parameter you can use to pass thefields
: https://github.com/podio/podio-php/blob/master/models/PodioItem.php#L123-L129
Please sign in to leave a comment.
Comments
3 comments