Skip to content
English
  • There are no suggestions because the search field is empty.

Compute CID for canonicalized RDF of JSON-LD document

POST /utils/v1/json-ld/rdfc_cid Select code sample Fetch cURL
const url = 'https://example.com/utils/v1/json-ld/rdfc_cid';const options = {  method: 'POST',  headers: {Authorization: 'Bearer 
  
   ', 'Content-Type': 'application/json'}, body: '"example"'}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
  
curl --request POST \  --url https://example.com/utils/v1/json-ld/rdfc_cid \  --header 'Authorization: Bearer 
  
   ' \ --header 'Content-Type: application/json' \ --data '"example"'
  

Compute CID for canonicalized RDF of JSON-LD document

The provided JSON-LD must already be canonicalized.

Authorizations

Section titled “Authorizations ”

Request Body required

Section titled “Request Body required ” Media type application/json
Example generated
example

Responses

Section titled “ Responses ”

200

Section titled “200 ”

Compute CID for canonicalized RDF of JSON-LD document

Media type application/json object cid required string
Example generated
{  "cid": "example"}
Previous
Compute ID for integrity statement
Next
Get static contexts used for JSON-LD expansion