Updated on 2023-03-07 GMT+08:00

Extracting a Blind Watermark from a File

Function

This API is used to extract a blind watermark from a file. Watermarking is not supported.

URI

POST /v1/datashare/dataset/watermark/extract

Request Parameters

Table 1 FormData parameters

Parameter

Mandatory

Type

Description

file

Yes

File

File from which a blind watermark is to be extracted.

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

watermark

String

Blind watermark in the file. If no blind watermark is embedded, no content is displayed.

Status code: 500

Table 3 Response body parameters

Parameter

Type

Description

errorCode

String

Error code.

errorMsg

String

Error description.

Example Requests

None

Example Responses

Status code: 200

Content returned for extracting a blind watermark.

{
  "watermark" : "string"
}

Status code: 500

Error response.

{
  "errorCode" : "BCS.5002046",
  "errorMsg" : "Incorrect number of arguments"
}

Status Codes

Status Code

Description

200

Content returned for extracting a blind watermark.

500

Error response.

Error Codes

See Error Codes.