Integra Ledger Demo

Endpoint: registerIdentity

URL Base: https://integra-demo.mybluemix.net/api/

Query String

type: id type (com.integraledger.lmat or com.integraledger.document)

metadata: optional metaData string

value: optional string. Use document hash for com.integraledger.document

Return:{ "identityId": "a2062efd-c3dc-407c-97cf-3e593203a64d" }

Sample: https://integra-demo.mybluemix.net/api/registerIdentity?type=com.integraledger.lmat&value=xxx&metadata=123

Endpoint: identityExists

URL Base: https://integra-demo.mybluemix.net/api/

Query String

id: integraID

Return:{ "exists": false }

Sample: https://integra-demo.mybluemix.net/api/identityExists?id=b286813d-3bb8-49c5-9dbc-f2e8551bc6a6

Endpoint: valueExists

URL Base: https://integra-demo.mybluemix.net/api/

Query String

value: value to check

Return:{ "exists": true }

Sample: https://integra-demo.mybluemix.net/api/valueExists?value=1197bc0de78ba6a9505a679680972ab83dfe21f4

Endpoint: registerKey

URL Base: https://integra-demo.mybluemix.net/api/

Query String

keyValue: the Key string

keyUser: owner string

Return:{"theKey":"3048024100C918FA"}

Sample: https://integra-demo.mybluemix.net/api/registerKey?keyOwner=Melissa&keyValue=3048024100C918FA

Endpoint: keyForOwner

URL Base: https://integra-demo.mybluemix.net/api/

Query String

keyUser: owner string

Return:{ "$class": "com.integraledger.identityregistry.Key", "keyValue": "3048024100C918FA", "owner": "resource:com.integraledger.identityregistry.User#Melissa" }

Sample: https://integra-demo.mybluemix.net/api/registerKey?keyOwner=Melissa&keyValue=3048024100C918FA