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
**name** | **String** | Human-readable display name of the format. |
10
+
**apiName** | **String** | Identifier used to reference this format in API requests, such as the file_format parameter on the uploads and downloads endpoints. |
11
+
**description** | **String** | Human-readable summary of the format and its typical use case. |
12
+
**extension** | **String** | Default file extension associated with this format. |
13
+
**defaultEncoding** | **String** | Default character encoding used when reading or writing files in this format. |
14
+
**importable** | **Boolean** | Whether locale files can be imported using this format. |
15
+
**exportable** | **Boolean** | Whether locale files can be exported using this format. |
16
+
**defaultFile** | **String** | Conventional file path pattern for this format. Contains locale_name as a placeholder for the locale identifier. |
17
+
**rendersDefaultLocale** | **Boolean** | When true, exported files contain the default locale's content for any key that has no translation in the target locale. |
18
+
**includesLocaleInformation** | **Boolean** | When true, files in this format embed locale information so Phrase can detect the locale automatically on import. |
Get a handy list of all localization file formats supported in Phrase.
16
+
Returns all file formats that Phrase Strings supports. Use the api_name value from each format as the file_format parameter when uploading or downloading locale files. Not every format supports both directions: check the importable and exportable fields before using a format in a workflow. This endpoint does not require authentication and is not subject to rate limiting.
17
17
18
18
### Example
19
19
```java
@@ -74,6 +74,6 @@ This endpoint does not need any parameter.
* Get a handy list of all localization file formats supported in Phrase.
108
+
* Returns all file formats that Phrase Strings supports. Use the api_name value from each format as the file_format parameter when uploading or downloading locale files. Not every format supports both directions: check the importable and exportable fields before using a format in a workflow. This endpoint does not require authentication and is not subject to rate limiting.
109
109
* @return List<Format>
110
110
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
111
111
* @http.response.details
112
112
<table summary="Response Details" border="1">
113
113
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
@@ -122,13 +122,13 @@ public List<Format> formatsList() throws ApiException {
122
122
123
123
/**
124
124
* List formats
125
-
* Get a handy list of all localization file formats supported in Phrase.
125
+
* Returns all file formats that Phrase Strings supports. Use the api_name value from each format as the file_format parameter when uploading or downloading locale files. Not every format supports both directions: check the importable and exportable fields before using a format in a workflow. This endpoint does not require authentication and is not subject to rate limiting.
126
126
* @return ApiResponse<List<Format>>
127
127
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
128
128
* @http.response.details
129
129
<table summary="Response Details" border="1">
130
130
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
@@ -140,14 +140,14 @@ public ApiResponse<List<Format>> formatsListWithHttpInfo() throws ApiException {
140
140
141
141
/**
142
142
* List formats (asynchronously)
143
-
* Get a handy list of all localization file formats supported in Phrase.
143
+
* Returns all file formats that Phrase Strings supports. Use the api_name value from each format as the file_format parameter when uploading or downloading locale files. Not every format supports both directions: check the importable and exportable fields before using a format in a workflow. This endpoint does not require authentication and is not subject to rate limiting.
144
144
* @param _callback The callback to be executed when the API call finishes
145
145
* @return The request call
146
146
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
147
147
* @http.response.details
148
148
<table summary="Response Details" border="1">
149
149
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
0 commit comments