Search Domains
Search domains.
Request URL
POST {base_url}/uc-user/api/v1/domains/search-page
Request parameters
- Headers
-
Parameter Required Type Description Authorization Yes String The access token used for authentication. Format: Bearer
{access_token}.
- Body parameters
-
Parameter Required Type Description pageSize Yes Integer The number of records to retrieve per page. pageNumber Yes Integer The page number to retrieve. sorts No Array<Sort_Condition> The sort conditions. keyword No String The keyword used to search for domain. regionCode No String The region code associated with the domain to search. Note: You can query the region code using Get Available Regions.domainStatus No String The status of the domain.
Valid value:
ACTIVE: The domain is active.DISABLED: The domain is disabled.
certificateStatus No String The deployment status of the certificate.
Valid value:
NOT_DEPLOYED: The certificate is not deployed.PENDING: The certificate is being deployed.DEPLOYED: The certificate is deployed.FAILED: The certificate deployment failed.EXPIRED: The certificate is expired.
certificateManagement No String The certificate management method.
Valid value:
AUTO: The certificate is managed automatically by the platform.CUSTOM: The certificate is uploaded by the user.
domain No String The keyword used to search for domain. expireTimeStart No Integer The timestamp in milliseconds used to search for domains expiring after the specified time. expireTimeEnd No Integer The timestamp in milliseconds used to search for domains expiring before the specified time. orderBy No String The field to sort by.
Valid value:
createTimeexpireTimecertificateStatus
orderDirection No String The sort order.
Valid value:
asc: Sort in ascending order.desc: Sort in descending order.
Response parameters
| Parameter | Type | Description |
|---|---|---|
| requestId | String | The unique ID of the request, which can be used to quickly locate the request. |
| code | String | The HTTP status code of the request.
|
| message | String | The status message of the request. |
| detailMessage | String | The detailed error information. When the request is successful, this parameter returns empty. |
| result | Object<Search_Result> | The search result of domains. |
- Search_Result
-
Parameter Type Description pageSize Integer The number of records per page. pageNumber Integer The current page number. total Integer The total number of domains that match the search conditions. results Array<Domain_Item> The list of domains. totalPages Integer The total number of pages. empty Boolean Whether the search result is empty.
true: No domain matches the search conditions.false: At least one domain matches the search conditions.
Example
Request example
POST /uc-user/api/v1/domains/search-page HTTP/1.1
Host: api.cn.novoone.com
Authorization: Bearer eyJraWQiOiJjbi0wLWtleS0xIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOi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"result": { "pageSize": 20, "pageNumber": 1, "total": 1, "results": [ { "id": "2089269871530487810", "domain": "novoone.online", "regionCode": "cn-0", "regionName": "HongKong", "domainStatus": "ACTIVE", "certificateManagement": "AUTO", "autoRenewEnabled": true, "certificateStatus": "DEPLOYED", "expireTime": 1794728675000, "sourceType": "USER_CONFIGURED", "createTime": 1786955728815, "effectiveDomain": "novoone.online", "effectiveDomainSource": "SELF" } ], "totalPages": 1, "empty": false }, "requestId": "6bfbd2eab7e9eec0b7a4d89c56b51e1f", "code": "200", "message": "SUCCESS" }