Skip to main content

Update condition

Update one condition in a segment

Path Parameters
  • segmentId int64 required
  • conditionId int64 required
Request Body required
  • oneOf

  • weight int32 required

    More important conditions have greater values. Default value: 1

  • count int32

    Count of time elapsed since session became active according to the 'unitOfTime' field

  • include boolean

    Should visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

  • matchType string

    Possible values: [EQUAL, LOWER, GREATER]

    How to match the specified amount of time

  • unitOfTime string

    Possible values: [SECOND, MINUTE, HOUR, DAY]

    What unit of measurements will be used to define if sessions are active for the required duration

Responses

OK


Schema
  • oneOf

  • htmlDescription string

    Html readable description of the targeting condition

  • id int64

    Unique identifier

  • weight int32 required

    More important conditions have greater values. Default value: 1

  • count int32

    Count of time elapsed since session became active according to the 'unitOfTime' field

  • include boolean

    Should visitors who match to the condition be included to or excluded from the segment. Default value: 'true'

  • matchType string

    Possible values: [EQUAL, LOWER, GREATER]

    How to match the specified amount of time

  • unitOfTime string

    Possible values: [SECOND, MINUTE, HOUR, DAY]

    What unit of measurements will be used to define if sessions are active for the required duration

Loading...