Upload All Types of Lounge Images

This API is used to upload images of the lounge. It has request parameters to upload images of the banner image, profile image and if the request parameter is not passed then the image is considered as a lounge image.

The below table shows specifications about API response fields.

Attribute

Description

fileName

Returns a unique asset ID of the uploaded image.

width

Returns the width of the uploaded image.

height

Returns the height of the uploaded image.

url

Returns an HTTP protocol with a URL.

secureUrl

Returns an HTTPS protocol with a URL.

originalImgUrl

Returns the original image URL.

croppedImgUrl

Returns a cropped image URL.

croppedImgName

Returns a cropped image name.

x

Returns the x coordinate value.

y

Returns the y coordinate value.

faviconImage

Returns a boolean value, the image is favicon or not.

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Response status code

Error code

Error description

401

4010101

You are not authorized to view the resource.

404

The resource you were trying to reach is not found.

406

4070001

Networking lounge is not found.

406

4060001

File not found or unreadable: secure URL.

Language
Authentication
Header
Click Try It! to start a request and see the response here!