REST API
You can access the Rest API through the Swagger UI from the App API section. Navigate to Network -> Deployed Apps -> App -> Rest API
Last updated
You can access the Rest API through the Swagger UI from the App API section. Navigate to Network -> Deployed Apps -> App -> Rest API
Last updated
Create a transaction on the blockchain
"CreateDocumentDefinitions"
Transaction created
Get Fabric Chain Information
ChainInfo
"109"
"lXNu1mBUNpNAUzucy/2CAsk0Hq586+8WRO"
"Gob0PD5UgI38BwEQT+baD+8ei92WBbY"
Get all identities from the certificate authority
Identities
"user1"
"client"
""
10
"ca-org1"
Get the status of an already submitted transaction using the returned receipt id.
Transaction found.
The ledger transaction Id corresponding to the receipt id.
"6c94ff55155722c28611630e7d6795145e0282e9fabf10bf3460f396e2a6218b"
The status of the submitted transaction.
Error message when the transaction status is FAILED.
"Success"
Queries/Evaluate the transaction on the blockchain
"CreateDocumentDefinitions"
Transaction queried
"asset1"
"whte"
15
"Brad"
200
Get Blockchan Block for a TransactionId
Block data
Get Blockchan Transaction for a TransactionId
Transaction data
0
"dd81d0c67b75fe16c30fa113e1b3ef020cb9e92"
"2023-05-16T11:39:46.499Z"
"ENDORSER_TRANSACTION"
"document-contract"
"Org1"
Get Blockchan Block for a Number
Block data
Issues the identity from the certificate authority
"user1"
"client"
10
Identity issued
"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBM-\n----END PRIVATE KEY-----\r\n"
"-----BEGIN CERTIFICATE-----\nMIICjDCCAjKgA\n-----END CERTIFICATE-----\n"
"-----BEGIN CERTIFICATE-----\nMIICjDCCAjKgA\n-----END CERTIFICATE-----\n"
Get latest Transactions
Transaction data
"99_dd81d0c67b75fe16c30fa113e1b3ef020cb9e"
2
false
Get the identity from the fabric certificate authority
Fetched Identity
"user1"
"client"
""
10
"ca-org1"
Get latest Blocks
Block data
8
2
Revoke the identity from the certificate authority
"keycompromise"
Identity revoked
"LS0tLS1CRUd"
ReIssue the identity from the certificate authority
Identity reissued
"-----BEGIN PRIVATE KEY-----\r\nMIGHAgEAMBM-\n----END PRIVATE KEY-----\r\n"
"-----BEGIN CERTIFICATE-----\nMIICjDCCAjKgA\n-----END CERTIFICATE-----\n"
"-----BEGIN CERTIFICATE-----\nMIICjDCCAjKgA\n-----END CERTIFICATE-----\n"