Skip to content

v1.0.189

pan-proto-first

atom/ladies/first.proto

Category

FieldTypeLabelDescription
idint64
namestring
sortint64

Lady

FieldTypeLabelDescription
uidint64
namestring
summarystring
coverstring
style_tagstringrepeated

LadyRank

FieldTypeLabelDescription
uidint64
namestring
coverstring
vote_countint64
rankint64

atom/ladyapp/first.proto

FileContent

FieldTypeLabelDescription
indexint64
file_urlstring

LadyImage

FieldTypeLabelDescription
logo_urlstring
model_card_urlFileContentrepeated
identity_card_urlFileContentrepeated
bank_account_urlstring

LadyIntro

FieldTypeLabelDescription
girl_typestring
hash_tagstring
skillstringrepeated
likestringrepeated
afraidstringrepeated
sexy_partstringrepeated

LadyProfileData

FieldTypeLabelDescription
idint64
member_uuidstring
lady_textLadyText
lady_imageLadyImage
lady_recordLadyRecord
profile_verifyint64
general_dataint64
reject_columnsstringrepeated
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp

LadyRecord

FieldTypeLabelDescription
be_jkf_lady_urlstring
join_jkf_urlstring
work_urlstring
dreamboat_urlstring
choose_urlstring
interest_urlstring
future_urlstring

LadyText

FieldTypeLabelDescription
phonestring
stage_namestring
real_namestring
addressstring
birthdaygoogle.protobuf.Timestamp
blood_typeLadyText.BloodType
buststring
waistint64
hipsint64
heightint64
weightint64
linestring
instagramstring
facebookstring
twitterstring
lady_introLadyIntro

LadyText.BloodType

NameNumberDescription
BLOOD_TYPE_EMPTY0
BLOOD_TYPE_A1
BLOOD_TYPE_B2
BLOOD_TYPE_AB3
BLOOD_TYPE_O4
BLOOD_TYPE_UNKNOWN5

atom/member/first.proto

AddressBook

FieldTypeLabelDescription
idint64
full_namestring
zip_codestring
addressstring
phonestring
platformstring
default_buyerbool
typeAddressBook.Type

AddressBookAll

FieldTypeLabelDescription
valueAddressBookrepeated

Education

FieldTypeLabelDescription
edu_levelstring
graduate_schoolstring

History

FieldTypeLabelDescription
jobJob
eduEducation
socialSocial
salaryHistory.Salary
summarystring

Identity

FieldTypeLabelDescription
uidint64
object_idstring
huidstring
emailstring
usernamestring

Individual

FieldTypeLabelDescription
full_namestring
birthdaygoogle.protobuf.Timestamp

Job

FieldTypeLabelDescription
company_namestring
positionstring
professionalstring

Object

FieldTypeLabelDescription
object_idstring
uidint64
usernamestring
avatarstring
group_idint64Deprecated. group_id deprecated
group_namestringDeprecated. group_name deprecated
emailstring
activate_ipstring
activate_dategoogle.protobuf.Timestamp
phonestring僅會員自身可見
activatebool
display_namestring
genderGender
vip_expire_dategoogle.protobuf.Timestamp
hash_uidstring
phone_idstring僅會員自身可見
email_statusint64
is_ownerbool
createdgoogle.protobuf.Timestamp
modifiedgoogle.protobuf.Timestamp
can_new_childbool
email_verifiedbool

Secure

FieldTypeLabelDescription
passwordstring
saltstring
expiresgoogle.protobuf.Timestamp

Social

FieldTypeLabelDescription
linestring
fbstring
igstring
jvidstring

Status

FieldTypeLabelDescription
group_namestring

TokenInfo

FieldTypeLabelDescription
object_idstring
uidint64
usernamestring
group_idint64
group_namestring
display_namestring
phone_idstring

VirtualAddress

FieldTypeLabelDescription
areastring
citystring
detailstring
countrystring
zipstring

AddressBook.Type

NameNumberDescription
TypeNone0
TypeMainLive1
TypeMainShipping2

Gender

NameNumberDescription
GENDER_NOTSET0
Male1
Female2

History.Salary

NameNumberDescription
SalaryNone0
SalaryLevel11
SalaryLevel22
SalaryLevel33
SalaryLevel44
SalaryLevel55
SalaryLevel66

general/admin/admin.proto

AddLadyCategoryRequest

FieldTypeLabelDescription
namestring
sortint64

AddLadyCategoryResponse

FieldTypeLabelDescription
categorypan.atom.ladies.Category

ChangeMemberEmailRequest

FieldTypeLabelDescription
admin_tokenstring
uidint64
emailstring

ChangeMemberEmailResponse

ChangeMemberEmailResponse.Error

ChangeMemberPasswordRequest

FieldTypeLabelDescription
admin_tokenstring
uidint64
passwordstring

ChangeMemberPasswordResponse

ChangeMemberPasswordResponse.Error

DeleteLadyCategoryRequest

FieldTypeLabelDescription
idint64

DeleteLadyCategoryResponse

GoogleLoginRequest

FieldTypeLabelDescription
access_tokenstring

GoogleLoginResponse

FieldTypeLabelDescription
admin_tokenstring

LadyCategoriesRequest

LadyCategoriesResponse

FieldTypeLabelDescription
categoriespan.atom.ladies.Categoryrepeated

LadyData

FieldTypeLabelDescription
uidint64
jkf_usernamestring
display_namestring
style_tagstringrepeated
phone_numberstring
category_idint64
category_sortint64

LadyListRequest

FieldTypeLabelDescription
uidint64optional, fuzzy search
namestringoptional, fuzzy search
style_tagstringoptional
category_idint64optional

LadyListResponse

FieldTypeLabelDescription
LadyLadyDatarepeated

LadySetCategoryRequest

FieldTypeLabelDescription
target_uidint64
category_idint64
sortint64

LadySetCategoryResponse

LadySetStyleTagsRequest

FieldTypeLabelDescription
target_uidint64
style_tagstringrepeated

LadySetStyleTagsResponse

LadyUpdateRequest

FieldTypeLabelDescription
target_uidint64
display_namestring
phone_numberstring

LadyUpdateResponse

RemoveMemberAvatarRequest

FieldTypeLabelDescription
admin_tokenstring
uidint64

RemoveMemberAvatarResponse

RemoveMemberAvatarResponse.Error

ValidateAdminTokenRequest

FieldTypeLabelDescription
admin_tokenstring

ValidateAdminTokenResponse

FieldTypeLabelDescription
is_validbool
emailstring
rolesstringrepeated

ChangeMemberEmailResponse.Error.Value

NameNumberDescription
None0
NotAuthorized1001
UserNotFound1002
EmailInUseInJKF1003
EmailNotUsableInJKF1004
EmailInUseInPan1005
UpdateEmailFailed1006
InternalError1007

ChangeMemberPasswordResponse.Error.Value

NameNumberDescription
None0
NotAuthorized1001
ParsePasswordFailed1002
PasswordFormatIncorrect1003
UserNotFound1004
UpdatePasswordFailed1005

RemoveMemberAvatarResponse.Error.Value

NameNumberDescription
None0
NotAuthorized1001
UserNotFound1002
RemoveAvatarFailed1003
RemoveAvatarInJKFFailed1004
InternalError1005

AdminService

Method NameRequest TypeResponse TypeDescription
GoogleLoginGoogleLoginRequestGoogleLoginResponse
ValidateAdminTokenValidateAdminTokenRequestValidateAdminTokenResponse
ChangeMemberPasswordChangeMemberPasswordRequestChangeMemberPasswordResponsemember api
ChangeMemberEmailChangeMemberEmailRequestChangeMemberEmailResponse
RemoveMemberAvatarRemoveMemberAvatarRequestRemoveMemberAvatarResponse
LadyListLadyListRequestLadyListResponselady api
LadyUpdateLadyUpdateRequestLadyUpdateResponse
LadySetStyleTagsLadySetStyleTagsRequestLadySetStyleTagsResponse
LadySetCategoryLadySetCategoryRequestLadySetCategoryResponse
LadyCategoriesLadyCategoriesRequestLadyCategoriesResponselady category
AddLadyCategoryAddLadyCategoryRequestAddLadyCategoryResponse
DeleteLadyCategoryDeleteLadyCategoryRequestDeleteLadyCategoryResponse

general/application/app.proto

AppId

AppId.Value

NameNumberDescription
None0
jkforum1
jkfpost2
jkfstar3
jkface4
jr24h5
jktalk6
jcontrol7
shop24h8
sugar9
jktank10
avplus11

general/ladies/error.proto

ErrVote

ErrVote.General

NameNumberDescription
DEFAULT0
PHONE_REQUIRED1001
OUT_OF_QUOTA_FOR_TIME1002
OUT_OF_QUOTA_FOR_LADY1003
LOGIN_OR_REGISTER_REQUIRED1004

general/ladies/first.proto

CanIVoteRequest

FieldTypeLabelDescription
access_tokenstring
lady_uidint64

CanIVoteResponse

CategoriesRequest

CategoriesResponse

FieldTypeLabelDescription
categoriespan.atom.ladies.Categoryrepeated

GetMyRankRequest

FieldTypeLabelDescription
access_tokenstring這個 string 可以直接當作 uid 查詢

LadiesListRequest

FieldTypeLabelDescription
namestring
tagstring
category_idint64

LadiesListResponse

FieldTypeLabelDescription
Ladypan.atom.ladies.Ladyrepeated

LadyVoteType

RankListRequest

FieldTypeLabelDescription
pageint64
limitint64
periodRankListRequest.Period

RankListResponse

FieldTypeLabelDescription
ladypan.atom.ladies.LadyRankrepeated

VoteRequest

FieldTypeLabelDescription
access_tokenstring
lady_uidint64

VoteResponse

LadyVoteType.General

NameNumberDescription
LadyVoteTypeNormal0
LadyVoteTypeUserVoteReward1
LadyVoteTypeDayReward2
LadyVoteTypeRankReward3

RankListRequest.Period

NameNumberDescription
all0
week1
month2

LadiesService

Method NameRequest TypeResponse TypeDescription
LadiesListLadiesListRequestLadiesListResponse
RankListRankListRequestRankListResponse
VoteVoteRequestVoteResponse
GetMyRankGetMyRankRequest.pan.atom.ladies.LadyRank
CanIVoteCanIVoteRequestCanIVoteResponse
CategoriesCategoriesRequestCategoriesResponse

general/ladyadmin/ladyadmin.proto

GeneralLadyDataReq

FieldTypeLabelDescription
lady_register_profile_idint64

GeneralLadyDataRes

LadyProfileAttachmentReq

FieldTypeLabelDescription
lady_register_profile_idint64
attachment_typeLadyProfileAttachmentReq.AttachmentType

LadyProfileAttachmentRes

FieldTypeLabelDescription
lady_profile_attachmentpan.atom.ladyapp.LadyProfileData

LadyProfileDataVerifyReq

FieldTypeLabelDescription
lady_register_profile_idint64
data_verifyLadyProfileDataVerifyReq.DataVerify
column_namestring

LadyProfileDataVerifyRes

LadyProfileListReq

FieldTypeLabelDescription
pageint64
limitint64
phone_numberstringoptional, fuzzy search
stage_namestringoptional, fuzzy search
profile_verifyint64optional

LadyProfileListRes

FieldTypeLabelDescription
lady_profile_datapan.atom.ladyapp.LadyProfileDatarepeated
totalint64

SendMessageToLadyReq

FieldTypeLabelDescription
phonestring

SendMessageToLadyRes

LadyProfileAttachmentReq.AttachmentType

NameNumberDescription
IMAGE0
RECORD1
ALL2

LadyProfileDataVerifyReq.DataVerify

NameNumberDescription
DATA_ONE_DENY0
DATA_ALL_CONFIRM1

LadyAdminService

Method NameRequest TypeResponse TypeDescription
SendMessageToLadySendMessageToLadyReqSendMessageToLadyRes傳送手機簡訊給女郎
LadyProfileListLadyProfileListReqLadyProfileListRes取得女郎註冊資料列表 + 查詢
LadyProfileAttachmentLadyProfileAttachmentReqLadyProfileAttachmentRes取得女郎圖片或錄音檔案
LadyProfileDataVerifyLadyProfileDataVerifyReqLadyProfileDataVerifyRes審核女郎註冊資料
GeneralLadyDataGeneralLadyDataReqGeneralLadyDataRes建立女郎相關資料給Pan

general/ladyapp/error.proto

ErrBase

ErrSaveLady

ErrSendSmsCode

ErrBase.General

NameNumberDescription
NOTSET0
INVALID_PARAMETER1001
SERVER_ERROR1002
TOKEN_INVALID1003

ErrSaveLady.General

NameNumberDescription
NOTSET0
LADY_DATA_EMPTY3001

ErrSendSmsCode.General

NameNumberDescription
NOTSET0
PLEASE_GO_PAN_LOGIN2001
SMS_RESEND_DENIED2002
SMS_RESEND_LIMIT2003

general/ladyapp/first.proto

CheckLadyRegisterProfileReq

FieldTypeLabelDescription
access_tokenstring

CheckLadyRegisterProfileRes

FieldTypeLabelDescription
profile_statusCheckLadyRegisterProfileRes.ProfileStatus
check_columnstringrepeated

CheckPhoneReq

FieldTypeLabelDescription
phone_numberstring
country_codestring

CheckPhoneRes

FieldTypeLabelDescription
phone_statusCheckPhoneRes.PhoneStatus

GenerateAuthTokenReq

FieldTypeLabelDescription
access_tokenstring
app_idstring

GenerateAuthTokenRes

FieldTypeLabelDescription
auth_tokenstring

LadyAppLoginReq

FieldTypeLabelDescription
phone_numberstring
country_codestring
verify_codestring

LadyAppLoginRes

FieldTypeLabelDescription
access_tokenstring

LadyProfileReq

FieldTypeLabelDescription
access_tokenstring

LadyProfileRes

FieldTypeLabelDescription
profilepan.atom.ladyapp.LadyProfileData

SaveLadyReq

FieldTypeLabelDescription
access_tokenstring
profilepan.atom.ladyapp.LadyText

SaveLadyRes

SendSmsCodeReq

FieldTypeLabelDescription
phone_numberstring
country_codestring
session_validstring
platformSendSmsCodeReq.Platform

SendSmsCodeRes

UploadFileReq

FieldTypeLabelDescription
access_tokenstring
content_typeContentType
filebytes檔案本身
content_indexint64

UploadFileRes

ValidateStageNameReq

FieldTypeLabelDescription
access_tokenstring
stage_namestring

ValidateStageNameRes

CheckLadyRegisterProfileRes.ProfileStatus

NameNumberDescription
CREATED0
CONFIRMED1
REJECTED2
EDITED3
REGISTERED_TO_JKF4

CheckPhoneRes.PhoneStatus

NameNumberDescription
EXIST0
IS_BE_LADY1
EMPTY2

ContentType

NameNumberDescription
LOGO0
MODEL_CARD1
IDENTITY_CARD2
BANK_ACCOUNT3
RECORD_BE_JKF_LADY4
RECORD_JOIN_JKF5
RECORD_WORK6
RECORD_DREAMBOAT7
RECORD_CHOOSE8
RECORD_INTEREST9
RECORD_FUTURE10

SendSmsCodeReq.Platform

NameNumberDescription
ANDROID0
IOS1

LadyAppService

Method NameRequest TypeResponse TypeDescription
CheckPhoneCheckPhoneReqCheckPhoneRes
SendSmsCodeSendSmsCodeReqSendSmsCodeRes
LadyAppLoginLadyAppLoginReqLadyAppLoginRes
CheckLadyRegisterProfileCheckLadyRegisterProfileReqCheckLadyRegisterProfileRes確認女郎資料是否已驗證,未驗證需回傳未認可
ValidateStageNameValidateStageNameReqValidateStageNameRes
SaveLadySaveLadyReqSaveLadyRes儲存女郎資料
UploadLadyAttachmentUploadFileReqUploadFileRes上傳檔案
LadyProfileLadyProfileReqLadyProfileRes取得女郎Profile資料
GenerateAuthTokenGenerateAuthTokenReqGenerateAuthTokenRes產生Forum用AuthToken

general/member/dangerous/dangerous.proto

CmdDeleteAccountRequest

FieldTypeLabelDescription
app_idstring
pan_access_tokenstring
del_tokenstring

CmdDeleteAccountResponse

CmdDeleteMemberRequest

FieldTypeLabelDescription
app_idstring
pan_access_tokenstring
del_tokenstring

CmdDeleteMemberResponse

CmdDeleteAccountResponse.Error

NameNumberDescription
Error__None0
Error__Failed1001

CmdDeleteMemberResponse.Error

NameNumberDescription
Error__None0
Error__Failed1001

Command

Method NameRequest TypeResponse TypeDescription
DeleteMemberCmdDeleteMemberRequestCmdDeleteMemberResponse
DeleteAccountCmdDeleteAccountRequestCmdDeleteAccountResponse

general/member/error.proto

ErrAccessToken

ErrDisplayName

ErrInitGender

ErrLogin

ErrMakeLoginToken

ErrMe

ErrMemberMigrationStatus

ErrNewMember

ErrObject

ErrOtherMember

ErrReadObject

ErrRegister

ErrSetMemberEmail

ErrSetMemberPassword

ErrSys

ErrUnlockSessionToken

ErrValidateAccessToken

ErrValidateLoginToken

ErrValidateNewMember

ErrValidatePhone

ErrValidatePhoneV2

ErrAccessToken.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
EXPIRED1002
INVALID1003

ErrDisplayName.General

NameNumberDescription
GENERAL_DEFAULT0
DISPLAY_NAME_ALREADY_EXISTS1001

ErrInitGender.General

NameNumberDescription
GENERAL_NOTSET0
GENERAL_TOKEN_INVALID1001
GENERAL_FAILED1002

ErrLogin.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
SESSION_INVALID1002
CODE_INVALID1003
CODE_PENDING_101004
CODE_PENDING1005
NOT_FOUND1006
GENERAL_RECAPTCHA_FAILED1100
USERNAME_NOT_FOUND1007
PHONE_HAS_NO_MEMBER1008
MAIN_MEMBER_NOT_SET1009
DISPLAY_NAME_CORRUPTED1010
USERNAME_DENORMALIZED1011

ErrMakeLoginToken.General

NameNumberDescription
GENERAL_NOTSET0
GENERAL_FAILED1001
GENERAL_APPID_APPSECRET_REQUIRED1002

ErrMe.General

NameNumberDescription
GENERAL_DEFAULT0
TOKEN_INVALID1001
FAILED1002

ErrMemberMigrationStatus.General

NameNumberDescription
GENERAL_DEFAULT0
GENERAL_FAILED1001

ErrNewMember.General

NameNumberDescription
GENERAL_DEFAULT0
TOKEN_INVALID1001
DISPLAY_NAME_INVALID1002
MAXIMUM_MEMBER1003手機下的用戶已達上限
FAILED1004

ErrObject.General

NameNumberDescription
GENERAL_DEFAULT0
NOT_FOUND1000

ErrOtherMember.General

NameNumberDescription
GENERAL_DEFAULT0
TOKEN_INVALID1001
FAILED1002

ErrReadObject.General

NameNumberDescription
GENERAL_NOTSET0
GENERAL_FAILED1001
GENERAL_UIDS_OR_UUIDS_REQUIRED1002
GENERAL_NOT_FOUND_ANY1003

ErrRegister.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
EXISTING_MEMBER1002
SESSION_INVALID1003
CODE_INVALID1004
NAME_INVALID1005
NAME_EXISTING1006
CODE_PENDING_101007
CODE_PENDING1008
RETRY_REQUIRED1009
GENERAL_RECAPTCHA_FAILED1100

ErrSetMemberEmail.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
EMAIL_EXISTS1002

ErrSetMemberPassword.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
PWD_ISSUE1002

ErrSys.General

NameNumberDescription
GENERAL_DEFAULT0
READONLY1001
NOT_ONLINE1002

ErrUnlockSessionToken.General

NameNumberDescription
GENERAL_DEFAULT0
GENERAL_FAILED1001
GENERAL_RECAPTCHA_FAILED1100

ErrValidateAccessToken.General

NameNumberDescription
GENERAL_DEFAULT0
TOKEN_INVALID1001
FAILED1002

ErrValidateLoginToken.General

NameNumberDescription
GENERAL_NOTSET0
GENERAL_FAILED1001
GENERAL_INVALID1002
GENERAL_APPID_APPSECRET_REQUIRED1003

ErrValidateNewMember.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
EXISTING_PHONE1002
NAME_INVALID1005
TOKEN_INVALID1006
MAXIMUM_MEMBER1010手機下的用戶已達上限

ErrValidatePhone.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
EXISTING_PHONE1002
SESSION_INVALID1003
CODE_INVALID1004
NAME_INVALID1005
TOKEN_INVALID1006
NAME_EXISTING1007
CODE_PENDING_101008
CODE_PENDING1009
MAXIMUM_MEMBER1010手機下的用戶已達上限
GENERAL_RECAPTCHA_FAILED1100

ErrValidatePhoneV2.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
EXISTING_PHONE1002
SESSION_INVALID1003
CODE_INVALID1004
TOKEN_INVALID1006
CODE_PENDING_101008
CODE_PENDING1009
MAXIMUM_MEMBER1010手機下的用戶已達上限
GENERAL_RECAPTCHA_FAILED1100

general/member/first.proto

AccessTokenRequest

FieldTypeLabelDescription
auth_tokenstring
object_idstringoptional, 不填則自動選為預設用戶
app_idstring

AccessTokenResponse

FieldTypeLabelDescription
access_tokenstring

AuthResetUpdateRequest

FieldTypeLabelDescription
auth_reset_tokenstring
passwordstring
confirm_passwordstring
security_questionSecurityQuestion

AuthResetUpdateResponse

AuthResetVerifyEmailCodeRequest

FieldTypeLabelDescription
codestring

AuthResetVerifyEmailCodeResponse

FieldTypeLabelDescription
auth_reset_tokenstring

AuthResetVerifyEmailRequest

FieldTypeLabelDescription
recaptcha_tokenstring
redirect_emailstringredirect link in email template
display_namestring
emailstring
redirect_successstring

AuthResetVerifyEmailResponse

AuthResetVerifyPhoneCodeRequest

FieldTypeLabelDescription
codestring
phonestring
displayNamestring

AuthResetVerifyPhoneCodeResponse

FieldTypeLabelDescription
auth_reset_tokenstring

AuthResetVerifyPhoneRequest

FieldTypeLabelDescription
recaptcha_tokenstring
display_namestring
phonestring

AuthResetVerifyPhoneResponse

AvPlusRequest

FieldTypeLabelDescription
pan_access_tokenstring

AvPlusResponse

FieldTypeLabelDescription
is_vipbool

DeleteAddressBookRequest

FieldTypeLabelDescription
access_tokenstring
address_book_idint64

DeleteAddressBookResponse

GetAddressBooksRequest

FieldTypeLabelDescription
access_tokenstring

GetAddressBooksResponse

FieldTypeLabelDescription
address_bookspan.atom.member.AddressBookrepeated

GetPassportTokenRequest

FieldTypeLabelDescription
access_tokenstring

GetPassportTokenResponse

FieldTypeLabelDescription
passport_tokenstring
qrcode_base64string
barcode_base64string

GetQRCodeRequest

FieldTypeLabelDescription
pan_access_tokenstring

GetQRCodeResponse

FieldTypeLabelDescription
image_contentstring
display_namestring
uidint64
avatarstring
uuidstring
verify_codestring
phone_idstring

InitGenderRequest

FieldTypeLabelDescription
access_tokenstring
genderpan.atom.member.Gender

InitGenderResponse

LoginRequest

FieldTypeLabelDescription
phaseLoginRequest.Phase
phase_session_validstring
phase_session_tokenstring
phase_check_existence_valuestring
phase_input_code_valuestring
phase_input_code_ques_indexint32
phase_input_code_ques_valuestring
phase_check_existence_country_codestring
app_idstring
login_typeLoginRequest.LoginType
link_to_inputstring

LoginResponse

FieldTypeLabelDescription
phaseLoginRequest.Phase
next_phaseLoginRequest.Phase
phase_check_existence_login_typeLoginResponse.LoginType
phase_check_existence_questionbool
phase_input_code_resultLoginResponse.CodeResult
phase_input_code_time_remainingint64
phase_input_ques_resultLoginResponse.CodeResult
phase_done_auth_tokenstring
phase_session_tokenstring

LogoutRequest

FieldTypeLabelDescription
pan_access_tokenstring
token2string

LogoutResponse

LogoutResponse.Error

MakeLoginTokenRequest

FieldTypeLabelDescription
app_idstring
app_secretstring
auth_urlstring

MakeLoginTokenResponse

FieldTypeLabelDescription
login_tokenstring

MeRequest

FieldTypeLabelDescription
access_tokenstring
app_idstring

MeResponse

FieldTypeLabelDescription
userpan.atom.member.Object

MemberMigrationStatusRequest

FieldTypeLabelDescription
access_tokenstring

MemberMigrationStatusResponse

FieldTypeLabelDescription
statusMemberMigrationStatusResponse.MigrationStatus

NewMemberRequest

FieldTypeLabelDescription
auth_tokenstring
display_namestring
passwordstring
confirm_passwordstring
security_questionSecurityQuestion
session_tokenstring
app_idstring

NewMemberResponse

FieldTypeLabelDescription
objectpan.atom.member.Object

OtherMemberRequest

FieldTypeLabelDescription
access_tokenstring

OtherMemberResponse

FieldTypeLabelDescription
objectspan.atom.member.Objectrepeated

QueryMemberCredentialStatusRequest

FieldTypeLabelDescription
pan_access_tokenstring
object_idstring

QueryMemberCredentialStatusResponse

FieldTypeLabelDescription
has_passwordbool
has_emailbool
has_security_questionbool
email_verifiedbool

ReadObjectRequest

FieldTypeLabelDescription
uidsint64repeated
uuidsstringrepeated
ignore_dzbool
keywordstring

ReadObjectResponse

FieldTypeLabelDescription
objectspan.atom.member.Objectrepeated

RegisterRequest

FieldTypeLabelDescription
phaseRegisterRequest.Phase
phase_session_validstring
phase_session_tokenstring
phase_check_existence_valuestring
phase_input_code_valuestring
phase_input_name_valuestring
phase_check_existence_country_codestring
app_idstring

RegisterResponse

FieldTypeLabelDescription
phaseRegisterRequest.Phase
next_phaseRegisterRequest.Phase
phase_input_code_resultRegisterResponse.CodeResult
phase_input_code_time_remainingint64
phase_done_auth_tokenstring
phase_session_tokenstring

SaveAddressBookRequest

FieldTypeLabelDescription
access_tokenstring
address_bookpan.atom.member.AddressBookid <= 0 為新增

SaveAddressBookResponse

FieldTypeLabelDescription
address_bookpan.atom.member.AddressBook

SecurityQuestion

FieldTypeLabelDescription
questionstring
answerstring

SendEmailVerificationRequest

FieldTypeLabelDescription
redirectstringonly jkf hosts
pan_access_tokenstring
session_tokenstring
uidint32

SendEmailVerificationResponse

SendPhoneVerificationRequest

FieldTypeLabelDescription
pan_access_tokenstring
session_tokenstring
target_phone_orderint64

SendPhoneVerificationResponse

SetMemberEmailRequest

FieldTypeLabelDescription
access_tokenstring
emailstring
redirectstring

SetMemberEmailResponse

SetMemberPasswordRequest

FieldTypeLabelDescription
access_tokenstring
passwordstring
confirm_passwordstring
reset_codestring

SetMemberPasswordResponse

SwitchMemberRequest

FieldTypeLabelDescription
verify_tokenstring
pan_access_tokenstring
switch_to_object_idstring
app_idstring

SwitchMemberResponse

FieldTypeLabelDescription
auth_tokenstring
object_idstring

UniversalReadObjectRequest

FieldTypeLabelDescription
uidsint64repeated
uuidsstringrepeated
hash_idsstringrepeated
ignore_dzbool
keywordstring只支援 hashids and uids

UniversalReadObjectResponse

FieldTypeLabelDescription
objectspan.atom.member.Objectrepeated

UnlockSessionTokenRequest

FieldTypeLabelDescription
phase_session_tokenstring
phase_session_validstring
platformUnlockSessionTokenRequest.Platform

UnlockSessionTokenResponse

UpdateAvatarRequest

FieldTypeLabelDescription
access_tokenstring
avatarbytes

UpdateCredentialRequest

FieldTypeLabelDescription
pan_auth_tokenstring
object_idstring
original_passwordstring
new_passwordstring
confirm_new_passwordstring
emailstring
security_questionSecurityQuestion
email_verification_redirectstring
verify_tokenstring

UpdateCredentialResponse

UpdateSecurityQuestionRequest

FieldTypeLabelDescription
pan_access_tokenstring
update_tokenstring
security_questionSecurityQuestion

UpdateSecurityQuestionResponse

UpdateSecurityQuestionResponse.Error

ValidateAccessTokenRequest

FieldTypeLabelDescription
access_tokenstring

ValidateAccessTokenResponse

FieldTypeLabelDescription
infopan.atom.member.TokenInfo

ValidateDisplayNameRequest

FieldTypeLabelDescription
display_namestring

ValidateDisplayNameResponse

ValidateDisplayNameV2Request

FieldTypeLabelDescription
display_namestring

ValidateDisplayNameV2Response

ValidateLoginTokenRequest

FieldTypeLabelDescription
login_tokenstring
app_idstring
app_secretstring

ValidateLoginTokenResponse

FieldTypeLabelDescription
auth_urlstring

ValidateNewMemberRequest

FieldTypeLabelDescription
current_phone_auth_tokenstring
new_member_access_tokenstring
display_namestring
session_tokenstring

ValidateNewMemberResponse

FieldTypeLabelDescription
objectpan.atom.member.Object

ValidatePassportTokenRequest

FieldTypeLabelDescription
passport_tokenstring

ValidatePassportTokenResponse

FieldTypeLabelDescription
uuidstring
uidint64
phonestring
display_namestring

ValidatePhoneRequest

FieldTypeLabelDescription
phaseValidatePhoneRequest.Phase
phase_session_validstring
phase_session_tokenstring
phase_check_existence_valuestring
phase_input_code_valuestring
phase_input_name_valuestring
phase_check_existence_country_codestring
access_tokenstring
app_idstring

ValidatePhoneResponse

FieldTypeLabelDescription
phaseValidatePhoneRequest.Phase
next_phaseValidatePhoneRequest.Phase
phase_input_code_resultValidatePhoneResponse.CodeResult
phase_input_code_time_remainingint64
phase_session_tokenstring
new_auth_tokenstring

ValidatePhoneV2Request

FieldTypeLabelDescription
phaseValidatePhoneV2Request.Phase
phase_session_validstring
phase_session_tokenstring
phase_check_existence_valuestring
phase_input_code_valuestring
phase_check_existence_country_codestring
access_tokenstring
app_idstring

ValidatePhoneV2Response

FieldTypeLabelDescription
phaseValidatePhoneV2Request.Phase
next_phaseValidatePhoneV2Request.Phase
phase_input_code_resultValidatePhoneV2Response.CodeResult
phase_input_code_time_remainingint64
phase_session_tokenstring
new_auth_tokenstring

ValidateQRCodeRequest

FieldTypeLabelDescription
uuidstring
uidint64
verify_codestring

ValidateQRCodeResponse

VerifyEmailCodeRequest

FieldTypeLabelDescription
codestring

VerifyEmailCodeResponse

FieldTypeLabelDescription
verify_tokenstring

VerifyMemberByPasswordRequest

FieldTypeLabelDescription
recaptcha_tokenstring
display_namestring
emailstring
passwordstring
security_questionSecurityQuestion
session_tokenstring

VerifyMemberByPasswordResponse

FieldTypeLabelDescription
verify_tokenstring

VerifyPhoneCodeRequest

FieldTypeLabelDescription
codestring
pan_access_tokenstring
session_tokenstring

VerifyPhoneCodeResponse

FieldTypeLabelDescription
verify_tokenstring

AuthResetUpdateResponse.Err

NameNumberDescription
ErrNone0
ErrNewPasswordConfirmingFailed1001
ErrSecurityQuestionAnswerRequired1002
ErrFailed1003
ErrNewPasswordRule1004
ErrPasswordRequired1005

AuthResetVerifyEmailCodeResponse.Err

NameNumberDescription
ErrNone0
ErrCodeInvalid1001
ErrFailed1002

AuthResetVerifyEmailResponse.Err

NameNumberDescription
ErrNone0
ErrSessionInvalid1001
ErrEmailRequired1002
ErrFailed1003
ErrReachSendLimit1004
ErrDisplayNameRequired1005

AuthResetVerifyPhoneCodeResponse.Err

NameNumberDescription
ErrNone0
ErrCodeInvalid1001
ErrFailed1002

AuthResetVerifyPhoneResponse.Err

NameNumberDescription
ErrNone0
ErrReachSendLimit1001
ErrFailed1002
ErrSessionInvalid1003
ErrPhoneRequired1004
ErrDisplayNameRequired1005

GetQRCodeResponse.Error

NameNumberDescription
Error__None0
Error__Failed1001

LoginRequest.LoginType

NameNumberDescription
LOGIN_TYPE_DEFAULT0
LOGIN_TYPE_PHONE1
LOGIN_TYPE_EMAIL2
LOGIN_TYPE_EMAIL_OTC3

LoginRequest.Phase

NameNumberDescription
PHASE_DEFAULT0
PHASE_CHECK_EXISTENCE1
PHASE_INPUT_CODE2
PHASE_DONE3
PHASE_ANDROID_DEFAULT4
PHASE_IOS_DEFAULT5
PHASE_ANDROID_ENTERPISE6For Android Enterprise reCaptcha
PHASE_IOS_ENTERPISE7For iOS Enterprise reCaptcha

LoginResponse.CodeResult

NameNumberDescription
CODE_RESULT_DEFAULT0
CODE_RESULT_OK1
CODE_RESULT_RESENT3

LoginResponse.LoginType

NameNumberDescription
LOGIN_TYPE_DEFAULT0
LOGIN_TYPE_PHONE1
LOGIN_TYPE_EMAIL2
LOGIN_TYPE_EMAIL_OTC3

LogoutResponse.Error.Code

NameNumberDescription
None0
Failed1001

MeResponse.Error

NameNumberDescription
Error__None0
Error__NotExists1001
Error__Failed1002

MemberMigrationStatusResponse.MigrationStatus

NameNumberDescription
STATUS_DEFAULT0
STATUS_NEW_PAN1
STATUS_OLD_JKF2
STATUS_OLD_11283
STATUS_RETURNED_USER4
STATUS_VALID_PAN5
STATUS_VERIFY_PHONE6

NewMemberResponse.Err

NameNumberDescription
ErrNone0
ErrPasswordIsEmpty2001
ErrPasswordConfirmingFailed2002

QueryMemberCredentialStatusResponse.Err

NameNumberDescription
ErrNone0
ErrFailed1002

RegisterRequest.Phase

NameNumberDescription
PHASE_DEFAULT0
PHASE_CHECK_EXISTENCE1
PHASE_INPUT_CODE2
PHASE_INPUT_NAME3
PHASE_DONE4

RegisterResponse.CodeResult

NameNumberDescription
CODE_RESULT_DEFAULT0
CODE_RESULT_OK1
CODE_RESULT_RESENT3

SendEmailVerificationResponse.Err

NameNumberDescription
ErrNone0
ErrReachSendLimit1001
ErrFailed1002

SendPhoneVerificationResponse.Err

NameNumberDescription
ErrNone0
ErrReachSendLimit1001
ErrFailed1002

SwitchMemberResponse.Err

NameNumberDescription
ErrNone0
ErrVerifyTokenInvalid1001
ErrFailed1002
ErrObjectIDRequired1003

UnlockSessionTokenRequest.Platform

NameNumberDescription
WEB0
IOS1
ANDROID2
IOS_ENTERPRISE3
ANDROID_ENTERPRISE4

UpdateCredentialResponse.Err

NameNumberDescription
ErrNone0
ErrOriginalPasswordInvalid1001
ErrNewPasswordConfirmingFailed1002
ErrEmailDuplicated1003
ErrFailed1004
ErrNewPasswordRule1005

UpdateSecurityQuestionResponse.Error.Code

NameNumberDescription
None0
Failed1001

ValidateDisplayNameV2Response.Err

NameNumberDescription
ErrNone0
ErrSpecialChar1001
ErrDuplicated1002
ErrLength1003
ErrFailed1004

ValidatePhoneRequest.Phase

NameNumberDescription
PHASE_DEFAULT0
PHASE_CHECK_EXISTENCE1
PHASE_INPUT_CODE2
PHASE_INPUT_NAME3
PHASE_DONE4
PHASE_ANDROID_DEFAULT5
PHASE_IOS_DEFAULT6
PHASE_ANDROID_ENTERPISE7For Android Enterprise reCaptcha
PHASE_IOS_ENTERPISE8For iOS Enterprise reCaptcha

ValidatePhoneResponse.CodeResult

NameNumberDescription
CODE_RESULT_DEFAULT0
CODE_RESULT_OK1
CODE_RESULT_RESENT3

ValidatePhoneV2Request.Phase

NameNumberDescription
PHASE_DEFAULT0
PHASE_CHECK_EXISTENCE1
PHASE_INPUT_CODE2
PHASE_DONE4
PHASE_ANDROID_DEFAULT5
PHASE_IOS_DEFAULT6
PHASE_ANDROID_ENTERPISE7For Android Enterprise reCaptcha
PHASE_IOS_ENTERPISE8For iOS Enterprise reCaptcha

ValidatePhoneV2Response.CodeResult

NameNumberDescription
CODE_RESULT_DEFAULT0
CODE_RESULT_OK1
CODE_RESULT_RESENT3

ValidateQRCodeResponse.Error

NameNumberDescription
Error__None0
Error__Failed1001

VerifyEmailCodeResponse.Err

NameNumberDescription
ErrNone0
ErrCodeInvalid1001
ErrFailed1002

VerifyMemberByPasswordResponse.Err

NameNumberDescription
ErrNone0
ErrPasswordRequired1001
ErrIdentityRequired1002
ErrFailed1003
ErrAuthFailed1004
ErrSecurityQuestionRequired1005

VerifyPhoneCodeResponse.Err

NameNumberDescription
ErrNone0
ErrCodeInvalid1001
ErrFailed1002

MemberService

Method NameRequest TypeResponse TypeDescription
MeMeRequestMeResponse
OtherMemberOtherMemberRequestOtherMemberResponse
NewMemberNewMemberRequestNewMemberResponse
RegisterRegisterRequestRegisterResponse
LoginLoginRequestLoginResponse
AccessTokenAccessTokenRequestAccessTokenResponse
ValidateAccessTokenValidateAccessTokenRequestValidateAccessTokenResponse
ValidatePhoneValidatePhoneRequestValidatePhoneResponse
ValidateNewMemberValidateNewMemberRequestValidateNewMemberResponse
InitGenderInitGenderRequestInitGenderResponse
ReadObjectReadObjectRequestReadObjectResponse
MakeLoginTokenMakeLoginTokenRequestMakeLoginTokenResponse
ValidateLoginTokenValidateLoginTokenRequestValidateLoginTokenResponse
ValidateDisplayNameValidateDisplayNameRequestValidateDisplayNameResponse
UpdateAvatarUpdateAvatarRequestMeResponse
UniversalReadObjectUniversalReadObjectRequestUniversalReadObjectResponseSupport reading member data from jkforum ucenter and pan
SetMemberEmailSetMemberEmailRequestSetMemberEmailResponsev2
SetMemberPasswordSetMemberPasswordRequestSetMemberPasswordResponse
UnlockSessionTokenUnlockSessionTokenRequestUnlockSessionTokenResponse
ValidatePhoneV2ValidatePhoneV2RequestValidatePhoneV2Response
MemberMigrationStatusMemberMigrationStatusRequestMemberMigrationStatusResponse
GetAddressBooksGetAddressBooksRequestGetAddressBooksResponse通訊資料
SaveAddressBookSaveAddressBookRequestSaveAddressBookResponse
DeleteAddressBookDeleteAddressBookRequestDeleteAddressBookResponse
GetPassportTokenGetPassportTokenRequestGetPassportTokenResponsePassport Token
ValidatePassportTokenValidatePassportTokenRequestValidatePassportTokenResponse

MemberServiceV2

Method NameRequest TypeResponse TypeDescription
MeMeRequestMeResponse
OtherMemberOtherMemberRequestOtherMemberResponse
NewMemberNewMemberRequestNewMemberResponse
RegisterRegisterRequestRegisterResponse
LoginLoginRequestLoginResponse
LogoutLogoutRequestLogoutResponse
AccessTokenAccessTokenRequestAccessTokenResponse
ValidateAccessTokenValidateAccessTokenRequestValidateAccessTokenResponse
ValidatePhoneValidatePhoneRequestValidatePhoneResponse
ValidateNewMemberValidateNewMemberRequestValidateNewMemberResponse
InitGenderInitGenderRequestInitGenderResponse
ReadObjectReadObjectRequestReadObjectResponse
MakeLoginTokenMakeLoginTokenRequestMakeLoginTokenResponse
ValidateLoginTokenValidateLoginTokenRequestValidateLoginTokenResponse
ValidateDisplayNameValidateDisplayNameRequestValidateDisplayNameResponse
UpdateAvatarUpdateAvatarRequestMeResponse
UniversalReadObjectUniversalReadObjectRequestUniversalReadObjectResponseSupport reading member data from jkforum ucenter and pan
AvPlusAvPlusRequestAvPlusResponse
UpdateSecurityQuestionUpdateSecurityQuestionRequestUpdateSecurityQuestionResponse
SetMemberEmailSetMemberEmailRequestSetMemberEmailResponsev2
SetMemberPasswordSetMemberPasswordRequestSetMemberPasswordResponse
UnlockSessionTokenUnlockSessionTokenRequestUnlockSessionTokenResponse
ValidatePhoneV2ValidatePhoneV2RequestValidatePhoneV2Response
MemberMigrationStatusMemberMigrationStatusRequestMemberMigrationStatusResponse
SendEmailVerificationSendEmailVerificationRequestSendEmailVerificationResponse
VerifyEmailCodeVerifyEmailCodeRequestVerifyEmailCodeResponse
VerifyPhoneCodeVerifyPhoneCodeRequestVerifyPhoneCodeResponse
SendPhoneVerificationSendPhoneVerificationRequestSendPhoneVerificationResponse
AuthResetVerifyPhoneAuthResetVerifyPhoneRequestAuthResetVerifyPhoneResponse
AuthResetVerifyEmailAuthResetVerifyEmailRequestAuthResetVerifyEmailResponse
AuthResetVerifyEmailCodeAuthResetVerifyEmailCodeRequestAuthResetVerifyEmailCodeResponse
AuthResetVerifyPhoneCodeAuthResetVerifyPhoneCodeRequestAuthResetVerifyPhoneCodeResponse
AuthResetUpdateAuthResetUpdateRequestAuthResetUpdateResponse
UpdateCredentialUpdateCredentialRequestUpdateCredentialResponse
ValidateDisplayNameV2ValidateDisplayNameV2RequestValidateDisplayNameV2Response
MemberCredentialStatusQueryMemberCredentialStatusRequestQueryMemberCredentialStatusResponse
SwitchMemberSwitchMemberRequestSwitchMemberResponse
VerifyMemberByPasswordVerifyMemberByPasswordRequestVerifyMemberByPasswordResponse
GetAddressBooksGetAddressBooksRequestGetAddressBooksResponse通訊資料
SaveAddressBookSaveAddressBookRequestSaveAddressBookResponse
DeleteAddressBookDeleteAddressBookRequestDeleteAddressBookResponse
GetPassportTokenGetPassportTokenRequestGetPassportTokenResponsePassport Token
ValidatePassportTokenValidatePassportTokenRequestValidatePassportTokenResponse
GetQRCodeGetQRCodeRequestGetQRCodeResponse
ValidateQRCodeValidateQRCodeRequestValidateQRCodeResponse

lever/member/error.proto

ErrAuthToken

ErrDeactivateMember

ErrObject

ErrReadObject

ErrRevokeAuth

ErrAuthToken.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001
LOGIN_TOKEN_INVALID1002

ErrDeactivateMember.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001

ErrObject.General

NameNumberDescription
GENERAL_DEFAULT0
NOT_FOUND1001

ErrReadObject.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001

ErrRevokeAuth.General

NameNumberDescription
GENERAL_DEFAULT0
FAILED1001

lever/member/first.proto

AuthTokenRequest

FieldTypeLabelDescription
uidint64
login_tokenstring

AuthTokenResponse

FieldTypeLabelDescription
auth_tokenstring

SendSMSRequest

FieldTypeLabelDescription
object_idstring
textstring

SendSMSResponse

MemberService

Method NameRequest TypeResponse TypeDescription
AuthTokenAuthTokenRequestAuthTokenResponse
SendSMSSendSMSRequestSendSMSResponse

oauth/app.proto

GetAccessTokenRequest

GetAccessTokenResponse

GetDetailRequest

FieldTypeLabelDescription
scopestring
redirect_uristring
client_idstring
statestring
response_typestring
noncestring

GetDetailResponse

FieldTypeLabelDescription
app_display_namestring
app_privacy_policy_urlstring
app_terms_of_service_urlstring
permission_allstringrepeated
app_logo_urlstring
userpan.atom.member.Identity
app_summarystring

GetRefreshTokenRequest

GetRefreshTokenResponse

GetDetailResponse.Error

NameNumberDescription
Error__none0

App

Method NameRequest TypeResponse TypeDescription
GetDetailGetDetailRequestGetDetailResponse
GetAccessTokenGetAccessTokenRequestGetAccessTokenResponse
GetRefreshTokenGetRefreshTokenRequestGetRefreshTokenResponse

ApproveRequest

ApproveResponse

DoRequest

DoResponse

RejectRequest

RejectResponse

ConsentProcess

Method NameRequest TypeResponse TypeDescription
DoDoRequestDoResponse
ApproveApproveRequestApproveResponse
RejectRejectRequestRejectResponse

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)