Skip to main content

VC Issuer HTTP API (0.0.3-unstable)

Download OpenAPI specification:Download

This is an Experimental Open API Specification for the VC Data Model.

credentialsIssue

Issues a credential and returns it in the response body.

Issues a credential and returns it in the response body.

Request Body schema: application/json

Parameters for issuing the credential.

object (Credential)

A JSON-LD Verifiable Credential without a proof.

object (IssueCredentialOptions)

Options for specifying how the LinkedDataProof is created.

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "type": [
    ],
  • "issuer": "did:example:123",
  • "issuanceDate": "2020-03-16T22:37:26.544Z",
  • "credentialSubject": {
    },
  • "proof": {
    }
}

Gets a credential or verifiable credential by ID

path Parameters
required
string or string or string or string
Example: f37e5114-8b4a-11ec-b32e-fbd62b9502c1,z4Z1T4HdLdfXCFAhdhzdCqm,u7m8_ybOArX-EWeADqWCsIw,507f191e810c19729de860ea,4e59775105ee7a42696a6420e39eb3cf2512a04abf88e16696451cab59e25cdc1b0f0aa512f55dc009d38951b9c49e673e3f9f7669821f77733599b7fd72b15f

Responses

Response samples

Content type
application/json
{
  • "type": [
    ],
  • "issuer": "did:example:123",
  • "issuanceDate": "2020-03-16T22:37:26.544Z",
  • "credentialSubject": {
    },
  • "proof": {
    }
}

credentialsStatus

Updates the status of an issued credential

Updates the status of an issued credential.

Request Body schema: application/json

Parameters for updating the status of the issued credential.

credentialId
string
Array of objects

Responses

Request samples

Content type
application/json
{
  • "credentialId": "urn:uuid:45a44711-e457-4fa8-9b89-69fe0287c86a",
  • "credentialStatus": [
    ]
}