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.

fileNameReturns a unique asset ID of the uploaded image.
widthReturns the width of the uploaded image.
heightReturns the height of the uploaded image.
urlReturns an HTTP protocol with a URL.
secureUrlReturns an HTTPS protocol with a URL.
originalImgUrlReturns the original image URL.
croppedImgUrlReturns a cropped image URL.
croppedImgNameReturns a cropped image name.
xReturns the x coordinate value.
yReturns the y coordinate value.
faviconImageReturns 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 codeError codeError description
4014010101You are not authorized to view the resource.
404The resource you were trying to reach is not found.
4064070001Networking lounge is not found.
4064060001File not found or unreadable: secure URL.
Click Try It! to start a request and see the response here!