mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-17 19:20:36 +08:00
24 lines
379 B
Protocol Buffer
24 lines
379 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package api;
|
|
|
|
service WorkflowService {
|
|
// Creates a Workflow
|
|
rpc Create (CreateWorkflowRequest) returns (Workflow) {}
|
|
}
|
|
|
|
message CreateWorkflowRequest {
|
|
Workflow Workflow = 1;
|
|
}
|
|
|
|
message Workflow {
|
|
string uuid = 1;
|
|
string name = 2;
|
|
|
|
repeated Parameter parameters = 3;
|
|
}
|
|
|
|
message Parameter {
|
|
string key = 1;
|
|
string value = 2;
|
|
} |