Skip to content
Snippets Groups Projects
Commit 9a8430de authored by Fabian Helm's avatar Fabian Helm
Browse files

changed url to v1

parent aaad71d8
No related branches found
No related tags found
No related merge requests found
...@@ -10,12 +10,12 @@ option go_package = "code.fbi.h-da.de/danet/api/go/gosdn/core"; ...@@ -10,12 +10,12 @@ option go_package = "code.fbi.h-da.de/danet/api/go/gosdn/core";
service CoreService { service CoreService {
rpc GetPnd(GetPndRequest) returns (GetPndResponse) { rpc GetPnd(GetPndRequest) returns (GetPndResponse) {
option (google.api.http) = { option (google.api.http) = {
get: "/v1alpha/pnd/{pid}" get: "/v1/pnd/{pid}"
}; };
} }
rpc GetPndList(GetPndListRequest) returns (GetPndListResponse) { rpc GetPndList(GetPndListRequest) returns (GetPndListResponse) {
option (google.api.http) = { option (google.api.http) = {
get: "/v1alpha/pnds" get: "/v1/pnds"
}; };
} }
rpc CreatePnd(CreatePndRequest) returns (CreatePndResponse) { rpc CreatePnd(CreatePndRequest) returns (CreatePndResponse) {
...@@ -32,7 +32,7 @@ message GetPndListRequest { ...@@ -32,7 +32,7 @@ message GetPndListRequest {
message GetPndRequest { message GetPndRequest {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch. int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
repeated string pid = 3; string pid = 3;
} }
message GetPndListResponse { message GetPndListResponse {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment