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{2 "accept": "string",3 "count": 0,4 "items": [5 {6 "id": "string",7 "links": [8 {9 "href": "string",10 "itemType": "string",11 "method": "string",12 "rel": "string",13 "responseItemType": "string",14 "responseType": "string",15 "title": "string",16 "type": "string",17 "uri": "string"18 }19 ],20 "namespace": "string",21 "version": 122 }23 ],24 "limit": 0,25 "links": [26 {27 "href": "string",28 "itemType": "string",29 "method": "string",30 "rel": "string",31 "responseItemType": "string",32 "responseType": "string",33 "title": "string",34 "type": "string",35 "uri": "string"36 }37 ],38 "name": "string",39 "start": 0,40 "version": 141}
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 |