Update specific phrase

POST: /tm/context/<context_uuid>/phrase/<phrase_key>
Request params
Parameters תיאור
Response params
Parameters תיאור
source_text text to be translated in phrase
uuid A unique UUID for this phrase, generated by TM
context The context that the phrase related to.
target Array of target texts per target language. see example below
remarks text that clarifies phrase and given by user
flags null (currently not in use)
source_language slug name of phrase's source language , e.g english see Language Codes
phrase_key phrase key generated by TM or may be given by user

Request Example

curl --request POST "https://www.onehourtranslation.com/api/2/tm/context/c-3d2f0d91bbdd/phrase/ab8f37d89b1154ba18c78a7e4b8eef2acdfec1eb" --data "secret_key=<secret_key>&public_key=<public_key>&source_text=test phrase&target_language=nl-nl&target_text=test-zin"

Response Example

     "source_text":"test phrase",
       "spanish":["frase de prueba"],