533 lines
9.9 KiB
JSON
533 lines
9.9 KiB
JSON
{
|
|
"metadata": {
|
|
"apiVersion": "2016-03-24",
|
|
"endpointPrefix": "Loop",
|
|
"jsonVersion": "1.1",
|
|
"serviceFullName": "Jibo Loop",
|
|
"signatureVersion": "v4",
|
|
"targetPrefix": "Loop_20160324",
|
|
"protocol": "json"
|
|
},
|
|
"operations": {
|
|
"InviteMember": {
|
|
"name": "InviteLoopMember",
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"loopId": {},
|
|
"email": {},
|
|
"firstName": {
|
|
"type": "string"
|
|
},
|
|
"lastName": {
|
|
"type": "string"
|
|
},
|
|
"gender": {},
|
|
"birthday": {
|
|
"type": "long"
|
|
},
|
|
"asLegalGuardian": {
|
|
"type": "boolean"
|
|
},
|
|
"isChild": {
|
|
"type": "boolean"
|
|
},
|
|
"phoneNumber": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"loopId"
|
|
]
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"AcceptInvitation": {
|
|
"name": "AcceptLoopInvitation",
|
|
"input": {
|
|
"shape": "Sk"
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"DeclineInvitation": {
|
|
"name": "DeclineLoopInvitation",
|
|
"input": {
|
|
"shape": "Sk"
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"ListMembers": {
|
|
"name": "ListLoopMembers",
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"statusList": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"typeList": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"shape": "S8"
|
|
}
|
|
},
|
|
"UpdateMember": {
|
|
"name": "UpdateLoopMember",
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"loopId": {},
|
|
"id": {},
|
|
"email": {},
|
|
"firstName": {
|
|
"type": "string"
|
|
},
|
|
"lastName": {
|
|
"type": "string"
|
|
},
|
|
"gender": {},
|
|
"birthday": {
|
|
"type": "long"
|
|
},
|
|
"isChild": {
|
|
"type": "boolean"
|
|
},
|
|
"phoneNumber": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"loopId",
|
|
"id"
|
|
]
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"RemoveMember": {
|
|
"name": "RemoveLoopMember",
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"loopId": {},
|
|
"id": {}
|
|
},
|
|
"required": [
|
|
"loopId",
|
|
"id"
|
|
]
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"ListOwnerRobots": {
|
|
"input": {
|
|
"shape": "Sq"
|
|
},
|
|
"output": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
},
|
|
"ClearRobot": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"robotId": {}
|
|
},
|
|
"required": [
|
|
"robotId"
|
|
]
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"GetRobot": {
|
|
"input": {
|
|
"shape": "Sk"
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"accessKeyId",
|
|
"secretAccessKey",
|
|
"friendlyId"
|
|
],
|
|
"members": {
|
|
"accessKeyId": {
|
|
"type": "string"
|
|
},
|
|
"secretAccessKey": {
|
|
"type": "string"
|
|
},
|
|
"friendlyId": {}
|
|
}
|
|
}
|
|
},
|
|
"Create": {
|
|
"name": "CreateLoop",
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"robotId": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"robotId"
|
|
]
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"Update": {
|
|
"name": "UpdateLoop",
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"loopId": {},
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"loopId"
|
|
]
|
|
},
|
|
"output": {
|
|
"shape": "Sw"
|
|
}
|
|
},
|
|
"List": {
|
|
"name": "ListLoops",
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"loopId": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "list",
|
|
"member": {
|
|
"shape": "S5"
|
|
}
|
|
}
|
|
},
|
|
"Remove": {
|
|
"name": "RemoveLoop",
|
|
"input": {
|
|
"shape": "Sk"
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"SetEnrollment": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"loopId": {},
|
|
"id": {},
|
|
"face": {
|
|
"type": "boolean"
|
|
},
|
|
"voice": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"loopId",
|
|
"id"
|
|
]
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"FindOwner": {
|
|
"input": {
|
|
"shape": "Sq"
|
|
},
|
|
"output": {}
|
|
},
|
|
"SetLegalGuardian": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"loopId",
|
|
"childId",
|
|
"parentId"
|
|
],
|
|
"members": {
|
|
"loopId": {},
|
|
"childId": {},
|
|
"parentId": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"shape": "Sw"
|
|
}
|
|
},
|
|
"UpdateAgreementStatus": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"agreementId"
|
|
],
|
|
"members": {
|
|
"agreementId": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"shape": "Sw"
|
|
}
|
|
},
|
|
"UpdateNickname": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"loopId",
|
|
"id"
|
|
],
|
|
"members": {
|
|
"loopId": {},
|
|
"id": {},
|
|
"nickname": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"shape": "Sw"
|
|
}
|
|
},
|
|
"UpdatePhoneticName": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"loopId",
|
|
"id"
|
|
],
|
|
"members": {
|
|
"loopId": {},
|
|
"id": {},
|
|
"phoneticName": {
|
|
"shape": "Si"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"shape": "Sw"
|
|
}
|
|
},
|
|
"SuspendLoop": {
|
|
"input": {
|
|
"shape": "Sk"
|
|
},
|
|
"output": {
|
|
"shape": "Sw"
|
|
}
|
|
},
|
|
"UpdateMemberPhoto": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"loopId"
|
|
],
|
|
"members": {
|
|
"body": {
|
|
"shape": "S15"
|
|
},
|
|
"loopId": {
|
|
"location": "header",
|
|
"locationName": "x-loop-id"
|
|
},
|
|
"id": {
|
|
"location": "header",
|
|
"locationName": "x-id"
|
|
}
|
|
},
|
|
"payload": "body"
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
},
|
|
"RemoveMemberPhoto": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"loopId"
|
|
],
|
|
"members": {
|
|
"body": {
|
|
"shape": "S15"
|
|
},
|
|
"loopId": {},
|
|
"id": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"shape": "S5"
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S5": {
|
|
"type": "structure",
|
|
"required": [
|
|
"owner"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"owner": {},
|
|
"robot": {},
|
|
"robotFriendlyId": {},
|
|
"members": {
|
|
"shape": "S8"
|
|
},
|
|
"isSuspended": {
|
|
"type": "boolean"
|
|
},
|
|
"created": {
|
|
"type": "long"
|
|
},
|
|
"updated": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
},
|
|
"S8": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"id": {},
|
|
"loopId": {},
|
|
"accountId": {},
|
|
"account": {
|
|
"type": "structure",
|
|
"members": {
|
|
"email": {},
|
|
"firstName": {
|
|
"type": "string"
|
|
},
|
|
"lastName": {
|
|
"type": "string"
|
|
},
|
|
"gender": {},
|
|
"birthday": {
|
|
"type": "long"
|
|
},
|
|
"photoUrl": {
|
|
"type": "string"
|
|
},
|
|
"facebookAccessToken": {},
|
|
"isChild": {
|
|
"type": "boolean"
|
|
},
|
|
"phoneNumber": {
|
|
"type": "string"
|
|
},
|
|
"messagingAllowed": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"enrolled": {
|
|
"type": "structure",
|
|
"members": {
|
|
"face": {
|
|
"type": "boolean"
|
|
},
|
|
"voice": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"status": {},
|
|
"type": {},
|
|
"agreementId": {},
|
|
"nickname": {
|
|
"shape": "Sh"
|
|
},
|
|
"phoneticName": {
|
|
"shape": "Si"
|
|
},
|
|
"legalGuardianId": {},
|
|
"created": {
|
|
"type": "long"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"loopId",
|
|
"status",
|
|
"type"
|
|
]
|
|
}
|
|
},
|
|
"Sh": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Si": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Sk": {
|
|
"type": "structure",
|
|
"members": {
|
|
"loopId": {}
|
|
},
|
|
"required": [
|
|
"loopId"
|
|
]
|
|
},
|
|
"Sq": {
|
|
"type": "structure",
|
|
"members": {
|
|
"accountId": {}
|
|
}
|
|
},
|
|
"Sw": {
|
|
"type": "structure",
|
|
"required": [
|
|
"result"
|
|
],
|
|
"members": {
|
|
"result": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"S15": {
|
|
"type": "blob",
|
|
"streaming": true
|
|
}
|
|
}
|
|
} |