mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 15:25:19 +00:00
add crypto/symbols refdata endpoint (#392)
This commit is contained in:
@@ -9,6 +9,7 @@ service Crypto {
|
||||
rpc Quote(QuoteRequest) returns (QuoteResponse) {}
|
||||
rpc Price(PriceRequest) returns (PriceResponse) {}
|
||||
rpc History(HistoryRequest) returns (HistoryResponse) {}
|
||||
rpc Symbols(SymbolsRequest) returns (SymbolsResponse) {}
|
||||
}
|
||||
|
||||
message Article {
|
||||
@@ -94,3 +95,15 @@ message HistoryResponse {
|
||||
// the date
|
||||
string date = 7;
|
||||
}
|
||||
|
||||
// Returns the full list of supported symbols
|
||||
message SymbolsRequest {}
|
||||
|
||||
message SymbolsResponse {
|
||||
repeated Symbol symbols = 1;
|
||||
}
|
||||
|
||||
message Symbol {
|
||||
string symbol = 1;
|
||||
string name = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user