REST API
The REST methods that TMEngine's server supports are:
Create Memory
List Memories
Open Memory
Close Memory
Import TMX File
Get Process Status
Export TMX File
Search Translations
Concordance Search
Rename Memory
Delete Memory
Stop Server
Default TMEngine URL is '
http://localhost:8000/TMServer/
'.
Note
It is possible to select a custom port for the server, passing the '
-port
' parameter to the script used for launching it.
All methods return a JSON object with a '
status
' field. Applications must watch this field and verify that it is set to '
OK
'.
In case of error, the JSON response includes a field named '
reason
' that contains the error cause.