We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51eae90 commit 82305d6Copy full SHA for 82305d6
components/content-service-api/usage.proto
@@ -0,0 +1,23 @@
1
+// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
+// Licensed under the GNU Affero General Public License (AGPL).
3
+// See License-AGPL.txt in the project root for license information.
4
+
5
+syntax = "proto3";
6
7
+package contentservice;
8
9
+option go_package = "github.com/gitpod-io/gitpod/content-service/api";
10
11
+service UsageReportService {
12
+ // UploadURL provides a URL to which clients can upload the content via HTTP PUT.
13
+ rpc UploadURL(UsageReportUploadURLRequest) returns (UsageReportUploadURLResponse) {}
14
+}
15
16
+message UsageReportUploadURLRequest {
17
+ string bucket = 1;
18
+ string name = 2;
19
20
21
+message UsageReportUploadURLResponse {
22
+ string url = 1;
23
0 commit comments