POST
/v2/projects/{projectId}/translations/{translationId}/qa-issues/suppressionsCreate a QA issue suppression
Creates a QA issue suppression for a translation using the supplied issue details. Provide the required message and type in the request body, with optional match fields to define the issue. Use the project and translation identifiers to scope the suppression.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
projectIdintegerrequired
The int64 identifier of the project containing the translation.
translationIdintegerrequired
The int64 identifier of the translation for which you want to create a QA issue suppression.
Match details for the QA issue to suppress. message and type are required.
messagestringrequired
The QA issue message identifier. Must be one of the accepted message values.
paramsobjectoptional
String key-value parameters used to match the QA issue.
pluralVariantstringoptional
The plural variant used to match the QA issue.
positionEndintegeroptional
The int32 ending position used to match the issue location.
positionStartintegeroptional
The int32 starting position used to match the issue location.
replacementstringoptional
The replacement text used to match the QA issue.
typestringrequired
The QA issue type. Must be one of the accepted type values.
200Returns confirmation that the QA issue suppression was created.
400Returned when the request body is invalid, omits a required field, or supplies an unsupported enum value.
codestringrequired
paramsarray<object>optional
401Returned when the request does not have valid authentication.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to create the suppression.
codestringrequired
paramsarray<object>optional
404Returned when the specified project or translation cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request body is invalid or omits message or type. A 401 is returned when the request has no valid authentication, and a 403 is returned when the authenticated user lacks permission to create the suppression. A 404 is returned when the specified project or translation cannot be found. message and type must use values accepted by their respective enums.