How is an IPFS hash sent to the watermarking DP module to obtain a newHash?
Conditions
- Use the previously obtained IPFS hash as 'queryId'.
- The request method is POST.
- The response includes 'newHash' and other metadata fields.
Reasoning, step by step
- Start from the retrieved IPFS dataset response, where the original hash ID is already known.
- Call the POST endpoint '/ipfs/dataset/{queryId}' with the original IPFS hash to send it to the watermarking DP module.
- Read the response body and identify the returned 'newHash' value.
Example
A POST endpoint takes the same IPFS hash as 'queryId' and submits it to a watermarking module. Executing the request returns a JSON object containing metadata and a 'newHash', indicating that the original hash has been transformed into a watermark-related identifier.
Common misconceptions
- Thinking the newHash is the original IPFS hash; it is a new identifier returned after watermarking.
Watch the explanation
Connected concepts
Explore next
Related questions
The same private key must be used because the watermark was generated using that specific key. The system does not record private keys for privacy reasons, so the user must supply the identical key again during verification to prove ownership.
Conditions: A watermark was generated using a private key.; The verification endpoint is called with that watermark-related hash.
The Data Provenance tool is designed to watermark personal data, such as browsing datasets, so that data ownership can be verified later. It allows users to retain proof of possession or attribution when sharing or monetizing their data.
Conditions: Applies to personal data such as browsing datasets.; The tool verifies ownership rather than completing the whole trading process.
The video indicates that the file can be downloaded from the 'Download' button located in the response controls area of the Swagger UI, below the response body section.
Conditions: The interface is a Swagger UI page.; The response has been executed and is visible.
A boolean response of 'true' signifies that the verification was successful, confirming that the dataset belongs to the requester. It indicates that the specified number of URL checks passed using the provided private key and alpha threshold.
Conditions: The request has already been executed.; The server returns status '200'.
The alpha threshold should be set to 7 when the dataset or file contains exactly seven URLs and the goal is to verify that all seven URLs are correct and belong to the user. Setting it to 7 requires all seven checks to pass.
Conditions: The dataset/file is described as having seven URLs.; The intended verification is that all seven are correct and belong to the user.; 'alpha' is an integer query parameter.
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.