Read schema
GET/digital-wallet/schema/:schemaId
This endpoint allows the admin to read schema from the ledger.
Request
Path Parameters
schemaId stringrequired
Unique ID of schema
Responses
- 200
- 400
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
schema object
ver string
Node protocol version
id string
Schema identifier
name string
Schema name
version string
Schema version
attrNames string[]
Schema attribute names
seqNo integer
Schema sequence number
{
"schema": {
"ver": "1.0",
"id": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0",
"name": "Certificate Of Registration",
"version": "6.0.0",
"attrNames": [
"score"
],
"seqNo": 10
}
}
bad input parameter
Response Headers
Loading...