Get a list of type summaries or message bundles
Returns a list of type summaries or message bundles as properties files or a ZIP file. Retrieves one of five resources by specifying the http header Accept and Accept-Item. Only the second item requires the http header Accept-Language and returns a set of all message bundles that belong to the namespace.
1--aBoundaryString2Content-Disposition: form-data; name="file"; filename="myNamespace_default.properties"3Content-Type: text/plain45kitchen+knife+table+name=message text6kitchen+knife+table+label=message text7kitchen+knife+table+manufacture=message text8kitchen+knife+table+description=message text9kitchen+knife+clasp+name=message text10kitchen+knife+clasp+label=message text11kitchen+knife+clasp+manufacture=message text12kitchen+knife+clasp+description=message text13kitchen+knife+jackknife+name=message text14kitchen+knife+jackknife+label=message text15kitchen+knife+jackknife+manufacture=message text16kitchen+knife+jackknife+description=message text17--aBoundaryString18Content-Disposition: form-data; name="file"; filename="myNamespace_fr.properties"19Content-Type: text/plain2021kitchen+knife+table+name=French message text22kitchen+knife+table+label=French message text23kitchen+knife+table+manufacture=French message text24kitchen+knife+table+description=French message text25kitchen+knife+clasp+name=French message text26kitchen+knife+clasp+label=French message text27kitchen+knife+clasp+manufacture=French message text28kitchen+knife+clasp+description=French message text29kitchen+knife+jackknife+name=French message text30kitchen+knife+jackknife+label=French message text31kitchen+knife+jackknife+manufacture=French message text32kitchen+knife+jackknife+description=French message text33--aBoundaryString--
Name | Type | Required | Description |
---|---|---|---|
filter | string | false | Query filter, supported fields are |
limit | integer<int32> | false | Maximum number of items to retrieve. Defaults to 30 for a set of type summary. 0 for the message bundles, means all the message bundles. Default: 30 |
start | integer<int32> | false | Offset of first item to retrieve (0-based). Defaults to 0. Default: 0 |
Name | Type | Required | Description |
---|---|---|---|
Accept-Item | string | false | Allowed values: application/jsonapplication/vnd.sas.localization.content.type+jsonapplication/vnd.sas.properties.fileapplication/zip |
Accept-Language | string | false | The Accept-Language http header is required only when the Accept http header is "application/vnd.sas.collection+json" and the Accept-Item http header is "application/vnd.sas.localization.content+json". This API returns the resolved bundles for the local specified in the Accept-Language. The resolved bundles have the full set of message keys. The locale follows BCP-47. The bundle id consists of three items <service name>-<bundle type>-<bundle format>. See the Terminology section for detail. |
Accept | string | true | Allowed values: application/jsonapplication/vnd.sas.sas.collection+jsonmultipart/form-data |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. <p> For the Example-1 of Media type "multipart/form-data", here are the http headers Content-Type and Content-Item-Type. <pre>Content-Type: multipart/form-data;boundary=aBoundaryString Content-Item-Type: application/vnd.sas.properties.file</pre> For the Example-2 of Media type "multipart/form-data", the http headers Content-Type and Content-Item-Type are below. <pre>Content-Type: multipart/form-data;boundary=aBoundaryString Content-Item-Type: application/zip</pre> </p> | Headers | Schema |