Adapter Binary (GET, HEAD)
Retrieves the binary of a specific adapter.
Description
It supports range requests to deliver only a range of the bytes of the adapter. Clients can use this feature to resume a download after interruption.
Roles
Users in the following roles are authorized to perform this operation:
- worklightadmin
- worklightdeployer
Method
GET, HEAD
Path
/otu/1.0/one-time-url-hash/runtimes/runtime-name/downloads/adapters/adapter-name
Example
https://www.example.com/worklightadmin/otu/1.0/ffabc301/runtimes/myruntime/downloads/adapters/myadapter?locale=de_DE
Path Parameters
- runtime-name
- The name of the runtime. This is the context root of the runtime web application, without the leading slash.
- adapter-name
- The name of the adapter.
- one-time-url-hash
- The one-time-url hash code.
Query Parameters
Query parameters are optional.
- locale
- The locale used for error messages.
Produces
application/octet-stream
Response
The binary data of the specified adapter.
Errors
400The request is invalid.
403 The user is not authorized to call this service.
404 The corresponding runtime or the adapter is not found.
416 The requested range of bytes is not satisfiable.
500 An internal error occurred.