confidence.events.v1.api.proto Maven / Gradle / Ivy
syntax = "proto3";
package confidence.events.v1;
import "google/api/resource.proto";
import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/protobuf/descriptor.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "confidence/events/v1/types.proto";
option java_package = "com.spotify.confidence.events.v1";
option java_multiple_files = true;
option java_outer_classname = "ApiProto";
extend google.protobuf.ServiceOptions {
string service_name = 4399229;
repeated string hosts = 4399228;
}
service EventsService {
option (service_name) = "Events";
option (hosts) = "events.eu.confidence.dev";
option (hosts) = "events.us.confidence.dev";
rpc PublishEvents(PublishEventsRequest) returns (PublishEventsResponse) {
// (-- api-linter: core::0136::http-uri-suffix=disabled
option (google.api.http) = {
post: "/v1/events:publish"
body: "*"
};
}
}
message PublishEventsRequest {
string client_secret = 1 [
(google.api.field_behavior) = REQUIRED
];
repeated Event events = 2 [
(google.api.field_behavior) = REQUIRED
];
// The client time when the request was sent.
google.protobuf.Timestamp send_time = 3 [
(google.api.field_behavior) = REQUIRED
];
// Information about the SDK used to initiate the request.
Sdk sdk = 4 [
(google.api.field_behavior) = OPTIONAL
];
}
message PublishEventsResponse {
repeated EventError errors = 1;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy