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";
service CoreService {
rpc GetPnd(GetPndRequest) returns (GetPndResponse) {
option (google.api.http) = {
get: "/v1alpha/pnd/{pid}"
get: "/v1/pnd/{pid}"
};
}
rpc GetPndList(GetPndListRequest) returns (GetPndListResponse) {
option (google.api.http) = {
get: "/v1alpha/pnds"
get: "/v1/pnds"
};
}
rpc CreatePnd(CreatePndRequest) returns (CreatePndResponse) {
......@@ -32,7 +32,7 @@ message GetPndListRequest {
message GetPndRequest {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
repeated string pid = 3;
string pid = 3;
}
message GetPndListResponse {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment