-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move changes to new core/v1/build.proto
- Loading branch information
William Batista
authored and
William Batista
committed
Oct 21, 2024
1 parent
43a7827
commit 69fccb0
Showing
2 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
syntax = "proto3"; | ||
package depot.core.v1; | ||
|
||
service BuildService { | ||
// Share a URL to a build with users outside of your organization | ||
rpc ShareBuild(ShareBuildRequest) returns (ShareBuildResponse); | ||
|
||
// Stop sharing a build | ||
rpc StopSharingBuild(StopSharingBuildRequest) returns (StopSharingBuildResponse); | ||
} | ||
|
||
message ShareBuildRequest { | ||
string build_id = 1; | ||
} | ||
|
||
message ShareBuildResponse { | ||
string share_url = 1; | ||
} | ||
|
||
message StopSharingBuildRequest { | ||
string build_id = 1; | ||
} | ||
|
||
message StopSharingBuildResponse {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters