You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/assets/api/enterprise/file-based.yml
+92-11Lines changed: 92 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -26052,6 +26052,8 @@ components:
26052
26052
- /includeInContextPseudoLanguage
26053
26053
- /labelIds
26054
26054
- /excludeLabelIds
26055
+
- /labelMatchRule
26056
+
- /excludeLabelMatchRule
26055
26057
type: object
26056
26058
discriminator:
26057
26059
propertyName: op
@@ -26094,16 +26096,14 @@ components:
26094
26096
BundleCreateForm:
26095
26097
required:
26096
26098
- name
26097
-
- format
26098
26099
- sourcePatterns
26099
-
- exportPattern
26100
26100
properties:
26101
26101
name:
26102
26102
description: 'Defines name'
26103
26103
type: string
26104
26104
example: 'Resx bundle'
26105
26105
format:
26106
-
description: 'Defines export file format'
26106
+
description: "Defines export file format. If not provided, files will be exported in their original format.\n\n__Note:__ Required for strings-based projects"
description: "Bundle export pattern. Defines bundle name in resulting translations bundle. **Required** if `format` is specified. If `format` is not specified, uses default pattern based on file structure\n\n__Note:__ Can't contain `: * ? \" < > |` symbols"
26123
26123
type: string
26124
26124
example: strings-%two_letter_code%.resx
26125
+
nullable: true
26125
26126
isMultilingual:
26126
26127
description: 'Export translations in multilingual file'
26127
26128
type: boolean
@@ -26139,21 +26140,47 @@ components:
26139
26140
type: boolean
26140
26141
default: true
26141
26142
labelIds:
26142
-
description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
26143
+
description: "Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)\n\n__Note:__ Can't be used when `format` is `null`"
26143
26144
type: array
26144
26145
items:
26145
26146
type: integer
26146
26147
example:
26147
26148
- 13
26148
26149
- 27
26149
26150
excludeLabelIds:
26150
-
description: 'Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)'
26151
+
description: "Label Identifiers. Get via [List Labels](#operation/api.projects.labels.getMany)\n\n__Note:__ Can't be used when `format` is `null`"
26151
26152
type: array
26152
26153
items:
26153
26154
type: integer
26154
26155
example:
26155
26156
- 5
26156
26157
- 8
26158
+
labelMatchRule:
26159
+
description: "Match rule for labels:\n- \"all\" - all labels must be present in string\n- \"any\" - any of the labels must be present in string\n\n __Note:__ Can only be used when `labelIds` parameter is provided"
26160
+
type: string
26161
+
default: all
26162
+
enum:
26163
+
- all
26164
+
- any
26165
+
nullable: true
26166
+
excludeLabelMatchRule:
26167
+
description: "Match rule for excluded labels:\n - \"all\" - all labels must be present in string\n - \"any\" - any of the labels must be present in string\n\n __Note:__ Can only be used when `excludeLabelIds` parameter is provided"
26168
+
type: string
26169
+
default: all
26170
+
enum:
26171
+
- all
26172
+
- any
26173
+
nullable: true
26174
+
languageIds:
26175
+
description: 'Language Identifiers. Get via [List Supported Languages](#operation/api.languages.getMany). If provided, bundle will only export specified languages. If not provided, bundle will export all project target languages.'
description: "Bundles ids. Get via [List Bundles](#operation/api.projects.bundles.getMany)\n\n__Note:__ Required for `bundle` export mode"
27759
27813
type: array
@@ -44925,6 +44979,7 @@ components:
44925
44979
- /fields
44926
44980
- '/fields/{fieldSlug}'
44927
44981
- /generateCostEstimate
44982
+
- /generateTranslationCost
44928
44983
- /reportSettingsTemplateId
44929
44984
x-doc-sections:
44930
44985
- file-based
@@ -45011,6 +45066,7 @@ components:
45011
45066
- /excludeLabelIds
45012
45067
- /excludeLabelMatchRule
45013
45068
- /generateCostEstimate
45069
+
- /generateTranslationCost
45014
45070
- /reportSettingsTemplateId
45015
45071
x-doc-sections:
45016
45072
- file-based
@@ -45426,8 +45482,13 @@ components:
45426
45482
type: boolean
45427
45483
default: false
45428
45484
example: false
45485
+
generateTranslationCost:
45486
+
description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`'
45487
+
type: boolean
45488
+
default: false
45489
+
example: false
45429
45490
reportSettingsTemplateId:
45430
-
description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.reports.settings-templates.getMany). Required when `generateCostEstimate` is `true`'
45491
+
description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`'
45431
45492
type: integer
45432
45493
example: 1
45433
45494
nullable: true
@@ -45546,8 +45607,13 @@ components:
45546
45607
type: boolean
45547
45608
default: false
45548
45609
example: false
45610
+
generateTranslationCost:
45611
+
description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`'
45612
+
type: boolean
45613
+
default: false
45614
+
example: false
45549
45615
reportSettingsTemplateId:
45550
-
description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.reports.settings-templates.getMany). Required when `generateCostEstimate` is `true`'
45616
+
description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`'
45551
45617
type: integer
45552
45618
example: 1
45553
45619
nullable: true
@@ -45673,8 +45739,13 @@ components:
45673
45739
type: boolean
45674
45740
default: false
45675
45741
example: false
45742
+
generateTranslationCost:
45743
+
description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`'
45744
+
type: boolean
45745
+
default: false
45746
+
example: false
45676
45747
reportSettingsTemplateId:
45677
-
description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.reports.settings-templates.getMany). Required when `generateCostEstimate` is `true`'
45748
+
description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`'
45678
45749
type: integer
45679
45750
example: 1
45680
45751
nullable: true
@@ -45769,8 +45840,13 @@ components:
45769
45840
type: boolean
45770
45841
default: false
45771
45842
example: false
45843
+
generateTranslationCost:
45844
+
description: 'Generate translation cost report for the task. Requires `reportSettingsTemplateId`'
45845
+
type: boolean
45846
+
default: false
45847
+
example: false
45772
45848
reportSettingsTemplateId:
45773
-
description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.reports.settings-templates.getMany). Required when `generateCostEstimate` is `true`'
45849
+
description: 'Report Settings Templates Identifier. Get via [List Report Settings Templates](#operation/api.reports.settings-templates.getMany). Required when `generateCostEstimate` or `generateTranslationCost` is `true`'
0 commit comments