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

Get platform DID document

GET /api/v1/protected/platform/did-doc Select code sample Fetch cURL
const url = 'https://localhost:8080/api/v1/protected/platform/did-doc';const options = {method: 'GET', headers: {Authorization: '
  
   '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
  
curl --request GET \  --url https://localhost:8080/api/v1/protected/platform/did-doc \  --header 'Authorization: 
  
   '
  

Return the DID document for the shared organization-key DID key

Authorizations

Section titled “Authorizations ”

Responses

Section titled “ Responses ”

200

Section titled “200 ”

DID Document

Media type application/json object key additional properties any
Example generated
{}

401

Section titled “401 ”

Unauthorized - Invalid or missing credential

Media type application/json object error string error_description string
Example
{  "error": "Unauthorized",  "error_description": "Invalid token"}

500

Section titled “500 ”

Internal server error

Media type application/json object error string error_description string
Example
{  "error": "Unauthorized",  "error_description": "Invalid token"}
Previous
Get current user's DID document
Next
Sign a digest with the platform DID key