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
base url:
https://<membership_id>.spydra.app/fabric/<app_id>
Get the base URL from Network -> Deployed Apps -> App -> Rest API page.
Select your organization at the top right of this page.
Alternatively, you can from the URL by getting the <membership_id> by navigating
to Network -> Members page and getting the <app_id> by navigating to the Network ->
Deployed Apps -> App Overview page.Create a transaction on the blockchain
Whether to wait for the transaction to be created before returning a response or not. When async=false (default), the API will wait for the transaction to be committed on the Ledger and then return the transaction Id. If async=true, the API will return immediately with a receipt Id. The reciept Id can be used to check the status of the transaction anytime using the /receipt endpoint.
CreateDocumentDefinitionsTransaction created
General server error.
Queries/Evaluate the transaction on the blockchain
CreateDocumentDefinitionsTransaction queried
General server error
Issues the identity from the certificate authority
user1client10Identity issued
Identity cannot be issued
General server error
ReIssue the identity from the certificate authority
Identity reissued
Identity cannot be reissued
Identity cannot be found
General server error
Get the identity from the fabric certificate authority
Fetched Identity
Identity cannot be fetched
General server error
Revoke the identity from the certificate authority
keycompromiseIdentity revoked
Identity not found
General server error
Get all identities from the certificate authority
Identities
General server error
Get Fabric Chain Information
ChainInfo
General server error
Get Blockchan Block for a Number
Block data
cannot get block data
General server error
Get Blockchan Block for a TransactionId
Block data
General server error
Get Blockchan Transaction for a TransactionId
Transaction data
General server error
Get latest Blocks
Block data
cannot get block data
General server error
Get latest Transactions
Transaction data
cannot get transaction data
General server error
Get the status of an already submitted transaction using the returned receipt id.
The receipt id returned while submitting the transaction.
Transaction found.
Request failed due to invalid request parameters.
General server error.
Last updated
Was this helpful?