What is the use of entityId in while evaluate feature. #1276
Answered
by
markphelps
Bhautik0110
asked this question in
Q&A
-
Question
HTTP POST /api/v1/evaluate
{
"requestId": "string",
"flagKey": "string",
"entityId": "string", // what is the use?
"context": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
markphelps
Jan 18, 2023
Replies: 1 comment 3 replies
-
👋🏻 Hi @Bhautik0110 !
https://www.flipt.io/docs/concepts#entities probably explains it better than that
Hope that helps! |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Bhautik0110
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👋🏻 Hi @Bhautik0110 !
entityId
is used to uniquely id the 'what' you are evaluating so that you always get the same evaluation result for that entity for consistencyhttps://www.flipt.io/docs/concepts#entities probably explains it better than that
entityId
could represent a user, IP address, etc.Hope that helps!