Nodex (3.1.1)

Download OpenAPI specification:Download

Create a DID

Responses

Response samples

Content type
application/json
{
  • "didDocument": {
    },
  • "methodMetadata": {
    }
}

Get a DID

Responses

Response samples

Content type
application/json
{
  • "didDocument": {
    },
  • "methodMetadata": {
    }
}

Create a didcomm message

Request Body schema: application/json
required
destination-did
required
string
required
object
operation-tag
required
string

Responses

Request samples

Content type
application/json
{
  • "destination-did": "did:nodex:test:EiCs3BugA0NwXA-Umdv56h7ouoYCxzQ3PLFEm_aGjvmEYQ",
  • "message": {
    },
  • "operation-tag": "test-operation-tag"
}

Response samples

Content type
application/json
{
  • "ciphertext": "mWtb1lJCP...",
  • "iv": "lHZvdNm4bJt2eR9xoAA4pWMPuojvqZEb",
  • "protected": "eyJ0eXAiOi...",
  • "recipients": [
    ],
  • "tag": "uasZqeLyqI9kPObyHSFzeA"
}

Verify a didcomm message

Request Body schema: application/json
required
ciphertext
string
iv
string
protected
string
Array of objects
tag
string

Responses

Request samples

Content type
application/json
{
  • "ciphertext": "mWtb1lJCP...",
  • "iv": "lHZvdNm4bJt2eR9xoAA4pWMPuojvqZEb",
  • "protected": "eyJ0eXAiOi...",
  • "recipients": [
    ],
  • "tag": "uasZqeLyqI9kPObyHSFzeA"
}

Response samples

Content type
application/json
{
  • "issuer": {
    },
  • "issuanceDate": "2024-09-19T00:02:14.189033Z",
  • "type": [
    ],
  • "credentialSubject": {
    },
  • "proof": {
    }
}

Create a verifiable message

Request Body schema: application/json
required
destination-did
required
string
required
object
operation-tag
required
string

Responses

Request samples

Content type
application/json
{
  • "destination-did": "did:nodex:test:EiCs3BugA0NwXA-Umdv56h7ouoYCxzQ3PLFEm_aGjvmEYQ",
  • "message": {
    },
  • "operation-tag": "test-operation-tag"
}

Response samples

Content type
application/json
{
  • "issuer": {
    },
  • "issuanceDate": "2024-09-19T00:02:14.189033Z",
  • "type": [
    ],
  • "credentialSubject": {
    },
  • "proof": {
    }
}

Create a verifiable message

Request Body schema: application/json
required
object
issuanceDate
string <date-time>
@context
Array of strings
type
Array of strings
object
object

Responses

Request samples

Content type
application/json
{
  • "issuer": {
    },
  • "issuanceDate": "2024-09-19T00:02:14.189033Z",
  • "type": [
    ],
  • "credentialSubject": {
    },
  • "proof": {
    }
}

Response samples

Content type
application/json
{
  • "issuer": {
    },
  • "issuanceDate": "2024-09-19T00:02:14.189033Z",
  • "type": [
    ],
  • "credentialSubject": {
    },
  • "proof": {
    }
}

Create a event

Request Body schema: application/json
required
key
required
string (Key)
detail
required
string (Detail)
occurred_at
required
string <date-time> (Occurred At)

Responses

Request samples

Content type
application/json
{
  • "key": "test-key",
  • "detail": "test-detail",
  • "occurred_at": "2021-01-01T00:00:00Z"
}

Create a custom metric

Request Body schema: application/json
required
key
required
string (Key)
value
required
number (Value)
occurred_at
required
string <date-time> (Occurred At)

Responses

Request samples

Content type
application/json
{
  • "key": "test-key",
  • "value": 12.34,
  • "occurred_at": "2021-01-01T00:00:00Z"
}

Create an attribute

Request Body schema: application/json
required
key_name
required
string (Key name)
value
required
string (Value)

Responses

Request samples

Content type
application/json
{
  • "key_name": "test-key-name",
  • "value": "test-value"
}