Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.2 KB

ContextInstanceSearch.md

File metadata and controls

24 lines (18 loc) · 1.2 KB

LaunchDarklyApi::ContextInstanceSearch

Properties

Name Type Description Notes
filter String A collection of context instance filters [optional]
sort String Specifies a field by which to sort. LaunchDarkly supports sorting by timestamp in ascending order by specifying <code>ts</code> for this value, or descending order by specifying <code>-ts</code>. [optional]
limit Integer Specifies the maximum number of items in the collection to return (max: 50, default: 20) [optional]
continuation_token String Limits results to context instances with sort values after the value specified. You can use this for pagination, however, we recommend using the <code>next</code> link instead, because this value is an obfuscated string. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::ContextInstanceSearch.new(
  filter: {&quot;filter&quot;: &quot;kindKeys:{&quot;contains&quot;: [&quot;user:Henry&quot;]},&quot;sort&quot;: &quot;-ts&quot;,&quot;limit&quot;: 50},
  sort: -ts,
  limit: 10,
  continuation_token: QAGFKH1313KUGI2351
)