Skip to content

Commit ca3f94d

Browse files
easyCZroboquat
authored andcommitted
[public-api] Add ID to RegeneratePersonalAccessTokenRequest
1 parent e4daab9 commit ca3f94d

File tree

3 files changed

+28
-7
lines changed

3 files changed

+28
-7
lines changed

components/public-api/gitpod/experimental/v1/tokens.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,11 @@ message ListPersonalAccessTokensResponse {
8888
}
8989

9090
message RegeneratePersonalAccessTokenRequest {
91+
// id is the ID of the PersonalAccessToken
92+
string id = 1;
93+
9194
// expiration time is the time when the new token should expire
92-
google.protobuf.Timestamp expiration_time = 1;
95+
google.protobuf.Timestamp expiration_time = 2;
9396
}
9497

9598
message RegeneratePersonalAccessTokenResponse {

components/public-api/go/experimental/v1/tokens.pb.go

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/public-api/typescript/src/gitpod/experimental/v1/tokens_pb.ts

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)