...
Use the "fields" parameter in your query to specify the fields you want in the response. For example, the following query will return title
‘title’, url
‘URL’, and published‘published_timetime’ field.
Code Block |
---|
{ "q": "", "filter": "_id != ''", "fields": "title,url,published_time" } |
...
Note that if the record in your collection doesn’t have values for a field, then those values will not be returned in the response. For example, if one record doesn’t have published‘published_timetime’ value, it will still be returned in response with title and url.
If you want to only return fields that have all these three values, then you will have to use filters (e.g. "filter":"title!='',url!='',published_time>'2000-01-01'"
or use an IS_NOT_NULL
operator feature - only on our latest version)
Documentation
...