Example

{
  "content": "<p>Hola mundo</p>",
  "detected_source_language": "en",
  "provider": "DeepL.com"
}

Attributes

content

Description: The translated text of the status.
Type: String (HTML)
Version history:
4.0.0 - added

detected_source_language

Description: The language of the source text, as auto-detected by the machine translation provider.
Type: String (ISO 639 language code)
Version history:
4.0.0 - added

provider

Description: The service that provided the machine translation. Type: String
Version history:
4.0.0 - added

See also

POST /api/v1/statuses/:id/translate
app/serializers/rest/translation_serializer.rb