Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.1 KB

ContextSearch.md

File metadata and controls

24 lines (18 loc) · 1.1 KB

LaunchDarklyApi::ContextSearch

Properties

Name Type Description Notes
filter String A collection of context 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 contexts 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::ContextSearch.new(
  filter: *.name startsWith Jo,kind anyOf [&quot;user&quot;,&quot;organization&quot;],
  sort: -ts,
  limit: 10,
  continuation_token: QAGFKH1313KUGI2351
)