PATCH api/users/{guid}/matches
Update the read state of many matches
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| guid | string |
None. |
Body Parameters
PatchMatchGroupReadReq| Name | Description | Type | Additional information |
|---|---|---|---|
| MatchIds |
The ids of the matches you want to change the read state of |
Collection of integer |
None. |
| MatchesAreRead |
Whether the matches should be marked as read or not |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"matchIds": [
1,
2
],
"matchesAreRead": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Update the read state of many matches
PatchMatchGroupUpdatedResp| Name | Description | Type | Additional information |
|---|---|---|---|
| NumMatchesUpdated |
The number of matches which were successfully updated |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"numMatchesUpdated": 1
}
Error responses
- invalid_fields - The submitted information is incomplete or otherwise invalid. The description of the error will be a detailed summary of invalid fields