Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
0501f519
Commit
0501f519
authored
Jun 19, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: buf format
parent
736637a3
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
208 additions
and
71 deletions
+208
-71
apidocs.swagger.yaml
docs/apidocs.swagger.yaml
+201
-64
idp_service.proto
proto/api/v1/idp_service.proto
+1
-1
memo_service.proto
proto/api/v1/memo_service.proto
+3
-3
resource_service.proto
proto/api/v1/resource_service.proto
+2
-2
workspace_setting_service.proto
proto/api/v1/workspace_setting_service.proto
+1
-1
No files found.
docs/apidocs.swagger.yaml
View file @
0501f519
This diff is collapsed.
Click to expand it.
proto/api/v1/idp_service.proto
View file @
0501f519
...
@@ -22,7 +22,7 @@ service IdentityProviderService {
...
@@ -22,7 +22,7 @@ service IdentityProviderService {
// CreateIdentityProvider creates an identity provider.
// CreateIdentityProvider creates an identity provider.
rpc
CreateIdentityProvider
(
CreateIdentityProviderRequest
)
returns
(
IdentityProvider
)
{
rpc
CreateIdentityProvider
(
CreateIdentityProviderRequest
)
returns
(
IdentityProvider
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
post
:
"/api/v1/identityProviders"
,
post
:
"/api/v1/identityProviders"
body
:
"identity_provider"
body
:
"identity_provider"
};
};
}
}
...
...
proto/api/v1/memo_service.proto
View file @
0501f519
...
@@ -53,7 +53,7 @@ service MemoService {
...
@@ -53,7 +53,7 @@ service MemoService {
// ExportMemos exports memos.
// ExportMemos exports memos.
rpc
ExportMemos
(
ExportMemosRequest
)
returns
(
ExportMemosResponse
)
{
rpc
ExportMemos
(
ExportMemosRequest
)
returns
(
ExportMemosResponse
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
post
:
"/api/v1/memos:export"
,
post
:
"/api/v1/memos:export"
body
:
"*"
body
:
"*"
};
};
}
}
...
@@ -112,7 +112,7 @@ service MemoService {
...
@@ -112,7 +112,7 @@ service MemoService {
// CreateMemoComment creates a comment for a memo.
// CreateMemoComment creates a comment for a memo.
rpc
CreateMemoComment
(
CreateMemoCommentRequest
)
returns
(
Memo
)
{
rpc
CreateMemoComment
(
CreateMemoCommentRequest
)
returns
(
Memo
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
post
:
"/api/v1/{name=memos/*}/comments"
,
post
:
"/api/v1/{name=memos/*}/comments"
body
:
"comment"
body
:
"comment"
};
};
option
(
google.api.method_signature
)
=
"name"
;
option
(
google.api.method_signature
)
=
"name"
;
...
@@ -135,7 +135,7 @@ service MemoService {
...
@@ -135,7 +135,7 @@ service MemoService {
// UpsertMemoReaction upserts a reaction for a memo.
// UpsertMemoReaction upserts a reaction for a memo.
rpc
UpsertMemoReaction
(
UpsertMemoReactionRequest
)
returns
(
Reaction
)
{
rpc
UpsertMemoReaction
(
UpsertMemoReactionRequest
)
returns
(
Reaction
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
post
:
"/api/v1/{name=memos/*}/reactions"
,
post
:
"/api/v1/{name=memos/*}/reactions"
body
:
"*"
body
:
"*"
};
};
option
(
google.api.method_signature
)
=
"name"
;
option
(
google.api.method_signature
)
=
"name"
;
...
...
proto/api/v1/resource_service.proto
View file @
0501f519
...
@@ -16,7 +16,7 @@ service ResourceService {
...
@@ -16,7 +16,7 @@ service ResourceService {
// CreateResource creates a new resource.
// CreateResource creates a new resource.
rpc
CreateResource
(
CreateResourceRequest
)
returns
(
Resource
)
{
rpc
CreateResource
(
CreateResourceRequest
)
returns
(
Resource
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
post
:
"/api/v1/resources"
,
post
:
"/api/v1/resources"
body
:
"resource"
body
:
"resource"
};
};
}
}
...
@@ -41,7 +41,7 @@ service ResourceService {
...
@@ -41,7 +41,7 @@ service ResourceService {
// UpdateResource updates a resource.
// UpdateResource updates a resource.
rpc
UpdateResource
(
UpdateResourceRequest
)
returns
(
Resource
)
{
rpc
UpdateResource
(
UpdateResourceRequest
)
returns
(
Resource
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
patch
:
"/api/v1/{resource.name=resources/*}"
,
patch
:
"/api/v1/{resource.name=resources/*}"
body
:
"resource"
body
:
"resource"
};
};
option
(
google.api.method_signature
)
=
"resource,update_mask"
;
option
(
google.api.method_signature
)
=
"resource,update_mask"
;
...
...
proto/api/v1/workspace_setting_service.proto
View file @
0501f519
...
@@ -17,7 +17,7 @@ service WorkspaceSettingService {
...
@@ -17,7 +17,7 @@ service WorkspaceSettingService {
// SetWorkspaceSetting updates the setting.
// SetWorkspaceSetting updates the setting.
rpc
SetWorkspaceSetting
(
SetWorkspaceSettingRequest
)
returns
(
WorkspaceSetting
)
{
rpc
SetWorkspaceSetting
(
SetWorkspaceSettingRequest
)
returns
(
WorkspaceSetting
)
{
option
(
google.api.http
)
=
{
option
(
google.api.http
)
=
{
patch
:
"/api/v1/workspace/{setting.name=settings/*}"
,
patch
:
"/api/v1/workspace/{setting.name=settings/*}"
body
:
"setting"
body
:
"setting"
};
};
option
(
google.api.method_signature
)
=
"setting"
;
option
(
google.api.method_signature
)
=
"setting"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment