Raw
1 get:
2 operationId: GetTranslationsSettings
3 summary: List Translation Settings
4 x-sidebar-summary: List Settings
5 description: >-
6 Retrieve the list of translatable fields for all entities, such as products
7 and collections. You can also filter the results by entity type or active
8 entities.
9 x-authenticated: true
10 parameters:
11 - name: entity_type
12 in: query
13 description: The entity to retrieve translation settings for.
14 required: false
15 schema:
16 type: string
17 title: entity_type
18 description: The entity to retrieve translation settings for.
19 example: product
20 - name: is_active
21 in: query
22 description: >-
23 Filter resources by whether translations is activated for them or not.
24 If not provided, all resources are returned.
25 required: false
26 schema:
27 type: boolean
28 title: is_active
29 description: >-
30 Filter resources by whether translations is activated for them or not.
31 If not provided, all resources are returned.
32 security:
33 - api_token: []
34 - cookie_auth: []
35 - jwt_token: []
36 x-codeSamples:
37 - lang: JavaScript
38 label: JS SDK
39 source:
40 $ref: ../code_samples/JavaScript/admin_translations_settings/get.js
41 - lang: Shell
42 label: cURL
43 source:
44 $ref: ../code_samples/Shell/admin_translations_settings/get.sh
45 tags:
46 - Translations
47 responses:
48 '200':
49 description: OK
50 content:
51 application/json:
52 schema:
53 $ref: ../components/schemas/AdminTranslationSettingsResponse.yaml
54 '400':
55 $ref: ../components/responses/400_error.yaml
56 '401':
57 $ref: ../components/responses/unauthorized.yaml
58 '404':
59 $ref: ../components/responses/not_found_error.yaml
60 '409':
61 $ref: ../components/responses/invalid_state_error.yaml
62 '422':
63 $ref: ../components/responses/invalid_request_error.yaml
64 '500':
65 $ref: ../components/responses/500_error.yaml
66 x-since: 2.12.3
67 x-featureFlag: translation