Skip to content

API Reference ​


1. Info ​

  • Title: gRPC API
  • Version: 1.0.0
  • Description: This documentation is generated from protobuf files using protoc-gen-doc.

2. Paths ​

WorldCheck ​

NewCases ​

  • Summary: 新建案件
  • Method: NewCases
  • Endpoint: world_check_bridge.WorldCheck/NewCases
  • Request:
  • Response:

GetCases ​

  • Summary: 查询案件
  • Method: GetCases
  • Endpoint: world_check_bridge.WorldCheck/GetCases
  • Request:
  • Response:

UpdateCases ​

  • Summary: 更新案件
  • Method: UpdateCases
  • Endpoint: world_check_bridge.WorldCheck/UpdateCases
  • Request:
  • Response:

3. Components ​

3.1 Schemas ​

GetCasesRequest ​

FieldTypeDescription
caseIdstring案件ID

GetCasesResponse ​

FieldTypeDescription
caseIdstring报告id
caseSystemIdstring系统案件ID
reportDatabytes报告内容

NewCasesRequest ​

FieldTypeDescription
namestring姓名或名称
entityTypeEntityType实体类型
watchlistNewCasesRequest.Watchlist观察名单信息
passportCheckNewCasesRequest.PassportCheck护照校验信息

PassportCheck ​

FieldTypeDescription
individualNewCasesRequest.PassportCheck.Individual护照个人信息

Individual ​

FieldTypeDescription
passportGivenNamesstring护照上的名字(必填)
passportLastNamestring护照上的姓氏(必填)
passportGenderstring护照上的性别(必填)
passportIssuingStatestring护照发行国(必填)
passportNationalitystring护照上的国籍(必填)
passportDateOfBirthstring护照上的出生日期(必填)
passportDocumentTypestring护照文件类型(必填)
passportIDNumberstring护照编号(必填)
passportDateOfExpirystring护照到期日期(必填)

Watchlist ​

FieldTypeDescription
individualNewCasesRequest.Watchlist.Individual个人信息
organisationNewCasesRequest.Watchlist.Organisation组织信息

Individual ​

FieldTypeDescription
genderstring性别
dateOfBirthstring出生日期
countryLocationstring所在国家
placeOfBirthstring出生地点
nationalitystring国籍
documentIDstring证件号码
documentIDCountrystring证件发行国家
documentIDTypestring证件类型

Organisation ​

FieldTypeDescription
registerdCountrystring注册国家
documentIDstring证件号码
documentIDCountrystring证件发行国家
documentIDTypestring证件类型

NewCasesResponse ​

FieldTypeDescription
namestring姓名或名称
caseIdstring案件ID
caseSystemIdstring系统案件ID
resultsNewCasesResponse.Result匹配结果列表

Result ​

FieldTypeDescription
matchScoredouble匹配分数
categoriesstring匹配类别
resolutionNewCasesResponse.Result.Resolution处理结果

Resolution ​

FieldTypeDescription
statusIdstring状态ID

UpdateCasesRequest ​

FieldTypeDescription
caseSystemIdstring系统案件ID

3.2 Enums ​

EntityType ​

实体类型

NameNumberDescription
UNKNOW_TYPE0未知类型
ORGANISATION1组织
INDIVIDUAL2个人
VESSEL3船只
UNSPECIFIED4未指定

4. Scalar Value Types ​

Proto TypeGo TypeC++ TypeJava TypePython TypeNotes
doublefloat64doubledoublefloat
floatfloat32floatfloatfloat
int32int32int32intintUses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.
int64int64int64longint/longUses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.
uint32uint32uint32intint/longUses variable-length encoding.
uint64uint64uint64longint/longUses variable-length encoding.
sint32int32int32intintUses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.
sint64int64int64longint/longUses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.
fixed32uint32uint32intintAlways four bytes. More efficient than uint32 if values are often greater than 2^28.
fixed64uint64uint64longint/longAlways eight bytes. More efficient than uint64 if values are often greater than 2^56.
sfixed32int32int32intintAlways four bytes.
sfixed64int64int64longint/longAlways eight bytes.
boolboolboolbooleanboolean
stringstringstringStringstr/unicodeA string must always contain UTF-8 encoded or 7-bit ASCII text.
bytes[]bytestringByteStringstrMay contain any arbitrary sequence of bytes.

🚀 构建现代化数字资产交易平台