Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-proto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-proto
Merge requests
!60
API Сервиса Mailbox
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
API Сервиса Mailbox
feature/2767-MailboxService
into
master
Overview
21
Commits
13
Pipelines
0
Changes
1
Merged
Pavel Antonov
requested to merge
feature/2767-MailboxService
into
master
1 year ago
Overview
12
Commits
13
Pipelines
0
Changes
1
Linked
https://git.perx.ru/perxis/perxis/-/issues/2767
Описание
Добавлен API для сервиса Mailbox
Edited
1 year ago
by
Anton Sattarov
0
0
Merge request reports
Viewing commit
7e9dab6a
Prev
Next
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
7e9dab6a
sip
· 7e9dab6a
Anton Sattarov
authored
1 year ago
proto/mailbox/mailbox.proto
+
3
−
3
View file @ 7e9dab6a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -34,13 +34,13 @@ message ListRequest {
// Ответ на получение уведомлений
message
ListResponse
{
repeated
Message
notifications
=
1
;
repeated
Message
message
=
1
;
}
// Пометка уведомлений как прочитанных
message
MarkAsReadRequest
{
string
recipient
=
1
;
repeated
string
notification
_ids
=
2
;
repeated
string
message
_ids
=
2
;
}
// Сервис уведомлений
@@ -49,7 +49,7 @@ service Mailbox {
// Отправка уведомления
rpc
Send
(
SendRequest
)
returns
(
google.protobuf.Empty
)
{};
// Получение уведомлений, поле
recipients в Notification
всегда содержит только получателя из запроса
// Получение уведомлений, поле
to в Message
всегда содержит только получателя из запроса
rpc
List
(
ListRequest
)
returns
(
ListResponse
);
// Пометка уведомлений как прочитанных
Loading