Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The method executes asynchronously. It returns the operation ID which is a number.

Example:



Code Block
themelinenumberstrueConfluence
firstline1
linenumberstrue
228991


You would then wait a few seconds and request a detailed operation status using https://wordbee.atlassian.net/wiki/spaces/API2/pages/491571. This will return the status. You need to poll the method and wait 2 to 5 seconds in between polls until the status is Finished or Failed. Please read this page for a detailed explanation: Asynchronous operation

Code Block
linenumberstrue
{
  "trm": {
    "requestid":32230,
    "status":"Waiting",
    "statusText":"Waiting..."
  }
}


ERRORS

The api may return errors if:

  • You are not subscribed to MT Hive or MT Hive is not configured
  • The languages or option are not in the configuration. Note that this can also happen in the case of a language detection
  • The text exceeds the maximum length

...

Translation result:

...