Files
Zos/Skills/@be/node_modules/@jibo/jibo-server-client/apis/key-2016-02-01.min.json

207 lines
3.6 KiB
JSON

{
"metadata": {
"apiVersion": "2016-02-01",
"endpointPrefix": "key",
"jsonVersion": "1.1",
"serviceFullName": "Jibo Key",
"signatureVersion": "v4",
"targetPrefix": "Key_20160201",
"protocol": "json"
},
"operations": {
"GetRequest": {
"input": {
"type": "structure",
"required": [
"id"
],
"members": {
"id": {}
}
},
"output": {
"shape": "S3"
}
},
"CreateRequest": {
"input": {
"type": "structure",
"required": [
"loopId",
"publicKey"
],
"members": {
"loopId": {},
"publicKey": {}
}
},
"output": {
"shape": "S3"
}
},
"Share": {
"input": {
"type": "structure",
"required": [
"id",
"encryptedKey"
],
"members": {
"id": {},
"encryptedKey": {},
"keyHash": {}
}
},
"output": {
"shape": "S3"
}
},
"ListIncomingRequests": {
"input": {
"shape": "Sb"
},
"output": {
"type": "list",
"member": {
"shape": "S3"
}
}
},
"ShouldCreate": {
"input": {
"shape": "Sb"
},
"output": {
"type": "structure",
"required": [
"shouldCreate"
],
"members": {
"shouldCreate": {
"type": "boolean"
}
}
}
},
"Backup": {
"input": {
"type": "structure",
"required": [
"loopId",
"encryptedKey"
],
"members": {
"loopId": {},
"encryptedKey": {},
"passwordHash": {}
}
},
"output": {
"shape": "Sg"
}
},
"Restore": {
"input": {
"type": "structure",
"required": [
"loopId"
],
"members": {
"loopId": {},
"passwordHash": {}
}
},
"output": {
"shape": "Sg"
}
},
"ListBinaryRequests": {
"input": {
"shape": "Sb"
},
"output": {
"type": "list",
"member": {
"shape": "Sj"
}
}
},
"ShareBinary": {
"input": {
"type": "structure",
"required": [
"id"
],
"members": {
"body": {
"type": "blob",
"streaming": true
},
"id": {
"location": "header",
"locationName": "x-id"
}
},
"payload": "body"
},
"output": {
"shape": "Sj"
}
}
},
"shapes": {
"S3": {
"type": "structure",
"required": [
"id",
"accountId",
"loopId",
"publicKey"
],
"members": {
"id": {},
"accountId": {},
"loopId": {},
"publicKey": {},
"encryptedKey": {}
}
},
"Sb": {
"type": "structure",
"required": [
"loopId"
],
"members": {
"loopId": {}
}
},
"Sg": {
"type": "structure",
"required": [
"loopId",
"encryptedKey"
],
"members": {
"loopId": {},
"accountId": {},
"encryptedKey": {}
}
},
"Sj": {
"type": "structure",
"required": [
"id",
"accountId",
"loopId",
"encryptedUrl"
],
"members": {
"id": {},
"accountId": {},
"loopId": {},
"encryptedUrl": {},
"decryptedUrl": {}
}
}
}
}