789 lines
26 KiB
YAML
789 lines
26 KiB
YAML
# Generated with protoc-gen-openapi
|
||
# https://github.com/google/gnostic/tree/master/cmd/protoc-gen-openapi
|
||
|
||
openapi: 3.0.3
|
||
info:
|
||
title: Eonline API
|
||
description: The greeting service definition.
|
||
version: 0.0.1
|
||
paths:
|
||
/eonline4/addchat:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: 发送聊天消息,客户端暂未用到
|
||
operationId: Eonline_AddChat
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/AddChatReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/AddChatReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/checkinfo:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: CheckInfo,客户端暂未用到
|
||
operationId: Eonline_CheckInfo
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/CheckInfoReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/CheckInfoReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/getPayoutUserLst:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: 获取申请提现玩家的列表
|
||
operationId: Eonline_GetPayoutUserLst
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutUserLstReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutUserLstReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/getchat:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: 获取聊天消息列表,客户端暂未用到
|
||
operationId: Eonline_GetChat
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/GetChatReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/GetChatReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/pay/init:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: PayInit
|
||
operationId: Eonline_PayInit
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayInitReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayInitReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/payout:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: Payout,客户端暂未用到
|
||
operationId: Eonline_Payout
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/payout/callback:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: PayoutCallback,客户端暂未用到
|
||
operationId: Eonline_PayoutCallback
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutCallbackReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutCallbackReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/payout/check:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: PayoutCheck
|
||
operationId: Eonline_PayoutCheck
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutCheckReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutCheckReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/payoutBrazil:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: PayoutBrazil,用于巴西PIX支付
|
||
operationId: Eonline_PayoutBrazil
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/setPayoutStatus:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: 设置指定玩家的提现状态
|
||
operationId: Eonline_SetPayoutStatus
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutStatusReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/PayoutStatusReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/submitcheck:
|
||
post:
|
||
tags:
|
||
- Eonline
|
||
description: SubmitCheck,客户端暂未用到
|
||
operationId: Eonline_SubmitCheck
|
||
requestBody:
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/SubmitCheckReq'
|
||
required: true
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/SubmitCheckReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
/eonline4/{name}:
|
||
get:
|
||
tags:
|
||
- Eonline
|
||
description: Sends a greeting,客户端暂未用到
|
||
operationId: Eonline_SayHello
|
||
parameters:
|
||
- name: name
|
||
in: path
|
||
required: true
|
||
schema:
|
||
type: string
|
||
responses:
|
||
"200":
|
||
description: OK
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/HelloReply'
|
||
default:
|
||
description: Default error response
|
||
content:
|
||
application/json:
|
||
schema:
|
||
$ref: '#/components/schemas/Status'
|
||
components:
|
||
schemas:
|
||
AddChatReply:
|
||
type: object
|
||
properties:
|
||
result:
|
||
type: integer
|
||
format: uint32
|
||
uuid:
|
||
type: string
|
||
lst:
|
||
type: array
|
||
items:
|
||
$ref: '#/components/schemas/PbMsgOne'
|
||
error:
|
||
type: integer
|
||
format: int32
|
||
AddChatReq:
|
||
type: object
|
||
properties:
|
||
timeStamp:
|
||
type: integer
|
||
format: int64
|
||
platform:
|
||
type: string
|
||
deviceid:
|
||
type: string
|
||
version:
|
||
type: string
|
||
ip:
|
||
type: string
|
||
ts:
|
||
type: string
|
||
sign:
|
||
type: string
|
||
uuid:
|
||
type: string
|
||
msg:
|
||
type: string
|
||
description: 发送聊天消息
|
||
CheckInfoReply:
|
||
type: object
|
||
properties:
|
||
CanCheckSubmit:
|
||
type: integer
|
||
format: int32
|
||
CheckSubmit:
|
||
type: integer
|
||
format: int32
|
||
CheckResult:
|
||
type: integer
|
||
format: int32
|
||
CheckPayout:
|
||
type: integer
|
||
format: int32
|
||
CheckCoin:
|
||
type: integer
|
||
format: int32
|
||
CanCheckPayOut:
|
||
type: integer
|
||
format: int32
|
||
CheckResultFailedDesc:
|
||
type: string
|
||
error:
|
||
type: integer
|
||
format: int32
|
||
CheckInfoReq:
|
||
type: object
|
||
properties:
|
||
platform:
|
||
type: string
|
||
deviceid:
|
||
type: string
|
||
version:
|
||
type: string
|
||
ip:
|
||
type: string
|
||
ts:
|
||
type: string
|
||
sign:
|
||
type: string
|
||
uuid:
|
||
type: string
|
||
isVerificationShow:
|
||
type: integer
|
||
format: int32
|
||
description: 身份审核信息请求
|
||
GetChatReply:
|
||
type: object
|
||
properties:
|
||
uuid:
|
||
type: string
|
||
lst:
|
||
type: array
|
||
items:
|
||
$ref: '#/components/schemas/PbMsgOne'
|
||
error:
|
||
type: integer
|
||
format: int32
|
||
GetChatReq:
|
||
type: object
|
||
properties:
|
||
timeStamp:
|
||
type: integer
|
||
format: int64
|
||
platform:
|
||
type: string
|
||
deviceid:
|
||
type: string
|
||
version:
|
||
type: string
|
||
ip:
|
||
type: string
|
||
ts:
|
||
type: string
|
||
sign:
|
||
type: string
|
||
uuid:
|
||
type: string
|
||
description: 获取聊天消息列表
|
||
GoogleProtobufAny:
|
||
type: object
|
||
properties:
|
||
'@type':
|
||
type: string
|
||
description: The type of the serialized message.
|
||
additionalProperties: true
|
||
description: Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
|
||
HelloReply:
|
||
type: object
|
||
properties:
|
||
message:
|
||
type: string
|
||
description: The response message containing the greetings
|
||
PayInitReply:
|
||
type: object
|
||
properties:
|
||
uuid:
|
||
type: string
|
||
days:
|
||
type: integer
|
||
format: uint32
|
||
items:
|
||
type: array
|
||
items:
|
||
$ref: '#/components/schemas/PayInitReply_Item'
|
||
CanCheckSubmit:
|
||
type: integer
|
||
format: int32
|
||
CheckSubmit:
|
||
type: integer
|
||
format: int32
|
||
CheckResult:
|
||
type: integer
|
||
format: int32
|
||
CheckPayout:
|
||
type: integer
|
||
format: int32
|
||
CheckCoin:
|
||
type: integer
|
||
format: int32
|
||
CanCheckPayOut:
|
||
type: integer
|
||
format: int32
|
||
CheckResultFailedDesc:
|
||
type: string
|
||
error:
|
||
type: integer
|
||
format: int32
|
||
clientData:
|
||
type: string
|
||
description: PayInitReply init reply
|
||
PayInitReply_Item:
|
||
type: object
|
||
properties:
|
||
id:
|
||
type: integer
|
||
format: uint32
|
||
amount:
|
||
type: number
|
||
format: double
|
||
status:
|
||
type: integer
|
||
format: uint32
|
||
PayInitReq:
|
||
type: object
|
||
properties:
|
||
platform:
|
||
type: string
|
||
deviceid:
|
||
type: string
|
||
version:
|
||
type: string
|
||
ip:
|
||
type: string
|
||
ts:
|
||
type: string
|
||
sign:
|
||
type: string
|
||
description: PayInitReq init request
|
||
PayoutCallbackReply:
|
||
type: object
|
||
properties:
|
||
message:
|
||
type: string
|
||
description: PayoutCallbackReply 赔付回调响应
|
||
PayoutCallbackReq:
|
||
type: object
|
||
properties:
|
||
payoutId:
|
||
type: string
|
||
customCode:
|
||
type: string
|
||
status:
|
||
type: string
|
||
msg:
|
||
type: string
|
||
timestamp:
|
||
type: integer
|
||
format: int64
|
||
description: PayoutCallbackReq 赔付回调请求
|
||
PayoutCheckReply:
|
||
type: object
|
||
properties:
|
||
status:
|
||
type: integer
|
||
format: uint32
|
||
error:
|
||
type: integer
|
||
format: int32
|
||
description: PayoutCheckReply 赔付查询响应
|
||
PayoutCheckReq:
|
||
type: object
|
||
properties:
|
||
platform:
|
||
type: string
|
||
deviceid:
|
||
type: string
|
||
version:
|
||
type: string
|
||
ts:
|
||
type: string
|
||
sign:
|
||
type: string
|
||
ip:
|
||
type: string
|
||
recordNo:
|
||
type: string
|
||
description: PayoutCheckReq 赔付查询请求
|
||
PayoutReply:
|
||
type: object
|
||
properties:
|
||
id:
|
||
type: string
|
||
recordNo:
|
||
type: string
|
||
error:
|
||
type: integer
|
||
format: int32
|
||
description: PayoutReply 赔付响应
|
||
PayoutReq:
|
||
type: object
|
||
properties:
|
||
platform:
|
||
type: string
|
||
deviceid:
|
||
type: string
|
||
version:
|
||
type: string
|
||
ts:
|
||
type: string
|
||
sign:
|
||
type: string
|
||
account:
|
||
type: string
|
||
itemId:
|
||
type: integer
|
||
format: uint32
|
||
amount:
|
||
type: number
|
||
format: double
|
||
additionalRemark:
|
||
type: string
|
||
uuid:
|
||
type: string
|
||
ip:
|
||
type: string
|
||
accountType:
|
||
type: string
|
||
documentType:
|
||
type: string
|
||
documentId:
|
||
type: string
|
||
name:
|
||
type: string
|
||
dataAdjust:
|
||
$ref: '#/components/schemas/PbReportDataAdjust'
|
||
dataShuShu:
|
||
$ref: '#/components/schemas/PbReportDataShuShu'
|
||
clientData:
|
||
type: string
|
||
clientName:
|
||
type: string
|
||
email:
|
||
type: string
|
||
description: PayoutReq 赔付请求
|
||
PayoutStatusReply:
|
||
type: object
|
||
properties:
|
||
recordNo:
|
||
type: string
|
||
status:
|
||
type: integer
|
||
format: uint32
|
||
error:
|
||
type: integer
|
||
format: uint32
|
||
PayoutStatusReq:
|
||
type: object
|
||
properties:
|
||
platform:
|
||
type: string
|
||
deviceid:
|
||
type: string
|
||
version:
|
||
type: string
|
||
ts:
|
||
type: string
|
||
sign:
|
||
type: string
|
||
recordNo:
|
||
type: string
|
||
fail:
|
||
type: string
|
||
status:
|
||
type: integer
|
||
format: uint32
|
||
description: SetPayoutStatus 设置指定玩家的提现状态
|
||
PayoutUserLstReply:
|
||
type: object
|
||
properties:
|
||
lst:
|
||
type: array
|
||
items:
|
||
$ref: '#/components/schemas/PayoutUserOne'
|
||
error:
|
||
type: integer
|
||
format: int32
|
||
description: GetPayoutUserLst 获取申请提现玩家的列表请求响应
|
||
PayoutUserLstReq:
|
||
type: object
|
||
properties:
|
||
platform:
|
||
type: string
|
||
deviceid:
|
||
type: string
|
||
version:
|
||
type: string
|
||
ts:
|
||
type: string
|
||
sign:
|
||
type: string
|
||
status:
|
||
type: integer
|
||
format: uint32
|
||
pageIndex:
|
||
type: integer
|
||
format: uint32
|
||
pageSize:
|
||
type: integer
|
||
format: uint32
|
||
description: GetPayoutUserLst 查询提现邮箱请求
|
||
PayoutUserOne:
|
||
type: object
|
||
properties:
|
||
email:
|
||
type: string
|
||
recordNo:
|
||
type: string
|
||
account:
|
||
type: string
|
||
status:
|
||
type: integer
|
||
format: uint32
|
||
PbMsgOne:
|
||
type: object
|
||
properties:
|
||
timeStamp:
|
||
type: integer
|
||
format: int64
|
||
uuid:
|
||
type: string
|
||
name:
|
||
type: string
|
||
msg:
|
||
type: string
|
||
PbReportDataAdjust:
|
||
type: object
|
||
properties:
|
||
gpsAdid:
|
||
type: string
|
||
androidId:
|
||
type: string
|
||
adid:
|
||
type: string
|
||
userAgent:
|
||
type: string
|
||
price:
|
||
type: string
|
||
currency:
|
||
type: string
|
||
PbReportDataShuShu:
|
||
type: object
|
||
properties:
|
||
gpsGaid:
|
||
type: string
|
||
androidId:
|
||
type: string
|
||
adid:
|
||
type: string
|
||
userAgent:
|
||
type: string
|
||
price:
|
||
type: string
|
||
currency:
|
||
type: string
|
||
paymentMethod:
|
||
type: string
|
||
paymentType:
|
||
type: string
|
||
paymentNumber:
|
||
type: string
|
||
iapName:
|
||
type: string
|
||
gamecoinNumber:
|
||
type: string
|
||
gamecoinType:
|
||
type: string
|
||
ssAccountId:
|
||
type: string
|
||
ssDistinctId:
|
||
type: string
|
||
ssSuperProperties:
|
||
type: string
|
||
Status:
|
||
type: object
|
||
properties:
|
||
code:
|
||
type: integer
|
||
description: The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
||
format: int32
|
||
message:
|
||
type: string
|
||
description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
|
||
details:
|
||
type: array
|
||
items:
|
||
$ref: '#/components/schemas/GoogleProtobufAny'
|
||
description: A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
||
description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
|
||
SubmitCheckReply:
|
||
type: object
|
||
properties:
|
||
result:
|
||
type: integer
|
||
format: int32
|
||
error:
|
||
type: integer
|
||
format: int32
|
||
SubmitCheckReq:
|
||
type: object
|
||
properties:
|
||
account:
|
||
type: string
|
||
uuid:
|
||
type: string
|
||
description: 提交身份文件验证请求
|
||
tags:
|
||
- name: Eonline
|