GET https://platform.api.onesky.io/1/projects/:project_id/import-tasks
Authentication
Required. Details described here
Parameters
Name | Required? | Default | Sample | Description |
page | optional | 1 |
Set page number to retrieve. (min: 1) | |
per_page | optional | 50 |
Set how many groups to retrieve for each time. (max: 100, min: 1) | |
status | optional | all |
in-progress |
Filter to show only import tasks of specific status with one of the followings:
|
Response
{
"meta": {
"status": 200
},
"data": [
{
"id": 177,
"file": {
"name": "string2.po"
},
"status": "in-progress",
"created_at": "2013-10-07T15:25:00+0000",
"created_at_timestamp": 1381159500
},
{
"id": 176,
"file": {
"name": "string.po"
},
"status": "in-progress",
"created_at": "2013-10-07T15:27:10+0000",
"created_at_timestamp": 1381159630
}
]
}
Remark:
status
can be eithercompleted
,in-progress
orfailed
.- Response may vary according to the way used to import strings. More response sample here.
- Import history is accessible up to one year.
GET https://platform.api.onesky.io/1/projects/:project_id/import-tasks/:import_id
Authentication
Required. Details described here
Parameters
NONE
Response
{
"meta": {
"status": 200
},
"data": {
"id": 176,
"file": {
"name": "string.po",
"format": "GNU_PO",
"locale": {
"code": "en-US",
"english_name": "English (United States)",
"local_name": "English (United States)",
"locale": "en",
"region" : "US"
}
},
"string_count": 236,
"word_count": 1260,
"status": "in-progress",
"created_at": "2013-10-07T15:27:10+0000",
"created_at_timestamp": 1381159630
}
}
Remark:
status
can be eithercompleted
,in-progress
orfailed
.- Response may vary according to the way used to import strings. More response sample here.
- Import history is accessible up to one year.