Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.73 KB

Contexts.md

File metadata and controls

26 lines (20 loc) · 1.73 KB

LaunchDarklyApi::Contexts

Properties

Name Type Description Notes
_links Hash<String, Link> The location and content type of related resources [optional]
total_count Integer The number of contexts [optional]
_environment_id String The environment ID where the context was evaluated
continuation_token String An obfuscated string that references the last context instance on the previous page of results. You can use this for pagination, however, we recommend using the <code>next</code> link instead. [optional]
items Array<ContextRecord> A collection of contexts. Can include multiple versions of contexts that have the same <code>kind</code> and <code>key</code>, but different <code>applicationId</code>s.

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::Contexts.new(
  _links: {&quot;next&quot;:{&quot;href&quot;:&quot;/app.launchdarkly.com/api/v2/projects/my-project/environments/my-environment/contexts?filter&#x3D;kind:{\&quot;equals\&quot;: [\&quot;organization\&quot;]}&amp;limit&#x3D;2&amp;continuationToken&#x3D;QAGFKH1313KUGI2351&quot;,&quot;type&quot;:&quot;application/json&quot;},&quot;self&quot;:{&quot;href&quot;:&quot;/api/v2/projects/my-proj/environments/my-env/contexts?filter&#x3D;kind:{\&quot;equals\&quot;: [\&quot;organization\&quot;]}&amp;limit&#x3D;2&amp;continuationToken&#x3D;QAGFKH1313KUGI2351&quot;,&quot;type&quot;:&quot;application/json&quot;}},
  total_count: 100,
  _environment_id: 57be1db38b75bf0772d11384,
  continuation_token: QAGFKH1313KUGI2351,
  items: null
)