Domain name for API request: smh.intl.tencentcloudapi.com.
This API is used to query the PaaS service repository list.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeLibraries. |
| Version | Yes | String | Common Params. The value used for this API: 2021-07-12. |
| Region | No | String | Common Params. This parameter is not required for this API. |
| LibraryIds.N | No | Array of String | Specifies one or more media library ids for querying, with a maximum of 100 per request. |
| PageNumber | No | Integer | Page number, int, used in conjunction with PageSize. default value is 1. |
| PageSize | No | Integer | Number of items per page, integer, used in conjunction with PageNumber. default value is 20. maximum value is 100. |
| Parameter Name | Type | Description |
|---|---|---|
| List | Array of Library | Library list. |
| TotalCount | Integer | Total number. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to query a media library.
POST / HTTP/1.1
Host: smh.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeLibraries
<Common request parameters>
{}{
"Response": {
"List": [
{
"LibraryId": "smh0q8nrvsg7t6y6",
"Name": "string"
"Remark": "string",
"BucketName": "smh-it-251202137",
"BucketRegion": "ap-guangzhou",
"AccessDomain": "smh0q8nrvsg7t6y6.api.tencentsmh.cn",
"CreationTime": "2021-09-28T06:02:26Z",
"LibraryExtension": {
"IsFileLibrary": true,
"IsMultiSpace": false,
"CosStorageClass": "INTELLIGENT_TIERING",
"UseRecycleBin": false,
"AutoRemoveRecycledDays": null,
"EnableSearch": false,
"DenyOnQuotaLessThanUsage": false,
"EnableFileHistory": false,
"FileHistoryCount": null,
"FileHistoryExpireDay": null,
"MaxDirFileNameLength": 255,
"IsPublicRead": false,
"IsMultiAlbum": null,
"AllowPhoto": null,
"AllowPhotoExtName": null,
"AllowVideo": null,
"AllowVideoExtName": null,
"AllowFileExtName": [],
"RecognizeSensitiveContent": false
},
"Size": "0",
"DirNum": "0",
"FileNum": "0"
},
{
"LibraryId": "smh1jjexrwwoa9ok",
"Name": "string"
"Remark": "",
"BucketName": "smh-it-251202137",
"BucketRegion": "ap-guangzhou",
"AccessDomain": "smh1jjexrwwoa9ok.api.tencentsmh.cn",
"CreationTime": "2021-09-28T09:43:07Z",
"LibraryExtension": {
"IsFileLibrary": true,
"IsMultiSpace": false,
"CosStorageClass": "INTELLIGENT_TIERING",
"UseRecycleBin": false,
"AutoRemoveRecycledDays": null,
"EnableSearch": false,
"DenyOnQuotaLessThanUsage": false,
"EnableFileHistory": false,
"FileHistoryCount": null,
"FileHistoryExpireDay": null,
"MaxDirFileNameLength": 255,
"IsPublicRead": false,
"IsMultiAlbum": null,
"AllowPhoto": null,
"AllowPhotoExtName": null,
"AllowVideo": null,
"AllowVideoExtName": null,
"AllowFileExtName": [],
"RecognizeSensitiveContent": false
},
"Size": "0",
"DirNum": "0",
"FileNum": "0"
},
{
"LibraryId": "smh12pzokd9c6r5n",
"Name": "string"
"Remark": "",
"BucketName": "smh-it-251202137",
"BucketRegion": "ap-guangzhou",
"AccessDomain": "smh12pzokd9c6r5n.api.tencentsmh.cn",
"CreationTime": "2021-09-28T12:31:31Z",
"LibraryExtension": {
"IsFileLibrary": true,
"IsMultiSpace": false,
"CosStorageClass": "INTELLIGENT_TIERING",
"UseRecycleBin": false,
"AutoRemoveRecycledDays": null,
"EnableSearch": false,
"DenyOnQuotaLessThanUsage": false,
"EnableFileHistory": false,
"FileHistoryCount": null,
"FileHistoryExpireDay": null,
"MaxDirFileNameLength": 255,
"IsPublicRead": false,
"IsMultiAlbum": null,
"AllowPhoto": null,
"AllowPhotoExtName": null,
"AllowVideo": null,
"AllowVideoExtName": null,
"AllowFileExtName": [],
"RecognizeSensitiveContent": false
},
"Size": "0",
"DirNum": "0",
"FileNum": "0"
},
{
"LibraryId": "smh3s9iq6lfsoud1",
"Name": "string"
"Remark": "",
"BucketName": "smh-it-251202137",
"BucketRegion": "ap-guangzhou",
"AccessDomain": "smh3s9iq6lfsoud1.api.tencentsmh.cn",
"CreationTime": "2021-09-28T12:32:06Z",
"LibraryExtension": {
"IsFileLibrary": true,
"IsMultiSpace": false,
"CosStorageClass": "INTELLIGENT_TIERING",
"UseRecycleBin": false,
"AutoRemoveRecycledDays": null,
"EnableSearch": false,
"DenyOnQuotaLessThanUsage": false,
"EnableFileHistory": false,
"FileHistoryCount": null,
"FileHistoryExpireDay": null,
"MaxDirFileNameLength": 255,
"IsPublicRead": false,
"IsMultiAlbum": null,
"AllowPhoto": null,
"AllowPhotoExtName": null,
"AllowVideo": null,
"AllowVideoExtName": null,
"AllowFileExtName": [],
"RecognizeSensitiveContent": false
},
"Size": "0",
"DirNum": "0",
"FileNum": "0"
},
{
"LibraryId": "smh1porquwr19l42",
"Name": "string"
"Remark": "",
"BucketName": "smh-it-251202137",
"BucketRegion": "ap-guangzhou",
"AccessDomain": "smh1porquwr19l42.api.tencentsmh.cn",
"CreationTime": "2021-09-28T12:33:20Z",
"LibraryExtension": {
"IsFileLibrary": true,
"IsMultiSpace": false,
"CosStorageClass": "INTELLIGENT_TIERING",
"UseRecycleBin": false,
"AutoRemoveRecycledDays": null,
"EnableSearch": false,
"DenyOnQuotaLessThanUsage": false,
"EnableFileHistory": false,
"FileHistoryCount": null,
"FileHistoryExpireDay": null,
"MaxDirFileNameLength": 255,
"IsPublicRead": false,
"IsMultiAlbum": null,
"AllowPhoto": null,
"AllowPhotoExtName": null,
"AllowVideo": null,
"AllowVideoExtName": null,
"AllowFileExtName": [],
"RecognizeSensitiveContent": false
},
"Size": "0",
"DirNum": "0",
"FileNum": "0"
},
{
"LibraryId": "smh32bey5u1lr6bx",
"Name": "string"
"Remark": "",
"BucketName": "smh-it-251202137",
"BucketRegion": "ap-guangzhou",
"AccessDomain": "smh32bey5u1lr6bx.api.tencentsmh.cn",
"CreationTime": "2021-09-28T12:33:27Z",
"LibraryExtension": {
"IsFileLibrary": true,
"IsMultiSpace": false,
"CosStorageClass": "INTELLIGENT_TIERING",
"UseRecycleBin": false,
"AutoRemoveRecycledDays": null,
"EnableSearch": false,
"DenyOnQuotaLessThanUsage": false,
"EnableFileHistory": false,
"FileHistoryCount": null,
"FileHistoryExpireDay": null,
"MaxDirFileNameLength": 255,
"IsPublicRead": false,
"IsMultiAlbum": null,
"AllowPhoto": null,
"AllowPhotoExtName": null,
"AllowVideo": null,
"AllowVideoExtName": null,
"AllowFileExtName": [],
"RecognizeSensitiveContent": false
},
"Size": "0",
"DirNum": "0",
"FileNum": "0"
}
],
"TotalCount": 6,
"RequestId": "3d486825-fc56-434f-82d0-1db782b66728"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InvalidParameterValue.LimitExceeded | The number of parameter values or characters exceeds the limit. |
Feedback