Returns Schema Tree

Get schema tree

get

Returns schema tree

Path parameters
messageIdstringRequired

Message identifier

Example: 1706823227.586179534
Responses
200
Schema tree
application/json
get
GET /api/v1/entities/schemas/{messageId}/tree HTTP/1.1
Host: 
Accept: */*
{
  "id": "1706823227.586179534",
  "item": {
    "id": "667c240639282050117a1985",
    "topicId": "0.0.4481265",
    "consensusTimestamp": "1706823227.586179534",
    "owner": "0.0.1",
    "uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
    "status": "NEW",
    "statusReason": "Revoked",
    "lang": "en-US",
    "responseType": "str",
    "statusMessage": "text",
    "files": [
      "QmYtKEVfpbDwn7XLHjnjap224ESi3vLiYpkbWoabnxs6cX"
    ],
    "topics": [
      "0.0.4481265"
    ],
    "tokens": [
      "0.0.4481265"
    ],
    "type": "Schema",
    "action": "publish-schema",
    "options": {
      "name": "Monitoring report",
      "description": "Monitoring report schema",
      "entity": "VC",
      "owner": "did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265",
      "uuid": "93938a10-d032-4a9b-9425-092e58bffbf7",
      "version": "1.0.0",
      "codeVersion": "1.0.0",
      "relationships": [
        "1706823227.586179534"
      ]
    }
  },
  "root": {
    "label": "Monitoring Report",
    "expanded": true,
    "data": {
      "id": "1706823227.586179534",
      "color": "#FFFFFF"
    },
    "children": {}
  }
}

Last updated