Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-proto
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
12
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-proto
Commits
e99a636d
Commit
e99a636d
authored
5 months ago
by
Anton Sattarov
Committed by
Pavel Antonov
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
feat: Добавлен метод GetArchived для получения элемента из Архива
parent
e86c1f43
No related branches found
Branches containing commit
No related tags found
1 merge request
!77
Добавлен метод GetArchived для получения элемента из Архива
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/items/items.proto
+18
-0
18 additions, 0 deletions
proto/items/items.proto
with
18 additions
and
0 deletions
proto/items/items.proto
+
18
−
0
View file @
e99a636d
...
...
@@ -218,6 +218,12 @@ message GetRevisionOptions {
repeated
string
translations_ids
=
8
;
// Список идентификаторов переводов/локалей, которых должны быть включены в результат
}
message
GetArchivedOptions
{
string
locale_id
=
7
;
// Язык перевода который будет использоваться. Если не указан, то возвращаются данные для языка по умолчанию
repeated
string
translations_ids
=
8
;
// Список идентификаторов переводов/локалей, которых должны быть включены в результат
}
// Fields - поля которые должны быть возвращены или вычислены в результате.
// Ключ (string) - имя поля под которым будет добавляться результат.
// Значение (string) - является выражением, вычисление которого сформирует результат
...
...
@@ -418,6 +424,17 @@ message FindArchivedResponse{
int32
total
=
2
;
}
message
GetArchivedRequest
{
string
space_id
=
1
;
string
env_id
=
2
;
string
collection_id
=
3
;
string
item_id
=
4
;
GetArchivedOptions
options
=
10
;
}
message
GetArchivedResponse
{
Item
item
=
1
;
}
/**
* Сервис API элементов
*/
...
...
@@ -468,4 +485,5 @@ service Items {
rpc
Archive
(
ArchiveRequest
)
returns
(
google.protobuf.Empty
)
{}
rpc
FindArchived
(
FindArchivedRequest
)
returns
(
FindArchivedResponse
)
{}
rpc
Unarchive
(
UnarchiveRequest
)
returns
(
google.protobuf.Empty
)
{}
rpc
GetArchived
(
GetArchivedRequest
)
returns
(
GetArchivedResponse
)
{}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment