...
errors: [{errorMsg: 'Given tmxData is no TMX.'}]
}
Values | |
---|---|
%service% | Name of service(default - t5memory, could be changed in t5m3mory.conf file |
%tm_name% | Name of Translation Memory |
Example | http://localhost:4040/t5memory/examle_tm/fuzzysearch/? |
Endpoints | ||||
---|---|---|---|---|
1 | Get the list of TMs | Returns JSON list of TMs | GET | /%service%/ |
2 | Create TM | Creates TM with the provided name | POST | /%service%/ |
3 | Create/Import TM in internal format | Import and unpack base64 encoded archive of .TMD, .TMI, .MEM files. Rename it to provided name | POST | /%service%/ |
4 | Delete TM | Deletes .TMD, .TMI, .MEM files | DELETE | /%service%/%tm_name%/f |
5 | Import TMX into TM | Import provided base64 encoded TMX file into TM | POST | /%service%/%tm_name%/import |
6 | Export TMX from TM | Creates TMX from tm. Encoded in base64 | GET | /%service%/%tm_name%/ |
7 | Export in Internal format | Creates and exports archive with .TMD, .TMI, .MEM files of TM | GET | /%service%/%tm_name%/ |
8 | Status of TM | Returns status\import status of TM | GET | /%service%/%tm_name%/status |
9 | Fuzzy search | Returns enrties\translations with small differences from requested | POST | /%service%/%tm_name%/fuzzysearch |
10 | Concordance search | Returns entries\translations that contain requested segment | POST | /%service%/%tm_name%/concordancesearch |
11 | Entry update | Updates entry\translation | POST | /%service%/%tm_name%/entry |
12 | Entry delete | Deletes entry\translation | POST | /%service%/%tm_name%/entrydelete |
13 | Save all TMs | Flushes all filebuffers(TMD, TMI files) into the filesystem | GET | /%service%_service/savetms |
14 | Shutdown service | Flushes all filebuffers into the filesystem and shutting down the service | GET | /%service%_service/shutdown |
15 | Test tag replacement call | For testing tag replacement | PUT | /%service%/ |
...