The SearchWaterMarkTemplate API searches for watermark templates in the specified state.

Request parameters

Parameters Type Required or not Description
Action String Yes API of the action, system required parameter. Value: SearchWaterMarkTemplate
PageNumber Long No Current page number,
  • which starts from 1.
  • Default value: 1.
PageSize Long No When querying by page, this parameter indicates the size of each page.
  • Maximum value: 100.
  • Default value: 10.
State String No Watermark template status.
  • All indicates all states,
  • Normal indicates normal templates,
  • and Deleted indicates deleted templates.

Default value: All.

Response parameters

Name Type Description
WaterMarkTemplateList AliyunWaterMarkTemplate[ ] List of watermark templates


Request example<Public parameter

Response example

    <WaterMarkTemplateList list="true">
     "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
        "TotalCount": 100,
        "PageNumber": 1,
        "PageSize": 10,
        "WaterMarkTemplateList": {
            "WaterMarkTemplate": [{
                "Id": "88c6ca184c0e47098a5b665e2a126797",
                "Name": "example-watermark",
                "Width": "10",
                "Height": "30",
                "Dx": "10",
                "Dy": "5",
                "ReferPos": "TopRight",
                "Type": "Image",
                "State": "Normal"