gRPC
5 services, 11 methods on obp-api-sandbox.nmbbank.co.tz:50051 (plaintext), read by server reflection.
code.obp.grpc.chat.g1.ChatStreamService
rpc StreamMessages(StreamMessagesRequest) returns (stream ChatMessageEvent)
Request
- chat_room_id
- string
Response
- event_type
- string
- chat_message_id
- string
- chat_room_id
- string
- sender_user_id
- string
- sender_consumer_id
- string
- sender_username
- string
- sender_provider
- string
- sender_consumer_name
- string
- content
- string
- message_type
- string
- mentioned_user_ids
- repeated string
- reply_to_message_id
- string
- thread_id
- string
- is_deleted
- bool
- created_at
- .google.protobuf.Timestamp
- updated_at
- .google.protobuf.Timestamp
rpc StreamTyping(stream TypingEvent) returns (stream TypingIndicator)
Request
- chat_room_id
- string
- is_typing
- bool
Response
- chat_room_id
- string
- user_id
- string
- username
- string
- provider
- string
- is_typing
- bool
rpc StreamPresence(StreamPresenceRequest) returns (stream PresenceEvent)
Request
- chat_room_id
- string
Response
- user_id
- string
- username
- string
- provider
- string
- is_online
- bool
rpc StreamUnreadCounts(StreamUnreadCountsRequest) returns (stream UnreadCountEvent)
Request
- No fields.
Response
- chat_room_id
- string
- unread_count
- int64
code.obp.grpc.logcache.g1.LogCacheStreamService
rpc StreamLogCacheEntries(StreamLogCacheRequest) returns (stream LogCacheEntry)
Request
- level
- .code.obp.grpc.logcache.g1.LogLevel
Response
- level
- .code.obp.grpc.logcache.g1.LogLevel
- message
- string
- timestamp
- .google.protobuf.Timestamp
- api_instance_id
- string
code.obp.grpc.metricsstream.g1.MetricsStreamService
rpc StreamMetrics(StreamMetricsRequest) returns (stream MetricEvent)
Request
- consumer_id
- string
- user_id
- string
- verb
- string
- url_substring
- string
- implemented_by_partial_function
- string
- app_name
- string
- consent_reference_id
- string
Response
- url
- string
- date
- string
- duration
- int64
- user_id
- string
- username
- string
- app_name
- string
- developer_email
- string
- consumer_id
- string
- implemented_by_partial_function
- string
- implemented_in_version
- string
- verb
- string
- status_code
- int32
- correlation_id
- string
- source_ip
- string
- target_ip
- string
- api_instance_id
- string
- operation_id
- string
- consent_reference_id
- string
- forwarded_for
- string
- auth_type
- string
- certificate_trust
- string
- certificate_trust_detail
- string
- domain_api_url
- string
code.obp.grpc.ObpService
rpc getBanks(Empty) returns (BanksJson400Grpc)
Request
- No fields.
Response
- banks
- repeated .code.obp.grpc.BanksJson400Grpc.BankJson400Grpc
code.obp.grpc.signal.g1.SignalChannelsService
rpc Publish(PublishRequest) returns (PublishResponse)
Request
- channel_name
- string
- to_user_id
- string
- message_type
- string
- payload_json
- string
Response
- message_id
- string
- channel_name
- string
- timestamp
- .google.protobuf.Timestamp
- channel_message_count
- int64
- sequence
- int64
rpc Fetch(FetchRequest) returns (FetchResponse)
Request
- channel_name
- string
- offset
- int32
- limit
- int32
- after_sequence
- int64
Response
- channel_name
- string
- messages
- repeated .code.obp.grpc.signal.g1.SignalMessage
- total_count
- int64
- has_more
- bool
- latest_sequence
- int64
- next_after_sequence
- int64
- visible_count
- int64
rpc ListChannels(ListChannelsRequest) returns (ListChannelsResponse)
Request
- No fields.
Response
- channels
- repeated .code.obp.grpc.signal.g1.SignalChannelInfo
rpc Subscribe(SubscribeRequest) returns (stream SignalMessage)
Request
- channel_name
- string
Response
- message_id
- string
- channel_name
- string
- sender_consumer_id
- string
- sender_user_id
- string
- to_user_id
- string
- timestamp
- .google.protobuf.Timestamp
- message_type
- string
- payload_json
- string
- sequence
- int64