mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
6ec06f66b9
(cherry picked from commit a4f75cc0438712c90b02d24740416f8615e3a0cb)
48 lines
921 B
Protocol Buffer
48 lines
921 B
Protocol Buffer
syntax = "proto3";
|
|
package pluginextensionv2;
|
|
|
|
option go_package = "./;pluginextensionv2";
|
|
|
|
message StringList {
|
|
repeated string values = 1;
|
|
}
|
|
|
|
message RenderRequest {
|
|
string url = 1;
|
|
int32 width = 2;
|
|
int32 height = 3;
|
|
float deviceScaleFactor = 4;
|
|
string filePath = 5;
|
|
string renderKey = 6;
|
|
string domain = 7;
|
|
int32 timeout = 8;
|
|
string timezone = 9;
|
|
map<string, StringList> headers = 10;
|
|
string authToken = 11;
|
|
}
|
|
|
|
message RenderResponse {
|
|
string error = 1;
|
|
}
|
|
|
|
message RenderCSVRequest {
|
|
string url = 1;
|
|
string filePath = 2;
|
|
string renderKey = 3;
|
|
string domain = 4;
|
|
int32 timeout = 5;
|
|
string timezone = 6;
|
|
map<string, StringList> headers = 7;
|
|
string authToken = 8;
|
|
}
|
|
|
|
message RenderCSVResponse {
|
|
string error = 1;
|
|
string fileName = 2;
|
|
}
|
|
|
|
service Renderer {
|
|
rpc Render(RenderRequest) returns (RenderResponse);
|
|
rpc RenderCSV(RenderCSVRequest) returns (RenderCSVResponse);
|
|
}
|