5. 查询AuthorityIssuer
调用接口:
标题 | 描述 |
---|---|
接口名 | weid/api/invoke |
Method | POST |
Content-Type | application/json |
接口入参:
Key | Value | Required |
---|---|---|
functionName | queryAuthorityIssuer | Y |
functionArg | Y | |
functionArg.weId | WeIdentity DID,与 SDK直接调用的方式入参 一致,下同 | Y |
transactionArg | N,传空 | |
v | 版本号 | Y |
接口入参示例:
- {
- "functionArg": {
- "weId": "did:weid:0x1ae5b88d37327830307ab8da0ec5d8e8692a35d3"
- },
- "transactionArg": {
- },
- "functionName": "queryAuthorityIssuer",
- "v": "1.0.0"
- }
接口返回: application/json
Key | Value |
---|---|
ErrorCode | 错误码,0表示成功 |
ErrorMessage | 错误信息 |
respBody | 完整的Authority Issuer信息 |
- {
- "respBody": {
- "accValue": ,
- "created": 16845611984115,
- "name": "Sample College",
- "weid": "did:weid:0x1ae5b88d37327830307ab8da0ec5d8e8692a35d3"
- }
- "ErrorCode": 0
- "ErrorMessage": "success"
- }