Source Strings
Upload Strings
Required scopes: project.source.string (Read and Write).
post/projects/{projectId}/strings/uploads
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project Identifier. Get via List Projects
Request body
Example request
{
"storageId": 61,
"branchId": 34,
"type": "xliff",
"parserVersion": 1,
"labelIds": [
1
],
"updateStrings": true,
"cleanupMode": true,
"importOptions": {
"scheme": {
"identifier": 0,
"sourcePhrase": 1,
"en": 2,
"de": 3
}
}
}Response
Upload strings was successfully started
Example response
{
"data": {
"identifier": "50fb3506-4127-4ba8-8296-f97dc7e3e0c3",
"status": "finished",
"progress": 100,
"attributes": {
"branchId": 38,
"storageId": 38,
"fileType": "android",
"parserVersion": 8,
"labelIds": [
1,
2
],
"importOptions": {
"scheme": {
"identifier": 0,
"sourcePhrase": 1,
"en": 2,
"de": 3
}
},
"updateOption": "clear_translations_and_approvals"
},
"createdAt": "2019-09-23T11:26:54+00:00",
"updatedAt": "2019-09-23T11:26:54+00:00",
"startedAt": "2019-09-23T11:26:54+00:00",
"finishedAt": "2019-09-23T11:26:54+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.