Publishing the protocol
Fetch MainNet authorization token
Initiate a request with the appropriate details for your environment.
POST
https://{{abc-care-env}}/core-registry-service/oauth/token?grant_type=password&username=%2B{{networkAuthorPhone}}&password={{networkAuthorPassword}}&blockchainAddress={{networkAuthorWalletId}}Pre-request script:
pm.globals.set("abc-care-env", "dev.env.abc.net");
pm.globals.set("xxx-env", "site000.abc.net/sample-net");
pm.globals.set("networkAuthorPhone", "91888888888");
pm.globals.set("networkAuthorWalletId", "0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
pm.globals.set("networkAuthorPassword", "999999");
pm.globals.set("networkId", "dev-network-xxx");Fetch network authorization token
POST
https://{{eks-env}}/nom/oauth/token?grant_type=exchange_token&exchange_token={{networkAuthorMainNetToken}}Get sponsor address
GET
Post-request script:
Upload the protocol package
POST
Publish the protocol package
POST
Get publishing state
GET
Update TDN
Upload the CSV file with the same attributes as the uploaded DDF in the input folder of the Amazon S3 bucket. If necessary, delete existing data.
Uploading data definition file (DDF)
The data definition file contains the model and structure for organizing data in TDN.
POST
Searching data
POST
Deleting existing data from TDN
POST
Checking the count
POST
Last updated
Was this helpful?