EvaluationService

POST /evaluate/v1/variant

Changed on

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/evaluate/v1/variant
  • Auth
    HTTP bearer

Request body

requestIdstring
namespaceKeystring required
flagKeystring required
entityIdstring required
contextobject required
referencestring

Response

OK

matchboolean
segmentKeysstring[]
reason'UNKNOWN_EVALUATION_REASON' | 'FLAG_DISABLED_EVALUATION_REASON' | 'MATCH_EVALUATION_REASON' | 'DEFAULT_EVALUATION_REASON' enum
variantKeystring
variantAttachmentstring
requestIdstring
requestDurationMillisnumber double
timestampstring date-time
flagKeystring

Changes

    • breaking

      the response's property type changed from integer to string for status

    • warning

      added the new DEFAULT_EVALUATION_REASON enum value to the response property for the response status

    • warning

      added the new FLAG_DISABLED_EVALUATION_REASON enum value to the response property for the response status

    • warning

      added the new MATCH_EVALUATION_REASON enum value to the response property for the response status

    • warning

      added the new UNKNOWN_EVALUATION_REASON enum value to the response property for the response status

    • breaking

      the response's property type changed from string to integer for status

    • info

      removed the DEFAULT_EVALUATION_REASON enum value from the response property for the response status

    • info

      removed the FLAG_DISABLED_EVALUATION_REASON enum value from the response property for the response status

    • info

      removed the MATCH_EVALUATION_REASON enum value from the response property for the response status

    • info

      removed the UNKNOWN_EVALUATION_REASON enum value from the response property for the response status