Uploads images to a specified image library.

Operation description

Operation: UploadImageToLib

You can call this operation to upload images to a specified image library. For more information about how to construct an HTTP request, see Request structure. You can also select an existing HTTP request. For more information, see SDK overview.

Billing method: This operation is free of charge.

QPS limit

You can send up to 10 requests per second to call this operation by using your Alibaba Cloud account. If you send an excessive number of requests, throttling is implemented, and your business may be affected.

Request parameters

Parameter Type Required Example Description
ImageLibId Integer Yes 2147 The primary key ID of the image library.
Urls List Yes [\"http://example.com/1.jpg\"] The list of images. Each element in the list is the access URL of an image in Object Storage Service (OSS).

Response parameters

Parameter Type Example Description
RequestId String 795D8871-4889-4C0F-A8B1-C7D2B990FF61 The ID of the request.


Sample requests
    "ImageLibId": "2147",
    "Urls": "[\"http://example.com/1.jpg\"]"
Sample success responses
    "RequestId": "795D8871-4889-4C0F-A8B1-C7D2B990FF61",
    "code": 200