All Products
Document Center


Last Updated: Jul 11, 2019


You can call this operation to query watermarks.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to ListWatermark.

Response parameters

Parameter Type Description
RequestId String The ID of the request.
WatermarkInfos WatermarkInfo[] The list of watermarks.

API examples

Sample request

Sample response

  • Text watermark
    "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
      "WatermarkInfos": [{
            "Name": "Text watermark test",
            "CreationTime": "2018-11-07T09:05:52Z",
            "IsDefault": "NotDefault",
            "Type": "Text",
            "WatermarkId": "9bcc8bfadb843f475c109a2671d0df97",
            "WatermarkConfig": {
              "FontColor": "Blue",
              "FontSize": 80,
              "Content": "Watermark test"
  • Image watermark
  "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
       "Name": "Image watermark test",
       "CreationTime": "2018-11-06T08:03:17Z",
       "WatermarkId": "505e2e287ea49c40f8cecfddd386d384",
       "FileUrl": "",
       "IsDefault": "NotDefault",
       "Type": "Image",
       "WatermarkConfig": {
         "ReferPos": "BottomRight",
         "Height": "55",
         "Width": "55",
         "Dx": "8",
         "Dy": "8"

SDK examples

We recommend that you use a server SDK to call this operation. For more information about the sample code used to call this operation in various languages, see the following topics: