Download OpenAPI specification:Download
Post json "Result"
Post json "Result" payload by setting response file as base64 encoded string to json key "query_result.files.file_data"
| uuid required | string |
| collectionId required | string |
| collection_id required | string The collection identifier for which the results are returned |
| message | string Message returned for the from the connected LINK |
| protocolVersion required | string The version of the protocol that created this response JSON object. |
object (QueryResult) | |
| status required | string The step is either ok or failure. In case of ok, the element query_results is included. In case of error, error element is included. Error is caused by Collection backend coming up with error when attempting to resolve the availability query. Value Text “ok”|”error” |
| uuid required | string The unique identifier of the job for which the results are returned |
{- "collection_id": "string",
- "message": "string",
- "protocolVersion": "V2",
- "queryResult": {
- "count": 0,
- "datasetsCount": 0,
- "files": [
- {
- "file_data": "string",
- "file_description": "string",
- "file_name": "string",
- "file_reference": "string",
- "file_sensitive": true,
- "file_size": 0,
- "file_type": "BCOS"
}
]
}, - "status": "OK",
- "uuid": "string"
}Upload large result response file(s) or sensitive data response file(s). Response file content specification is defined in POST /result/{uuid}/{collectionid}
| uuid required | string |
| collectionId required | string |
| sensitive required | boolean |
| chunks | integer <int32> |
| chunk | integer <int32> |
| file required | string <binary> |
{- "file": "string"
}| uuid required | string |
| collectionId required | string |
{- "collection_id": "string",
- "message": "string",
- "protocolVersion": "V2",
- "queryResult": {
- "count": 0,
- "datasetsCount": 0,
- "files": [
- {
- "file_data": "string",
- "file_description": "string",
- "file_name": "string",
- "file_reference": "string",
- "file_sensitive": true,
- "file_size": 0,
- "file_type": "BCOS"
}
]
}, - "status": "OK",
- "uuid": "string"
}| collections | Array of strings |
| jobID | string <uuid> |
| keyGenStrLocation | string |
| keySetID | string <uuid> |
| step | string Enum: "KEY_GENERATION_ROUND_1" "KEY_GENERATION_ROUND_2" "DATA_ENCRYPTION" "DATA_DECRYPTION" "KEY_SET_DELETION" "JOB_DELETION" "TASK_DELETION" "ANALYSIS_COMPLETED" |
| taskId | string <uuid> |
{- "collections": [
- "string"
], - "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keyGenStrLocation": "string",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3",
- "step": "KEY_GENERATION_ROUND_1",
- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8"
}| collections | Array of strings |
| dataLocation | string |
| jobID | string <uuid> |
| keySetID | string <uuid> |
| taskID | string <uuid> |
{- "collections": [
- "string"
], - "dataLocation": "string",
- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3",
- "taskID": "e6d742d9-0922-4edc-baeb-3e1ecb0579d1"
}| collectionID required | string |
| jobID | string <uuid> |
| keySetID | string <uuid> |
{- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3"
}| collectionID required | string |
| jobID | string <uuid> |
| taskID | string <uuid> |
{- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "taskID": "e6d742d9-0922-4edc-baeb-3e1ecb0579d1"
}object | |
| collections | Array of strings |
| dataColName | Array of strings |
| dataLocation | string |
| dataType | string |
| jobID | string <uuid> |
| keySetID | string <uuid> |
{- "classColName": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "collections": [
- "string"
], - "dataColName": [
- "string"
], - "dataLocation": "string",
- "dataType": "string",
- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3"
}| collections | Array of strings |
| jobID | string <uuid> |
| keyGenStrLocation | string |
| keySetID | string <uuid> |
{- "collections": [
- "string"
], - "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keyGenStrLocation": "string",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3"
}| collectionID | string |
| dataLocation | string |
| jobID | string <uuid> |
| keySetID | string <uuid> |
| partyID | string |
| taskID | string <uuid> |
| valid | boolean |
{- "collectionID": "string",
- "dataLocation": "string",
- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3",
- "partyID": "string",
- "taskID": "e6d742d9-0922-4edc-baeb-3e1ecb0579d1",
- "valid": true
}| collectionID | string |
| jobID | string <uuid> |
| keySetID | string <uuid> |
| message | string |
{- "collectionID": "string",
- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3",
- "message": "string"
}| collectionID | string |
| dataLocation | string |
| encryptID | string <uuid> |
| jobID | string <uuid> |
| keySetID | string <uuid> |
| message | string |
| valid | boolean |
{- "collectionID": "string",
- "dataLocation": "string",
- "encryptID": "615decd1-29a5-4e09-a1b1-d8409136f831",
- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3",
- "message": "string",
- "valid": true
}| collectionId required | string |
| jobId | string <uuid> |
| message | string |
| step | string Enum: "KEY_GENERATION_ROUND_1" "KEY_GENERATION_ROUND_2" "DATA_ENCRYPTION" "DATA_DECRYPTION" "KEY_SET_DELETION" "JOB_DELETION" "TASK_DELETION" "ANALYSIS_COMPLETED" |
| timestamp | string <date-time> |
{- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "message": "string",
- "step": "KEY_GENERATION_ROUND_1",
- "timestamp": "2019-08-24T14:15:22Z"
}| collectionID | string |
| invalid | boolean |
| jobID | string <uuid> |
| keySetID | string <uuid> |
| keyShareLocation | string |
| partyID | string |
{- "collectionID": "string",
- "invalid": true,
- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3",
- "keyShareLocation": "string",
- "partyID": "string"
}| collectionID | string |
| invalid | boolean |
| jobID | string <uuid> |
| keySetID | string <uuid> |
| keyShareLocation | string |
| partyID | string |
{- "collectionID": "string",
- "invalid": true,
- "jobID": "9d2fedc8-0aa5-417a-9010-924207d2319b",
- "keySetID": "ba956954-094c-42c2-9cf0-a3b30dfa3dd3",
- "keyShareLocation": "string",
- "partyID": "string"
}| collection | string |
| dbActive | boolean |
object (DiskInfo) | |
| genedActive | boolean |
| interval | integer <int32> |
| linkIp | string |
object (MemoryInfo) | |
object (ProcessorInfo) | |
| time | string <date-time> |
{- "collection": "string",
- "dbActive": true,
- "diskInfo": {
- "totalSpace": "string",
- "unallocated": "string",
- "usableSpace": "string"
}, - "genedActive": true,
- "interval": 0,
- "linkIp": "string",
- "memoryInfo": {
- "available": "string",
- "swapTotal": "string",
- "swapUsed": "string",
- "total": "string",
- "used": "string"
}, - "processorInfo": {
- "logicalProcessorCount": 0,
- "physicalProcessorCount": 0,
- "processorIdentifier": "string",
- "usage": "string"
}, - "time": "2019-08-24T14:15:22Z"
}