PUT
/v2/projects/{projectId}/languages/{languageId}/key/{keyId}/suggestion/{suggestionId}/set-activeSet a translation suggestion to active
Sets a translation suggestion to the active state for a key in a language within a project. Provide the identifiers for the project, language, key, and suggestion to select the suggestion to reactivate. The response returns the suggestion with its updated state.
languageIdintegerrequired
The integer identifier of the language associated with the suggestion.
keyIdintegerrequired
The integer identifier of the key associated with the suggestion.
suggestionIdintegerrequired
The integer identifier of the suggestion to set active.
projectIdintegerrequired
The integer identifier of the project containing the language and key.
200Returns the suggestion with its updated state, along with its identifier, translation, language and key identifiers, author, and timestamps.
authorobjectrequired
User who created the comment
createdAtstringrequired
idintegerrequired
isPluralbooleanrequired
keyIdintegerrequired
languageIdintegerrequired
statestringrequired
translationstringoptional
updatedAtstringrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when you do not have permission to change the suggestion state.
codestringrequired
paramsarray<object>optional
404Returned when the project, language, key, or suggestion is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid, a 401 when authentication is missing or invalid, a 403 when you lack permission, and a 404 when a referenced resource is not found. The languageId path parameter, keyId path parameter, suggestionId path parameter, and projectId path parameter must identify the requested resources.