MT-EQuAl REST API
GET project/export
Returns all information associated with the specified project in the MT-EQuAl release installed on the specified hostname. The output includes the project name, description, evaluation format, user list, and guidelines
Endpoint
GET http(s)://hostname/api/project/export
Request Parameters
Header field
|
Type | Value |
---|---|---|
X-Api-Key |
string | Required. A valid access token from a registered MT-EQuAl account. The access token
must have been issued on behalf of the current user. |
Request data | Type | Value |
---|---|---|
id | string | Required. The project id. |
Response
On success, the response is a plain text with all evaluations (according with your role). Otherwise the response is structured in JSON as follow:
{
"header": {
"date": "Date and time of the response generation process",
"description": "Description of the invoked method or error message",
"status": "status/error code"
},
"result": []
}
Example
curl -X GET "https://hostname/api/project/export?id=1&format=csv" -H "X-Api-Key: {user access token}"
id,source,target-language,target-name,target,ev1,ev2,ev3,ev4,ev5,user 154,"junie moon dolly wear neo blythe crystal dream carnival navy pre-order",,sys1,"junie luna dolly desgaste neo blythe cristal sueƱo carnaval azul marino pre-order",No,N/A,N/A,N/A,N/A,chris ...