Get subject by ID
Get subject by ID Allows to obtain a specific subject by means of its identifier
Path Parameters
- id string required
Subject's unique id
Responses
- 200
- 400
- 404
- 500
Subject Data successfully retrieved
- application/json
- Schema
- Example (from schema)
- Example
Schema
- active boolean
Indicates if the subject is active or not
- creator string
Subject creator identifier
- governance_id string
Governance identifier
- name string
The name of the subject.
- namespace string
Namespace of the subject
- owner string
Subject owner identifier
- properties
Current status of the subject
- public_key string
Public key of the subject
- schema_id string
Identifier of the schema used by the subject and defined in associated governance
- sn int64
Current sequence number of the subject
- subject_id string
Subject identifier
{
"active": true,
"creator": "string",
"governance_id": "string",
"name": "string",
"namespace": "string",
"owner": "string",
"public_key": "string",
"schema_id": "string",
"sn": 0,
"subject_id": "string"
}
{
"active": true,
"creator": "EbwR0yYrCYpTzlN5i5GX_MtAbKRw5y2euv3TqiTgwggs",
"governance_id": "",
"name": "Wine_Producers_Organization",
"namespace": "",
"owner": "EbwR0yYrCYpTzlN5i5GX_MtAbKRw5y2euv3TqiTgwggs",
"properties": {
"members": [],
"policies": [
{
"approve": {
"quorum": "MAJORITY"
},
"evaluate": {
"quorum": "MAJORITY"
},
"id": "governance",
"validate": {
"quorum": "MAJORITY"
}
}
],
"roles": [],
"schemas": []
},
"public_key": "E0gaiDcPRVmYLUGbseHmBk2_2H-FAlSgaO6ZMOXhh4Gs",
"schema_id": "governance",
"sn": 0,
"subject_id": "JoifaSpfenD2bEPeBLvUTWh30brm4tKcvdW8exQnkGoQ"
}
Bad Request
Not Found
Internal Server Error
Loading...