Retrieve Customization Resource Bundles¶
Download application resource bundles.
Note
Application developers can customize and retrieve resource bundles. If the values of <resourceBundlename>
and
<resourceBundleVersion>
are specified in the URL, the resource bundle is returned in the response body as a stream;
otherwise, the resource bundle that is bound to the application is returned. The resource-bundle extension is in the
response header X-BUNDLE-EXTENSION. If the resource bundle is not found in mobile platform, error code 404 is
returned. You cannot issue other HTTP methods (PUT
/POST
/DELETE
) at the above URL.
Request¶
URL: https://<mobile services host>/bundles/<appid>/[<resourceBundleName>:<Version>]
HTTP Method: GET
Request Parameters
Parameter | Type | Description |
---|---|---|
appid |
Mandatory | ID that uniquely identifies an application |
resourceBundleName |
Optional | Returns the resource bundle |
Version |
Optional | Returns version of the resource bundle |
Request Body Example
GET /bundles/com.sap.myapp/MyApp:1.0 HTTP/1.1
Cookie: X-SMP-APPCID=<XXXX>; X-SMP-SESSID=<XXXX>
Host: smpserver:8080
Authorization: Basic <XXXX>
Response¶
Code | Description |
---|---|
200 OK | Returns resource bundle content |
404 Not Found | Resource bundle is not found |
Last update: November 18, 2021