Versions Compared

Key

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

...

If copying files sounds too “primitive” in your ears, then please check out the web-based API. In most scenarios, you usually only need 6 to 10 methods to complete translation objectives. By default, the API listens on port 8089. The first method you will need to use in the web-based API establishes a connection and obtains a connection token. Here are a few examples:

   (GET) http://localhost:8089/api/connect?project=...&login=myname&password=whatever

To send a file to the “IN” directory, use:

   (PUT) /api/files/file?token=...&locale=en-US&folder=&filename=products\product1.xml

To poll which files have been fully translated and ready in “OUT”, use:

   (GET) /api/workprogress/translatedfiles?token=...

To download a translated file, use:

   (GET) /api/files/file?token=...&locale=fr&folder=&filename=products\product1.xml

...