Skip to content

Patch Rule

PATCH
/v1/sandbox/{sandbox_id}/match-making-rule/{match_making_rule_id}

Update an existing MatchMakingRule in a sandbox

Requires permission sandbox:config:edit.

Authorizations

Parameters

Path Parameters

match_making_rule_id
required
string format: uuid
sandbox_id
required

Sandbox ID

string format: uuid

Sandbox ID

Request Body required

object
match_making_ruleset_id

Which ruleset this MatchMakingRule belongs to

string format: uuid
comparison_operation

Which comparison operator is used when evaluating the rule

string
Allowed values: eq ne lt le gt ge
item_id

What item is being compared if this is an Inventory rule

string format: uuid
rule_type

What type of rule this is (determines what types of values are being compared

string
Allowed values: Inventory LinkingSize
comparison_value

What value is to be compared to

integer

Responses

200

Successful Response

object
match_making_ruleset_id
required

Which ruleset this MatchMakingRule belongs to

string format: uuid
comparison_operation
required

Which comparison operator is used when evaluating the rule

string
Allowed values: eq ne lt le gt ge
item_id

What item is being compared if this is an Inventory rule

string format: uuid
rule_type
required

What type of rule this is (determines what types of values are being compared

string
Allowed values: Inventory LinkingSize
comparison_value
required

What value is to be compared to

integer
sandbox_id

ID of the Sandbox

string format: uuid
last_modified_account_id

Account ID of the user who last modified the resource

string format: uuid
last_modified_timestamp

Timestamp of when the resource was last modified

string format: date-time
created_timestamp

Timestamp of when this resource was created

string format: date-time
match_making_rule_id
required

ID to uniquely identify this MatchMakingRule

string format: uuid

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string