Skip to content

Commit

Permalink
Add instance id part of more api calls
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Dec 6, 2024
1 parent 12bd5ce commit 928839a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions proto/src/main/proto/soulfire/command.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ option java_multiple_files = true;
package soulfire.v1;

message CommandRequest {
string command = 1;
string instanceId = 1;
string command = 2;
}

message CommandResponse {
int32 code = 1;
}

message CommandCompletionRequest {
string command = 1;
string instanceId = 1;
string command = 2;
}

message CommandCompletionResponse {
Expand Down
7 changes: 4 additions & 3 deletions proto/src/main/proto/soulfire/download.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ message HeaderPair {
}

message DownloadRequest {
string uri = 1;
repeated HeaderPair headers = 2;
optional ProxyProto proxy = 3;
string instanceId = 1;
string uri = 2;
repeated HeaderPair headers = 3;
optional ProxyProto proxy = 4;
}

message DownloadResponse {
Expand Down
4 changes: 3 additions & 1 deletion proto/src/main/proto/soulfire/logs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ option java_multiple_files = true;
package soulfire.v1;

message PreviousLogRequest {
int32 count = 1;
string instanceId = 1;
int32 count = 2;
}

message PreviousLogResponse {
repeated string messages = 1;
}

message LogRequest {
string instanceId = 1;
}

message LogResponse {
Expand Down
1 change: 1 addition & 0 deletions proto/src/main/proto/soulfire/viewer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ option java_multiple_files = true;
package soulfire.v1;

message ViewerListRequest {
string instanceId = 1;
}

message ViewerListResponse {
Expand Down

0 comments on commit 928839a

Please sign in to comment.