Files
Zos/Skills/@be/node_modules/@jibo/jibo-server-client/apis/account-2015-11-11.min.json

484 lines
8.6 KiB
JSON
Raw Normal View History

{
"metadata": {
"apiVersion": "2015-11-11",
"endpointPrefix": "account",
"jsonVersion": "1.1",
"serviceFullName": "Jibo Account",
"signatureVersion": "v4",
"targetPrefix": "Account_20151111",
"protocol": "json"
},
"operations": {
"CheckEmail": {
"input": {
"shape": "S1"
},
"output": {
"type": "structure",
"required": [
"exists"
],
"members": {
"exists": {
"type": "boolean"
}
}
}
},
"Create": {
"input": {
"type": "structure",
"required": [
"email",
"password"
],
"members": {
"email": {},
"password": {},
"invitationCode": {},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"gender": {},
"birthday": {
"type": "long"
},
"campaign": {},
"messagingAllowed": {
"type": "boolean"
},
"roles": {
"shape": "S9"
},
"termsAccepted": {
"type": "long"
}
}
},
"output": {
"shape": "Sb"
}
},
"Login": {
"input": {
"type": "structure",
"required": [
"email",
"password"
],
"members": {
"email": {},
"password": {}
}
},
"output": {
"shape": "Sb"
}
},
"Search": {
"input": {
"type": "structure",
"required": [
"query"
],
"members": {
"query": {}
}
},
"output": {
"shape": "Sg"
}
},
"ResetKeys": {
"output": {
"shape": "Sb"
}
},
"Get": {
"input": {
"type": "structure",
"members": {
"ids": {
"type": "list",
"member": {}
}
}
},
"output": {
"shape": "Sg"
}
},
"Update": {
"input": {
"type": "structure",
"members": {
"email": {},
"password": {},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"gender": {},
"birthday": {
"type": "long"
},
"messagingAllowed": {
"type": "boolean"
}
}
},
"output": {
"shape": "Sb"
}
},
"Remove": {
"output": {
"shape": "Sb"
}
},
"ActivateByCode": {
"input": {
"type": "structure",
"required": [
"code"
],
"members": {
"code": {
"type": "string"
}
}
},
"output": {
"shape": "Sb"
}
},
"ResendActivationCode": {
"input": {
"shape": "S1"
},
"output": {
"shape": "Sb"
}
},
"ChangePassword": {
"input": {
"type": "structure",
"required": [
"oldPassword",
"newPassword"
],
"members": {
"oldPassword": {},
"newPassword": {}
}
},
"output": {
"shape": "Sb"
}
},
"ChangeEmail": {
"input": {
"type": "structure",
"required": [
"password",
"email"
],
"members": {
"password": {},
"email": {},
"campaign": {}
}
},
"output": {
"shape": "So"
}
},
"ConfirmEmailReset": {
"input": {
"type": "structure",
"required": [
"code"
],
"members": {
"code": {}
}
}
},
"SendPasswordReset": {
"input": {
"shape": "S1"
},
"output": {
"shape": "Sb"
}
},
"PasswordResetByCode": {
"input": {
"type": "structure",
"required": [
"code",
"password"
],
"members": {
"code": {},
"password": {}
}
},
"output": {
"shape": "Sb"
}
},
"UpdatePhoto": {
"input": {
"type": "structure",
"members": {
"body": {
"type": "blob",
"streaming": true
}
},
"payload": "body"
},
"output": {
"shape": "Sb"
}
},
"RemovePhoto": {
"output": {
"shape": "Sb"
}
},
"SendPhoneVerificationCode": {
"input": {
"type": "structure",
"required": [
"phoneNumber"
],
"members": {
"phoneNumber": {
"type": "string"
}
}
},
"output": {
"shape": "So"
}
},
"VerifyPhoneByCode": {
"input": {
"type": "structure",
"required": [
"code"
],
"members": {
"code": {
"type": "string"
}
}
},
"output": {
"shape": "Sb"
}
},
"CreateAccessToken": {
"input": {
"type": "structure",
"members": {
"payload": {}
}
},
"output": {
"shape": "Sy"
}
},
"GetAccountByAccessToken": {
"input": {
"shape": "Sy"
},
"output": {
"type": "structure",
"required": [
"accessKeyId",
"secretAccessKey"
],
"members": {
"id": {},
"accessKeyId": {
"type": "string"
},
"secretAccessKey": {
"type": "string"
},
"email": {},
"friendlyId": {
"type": "string"
},
"payload": {}
}
}
},
"FacebookPrepareLogin": {
"output": {
"type": "structure",
"required": [
"url"
],
"members": {
"url": {
"type": "string"
},
"client_id": {
"type": "string"
},
"scope": {
"type": "string"
},
"response_type": {
"type": "string"
},
"state": {},
"redirect_uri": {
"type": "string"
}
}
}
},
"FacebookConnect": {
"input": {
"type": "structure",
"required": [
"state",
"token"
],
"members": {
"state": {},
"token": {
"type": "string"
}
}
},
"output": {
"shape": "Sb"
}
},
"FacebookMobileConnect": {
"input": {
"type": "structure",
"required": [
"token"
],
"members": {
"token": {
"type": "string"
}
}
},
"output": {
"shape": "Sb"
}
},
"AcceptTerms": {
"output": {
"shape": "Sb"
}
}
},
"shapes": {
"S1": {
"type": "structure",
"required": [
"email"
],
"members": {
"email": {},
"campaign": {}
}
},
"S9": {
"type": "list",
"member": {
"type": "string"
}
},
"Sb": {
"type": "structure",
"required": [
"id",
"email"
],
"members": {
"id": {},
"email": {},
"accessKeyId": {
"type": "string"
},
"secretAccessKey": {
"type": "string"
},
"lastName": {
"type": "string"
},
"firstName": {
"type": "string"
},
"gender": {},
"birthday": {
"type": "long"
},
"isActive": {
"type": "boolean"
},
"roles": {
"shape": "S9"
},
"photoUrl": {
"type": "string"
},
"facebookConnected": {
"type": "boolean"
},
"termsAccepted": {
"type": "long"
},
"phoneNumber": {
"type": "string"
},
"messagingAllowed": {
"type": "boolean"
}
}
},
"Sg": {
"type": "list",
"member": {
"shape": "Sb"
}
},
"So": {
"type": "structure",
"required": [
"id"
],
"members": {
"id": {}
}
},
"Sy": {
"type": "structure",
"required": [
"token"
],
"members": {
"token": {},
"expires": {
"type": "long"
}
}
}
}
}