Register DID
POST /{id}/did.json
This endpoint can only be called by the owner of the service. Corresponds to the Create (Register) method speficied at https://w3c-ccg.github.io/did-method-web/#create-register.
Parameters
Path Parameters
ID: An identifier.
Query Parameters
Only valid for GET requests
Request Body
VerifiablePresentation: W3C Verifiable Presentation, see https://w3c.github.io/vc-data-model/.
object
VerifiableCredential: W3C Verifiable Credential, see https://w3c.github.io/vc-data-model/.
object
DID Document: W3C DID Document, see https://w3c.github.io/did-core/.
object
DID: W3C Decentralized Identifier (DID), see https://w3c.github.io/did-core/.
object
object
Responses
201
Identifier created / DID document stored.
ProofParameters: Proof parameters define properties that need to be present in the next submitted Verifiable Presentation for PUT, POST and DELETE requests.
object
DID: W3C Decentralized Identifier (DID), see https://w3c.github.io/did-core/.
Challenge computed by the current state of the DID document, according to proofs.
Domain name of the service, according to proofs.
Proof purpose according to verification relationship and proofs.
400
Bad Request. DID document missing or not valid.
401
Unauthorized. Authorization failed due to missing or broken proof signature.
404
Not Found. DID of issuer could not be resolved.
409
Conflict. DID document already exists on server.
500
Internal Server Error.