Skip to content

Commit

Permalink
Added market types endpoint to staticData
Browse files Browse the repository at this point in the history
  • Loading branch information
zweizeichen committed Feb 28, 2018
1 parent cb0c607 commit 46d6ba3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions services/staticData/staticData.proto
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ syntax = "proto3";
package staticData; package staticData;


import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";


service StaticData { service StaticData {
Expand All @@ -11,6 +12,12 @@ service StaticData {
body: "*" body: "*"
}; };
} }

rpc GetMarketTypes (google.protobuf.Empty) returns (GetMarketTypesResponse) {
option (google.api.http) = {
get: "/v1/universe/types/market"
};
}
} }


message GetLocationsRequest { message GetLocationsRequest {
Expand Down Expand Up @@ -84,3 +91,8 @@ message Region {
// The region's name // The region's name
string name = 2; string name = 2;
} }

message GetMarketTypesResponse {
// Locations retrieved
repeated int32 type_ids = 1;
}

0 comments on commit 46d6ba3

Please sign in to comment.