...
URL: | /editor/languageresourceinstance/[ID] | |||
Available Methods: | GET / POST / PUT / DELETE | |||
Specialities: | Non filebased langauge resource can only be added by the "admin" role. Users with the role "pm" can add filebased entries. | Availability: |
Note |
---|
Only available for supporters of the crowdfunding until the crowdfunding is fully financed. |
Special URLs
URL | Methods | Parameters | Description |
---|---|---|---|
/editor/languageresourceinstance/[ID]/query | GET | segmentId: integer; the id of the segment to be queried | returns a list with query results, format see below |
/editor/languageresourceinstance/[ID]/search | GET / POST | query: string; the string to be searched in the underlying service | returns a list with search results, format see below |
/editor/languageresourceinstance/[ID]/download | GET | - | Returns the uploaded TM file - if any. |
/editor/languageresourceinstance/[ID]/import | POST | tmUpload: TM file uploaded as multipart/form-data | Imports the given TM file into the chosen TMMT instance |
/editor/languageresourceinstance/[ID]/tasks | GET / POST | GET: POST: | Gives some status information about the tasks associated to a specific TMMT. Triggers a reimport of the chosen tasks into the TM. |
...