Translations
Add Bundle
Required scopes: project.source.file (Read and Write).
post/projects/{projectId}/bundles
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
{
"name": "Resx bundle",
"format": "crowdin-resx",
"sourcePatterns": [
"/master"
],
"ignorePatterns": [
"/masterBranch"
],
"exportPattern": "strings-%two_letter_code%.resx",
"sourceLanguageExportPattern": "strings-%two_letter_code%.resx",
"labelIds": [
13,
27
],
"excludeLabelIds": [
5,
8
],
"languageIds": [
"uk",
"de",
"fr"
]
}Response
Bundle was successfully created
Example response
{
"data": {
"id": 1,
"name": "Resx bundle",
"format": "crowdin-resx",
"sourcePatterns": [
"/master"
],
"ignorePatterns": [
"/masterBranch"
],
"exportPattern": "strings-%two_letters_code%.resx",
"sourceLanguageExportPattern": "strings-%two_letters_code%.resx",
"labelMatchRule": "all",
"excludeLabelMatchRule": "any",
"labelIds": [
13,
27
],
"excludeLabelIds": [
5,
8
],
"languageIds": [
"uk",
"de",
"fr"
],
"webUrl": "https://crowdin.com/project/test/translations#bundles:100",
"createdAt": "2019-09-20T11:11:05+00:00",
"updatedAt": "2019-09-20T12:22:20+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.