LaunchDarklyApi::ContextInstanceEvaluations
Name
Type
Description
Notes
items
Array<ContextInstanceEvaluation>
Details on the flag evaluations for this context instance
total_count
Integer
The number of flags
[optional]
_links
Hash<String, Link>
The location and content type of related resources
require 'launchdarkly_api'
instance = LaunchDarklyApi ::ContextInstanceEvaluations . new (
items : [ { " ; _links " ; :{ " ; self " ; :{ " ; href " ; :" ; /api/v 2 /projects /{ projectKey } /environments /{ environmentKey } /flags /evaluate " ; , " ; type " ; :" ; application /json " ; } , " ; site " ; :{ " ; href " ; :" ; /my-project/my -environment /features /sort . order /targeting " ; , " ; type " ; :" ; text /html " ; } } , " ; _value " ; :true , " ; key " ; :" ; sort . order " ; , " ; name " ; :" ; SortOrder " ; , " ; reason " ; :{ " ; kind " ; :" ; FALLTHROUGH " ; } } , { " ; _links " ; :{ " ; self " ; :{ " ; href " ; :" ; /api/v 2 /projects /{ projectKey } /environments /{ environmentKey } /flags /evaluate " ; , " ; type " ; :" ; application /json " ; } , " ; site " ; :{ " ; href " ; :" ; /my-project/my -environment /features /alternate . page /targeting " ; , " ; type " ; :" ; text /html " ; } } , " ; _value " ; :false , " ; key " ; :" ; alternate . page " ; , " ; name " ; :" ; AlternatePage " ; , " ; reason " ; :{ " ; kind " ; :" ; RULE_MATCH " ; , " ; ruleID " ; :" ; b2530cdf -14 c6 -4e16 -b660 -00239e08 f19b " ; , " ; ruleIndex " ; :1 } } ] ,
total_count : 2 ,
_links : { " ; self " ; :{ " ; href " ; :" ; /api/v 2 /projects /{ projectKey } /environments /{ environmentKey } /flags /evaluate " ; , " ; type " ; :" ; application /json " ; } }
)