-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4324fcb
commit ae291ff
Showing
28 changed files
with
2,162 additions
and
295 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
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
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
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 gitpod.v1; | ||
|
||
option go_package = "github.com/gitpod-io/gitpod/components/public-api/go/v1"; | ||
|
||
service ContextService { | ||
// ParseContext parses the url and returns the context | ||
rpc ParseContext(ParseContextRequest) returns (ParseContextResponse) {} | ||
} | ||
|
||
message ParseContextRequest { | ||
string url = 1; | ||
} | ||
|
||
message ParseContextResponse { | ||
Context context = 1; | ||
} | ||
|
||
message Context { | ||
string title = 1; | ||
string normalized_url = 2; | ||
string ref = 3; | ||
} |
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
Oops, something went wrong.