The purpose of this method is to retrieve statistics of translated content
URL
CODE
(GET) /api/files/statistics?token={token}&filter={filter}
PARAMETERS
Parameters are:
token | The session token obtained when connecting. |
filter | Filter results. Param can be nullable. |
RESULTS
The method returns JSON and HTTP status 200. Other HTTP status values indicate an error.
EXAMPLE
A typical result may look like:
CODE
{
"changes": {
"last": "2020-03-06T09:20:39.7131728Z"
},
"locales": [
{
"locale": "fr",
"localeName": "French (fr)",
"files": 5,
"segments": 45,
"words": 1067
},
{
"locale": "de",
"localeName": "German (de)",
"files": 5,
"segments": 45,
"words": 1067
},
{
"locale": "es",
"localeName": "Spanish (es)",
"files": 5,
"segments": 45,
"words": 1067
}
],
"unique": {
"segments": 43,
"words": 1028
},
"uniquecontext": {
"segments": 45,
"words": 1067
},
"total": {
"files": 15,
"folders": 1,
"segments": 135,
"words": 3201
},
"extensions": [
{
"extension": ".xliff",
"files": 15,
"segments": 135,
"words": 3201
}
],
"labels": [
{
"label": "-",
"files": 15,
"segments": 135,
"words": 3201
}
],
"dates": [
{
"date": "2020-03-06T00:00:00",
"files": 5,
"segments": 45,
"words": 1067
},
{
"date": "2020-02-07T00:00:00",
"files": 0,
"segments": 0,
"words": 0
},
{
"date": "2020-02-06T00:00:00",
"files": 0,
"segments": 0,
"words": 0
}
]
}
|