162 lines
3.4 KiB
JSON
162 lines
3.4 KiB
JSON
{
|
|
"metadata": {
|
|
"apiVersion": "2016-09-30",
|
|
"endpointPrefix": "gqa",
|
|
"jsonVersion": "1.1",
|
|
"serviceFullName": "Jibo GQA",
|
|
"signatureVersion": "v4",
|
|
"targetPrefix": "GQA_20160930",
|
|
"protocol": "json"
|
|
},
|
|
"operations": {
|
|
"Question": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Input"
|
|
],
|
|
"members": {
|
|
"Input": {
|
|
"type": "string"
|
|
},
|
|
"Intent": {
|
|
"type": "string"
|
|
},
|
|
"Latitude": {
|
|
"type": "float"
|
|
},
|
|
"Longitude": {
|
|
"type": "float"
|
|
},
|
|
"Country": {
|
|
"type": "string"
|
|
},
|
|
"HasKid": {
|
|
"type": "boolean"
|
|
},
|
|
"Timezone": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"success"
|
|
],
|
|
"members": {
|
|
"success": {
|
|
"type": "boolean"
|
|
},
|
|
"source": {
|
|
"type": "string"
|
|
},
|
|
"answer": {
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"timestamps": {
|
|
"type": "structure",
|
|
"required": [
|
|
"receive_request"
|
|
],
|
|
"members": {
|
|
"receive_request": {
|
|
"type": "long"
|
|
},
|
|
"return_response": {
|
|
"type": "long"
|
|
},
|
|
"bing_request": {
|
|
"type": "long"
|
|
},
|
|
"bing_response": {
|
|
"type": "long"
|
|
},
|
|
"wiki_request": {
|
|
"type": "long"
|
|
},
|
|
"wiki_response": {
|
|
"type": "long"
|
|
},
|
|
"wolfram_request": {
|
|
"type": "long"
|
|
},
|
|
"wolfram_response": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
},
|
|
"response": {
|
|
"type": "object"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListAttribution": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ID"
|
|
],
|
|
"members": {
|
|
"ID": {
|
|
"type": "string"
|
|
},
|
|
"Service": {
|
|
"type": "string"
|
|
},
|
|
"after": {
|
|
"type": "long"
|
|
},
|
|
"before": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"data"
|
|
],
|
|
"members": {
|
|
"data": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"service": {
|
|
"type": "string"
|
|
},
|
|
"query": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"image_url": {
|
|
"type": "string"
|
|
},
|
|
"robot_id": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {}
|
|
} |