Request

InitConnection

This request is needed only for clients that cannot send websocket headers. It can include the authentication and the clientProperties information. Please refrain from submitting any other requests until a response to this one is received, as any requests will be rejected.

Request ID generated by the client. It should be unique per WebSocket session in order to identify the request. This ID will be reflected by the server in the response to the request.

Contains one of the APIs request type names

headers

GenerateURLForDownloadFile

Request ID generated by the client. It should be unique per WebSocket session in order to identify the request. This ID will be reflected by the server in the response to the request.

Contains one of the APIs request type names

body

Generate a download URL with relativePath, Signature and Expiration to access LivePerson storage

Defines that the message is a request

JSON Output

valid

JSON Schema

You can find the json schema definition of this message here: assets/schema/ws/consumerRequests.json

Response

GenerateURLResponse

Upon successful generation of the temporary URL for storage access, this response will be sent by the server

Defines that the message is a response

The ID of the request that originated this response

Contains one of the APIs response type names

Response code according to the HTTP status codes standard

body

The relative path of the hosted file in storage

queryParams

Signature

Expiration timestamp of the temporary URL

JSON Output

valid

JSON Schema

You can find the json schema definition of this message here: assets/schema/ms/GenerateURLResp.json