From 928839a64c281da7c180a02a38c8d8a67adeada7 Mon Sep 17 00:00:00 2001 From: AlexProgrammerDE <40795980+AlexProgrammerDE@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:52:21 +0100 Subject: [PATCH] Add instance id part of more api calls --- proto/src/main/proto/soulfire/command.proto | 6 ++++-- proto/src/main/proto/soulfire/download.proto | 7 ++++--- proto/src/main/proto/soulfire/logs.proto | 4 +++- proto/src/main/proto/soulfire/viewer.proto | 1 + 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/proto/src/main/proto/soulfire/command.proto b/proto/src/main/proto/soulfire/command.proto index 0c3f653b3..986bc0365 100644 --- a/proto/src/main/proto/soulfire/command.proto +++ b/proto/src/main/proto/soulfire/command.proto @@ -6,7 +6,8 @@ option java_multiple_files = true; package soulfire.v1; message CommandRequest { - string command = 1; + string instanceId = 1; + string command = 2; } message CommandResponse { @@ -14,7 +15,8 @@ message CommandResponse { } message CommandCompletionRequest { - string command = 1; + string instanceId = 1; + string command = 2; } message CommandCompletionResponse { diff --git a/proto/src/main/proto/soulfire/download.proto b/proto/src/main/proto/soulfire/download.proto index efad4030a..115b6a4d1 100644 --- a/proto/src/main/proto/soulfire/download.proto +++ b/proto/src/main/proto/soulfire/download.proto @@ -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 { diff --git a/proto/src/main/proto/soulfire/logs.proto b/proto/src/main/proto/soulfire/logs.proto index 4e7da502b..73a1f92b3 100644 --- a/proto/src/main/proto/soulfire/logs.proto +++ b/proto/src/main/proto/soulfire/logs.proto @@ -6,7 +6,8 @@ option java_multiple_files = true; package soulfire.v1; message PreviousLogRequest { - int32 count = 1; + string instanceId = 1; + int32 count = 2; } message PreviousLogResponse { @@ -14,6 +15,7 @@ message PreviousLogResponse { } message LogRequest { + string instanceId = 1; } message LogResponse { diff --git a/proto/src/main/proto/soulfire/viewer.proto b/proto/src/main/proto/soulfire/viewer.proto index 6cb5d3d76..82ecb2ce3 100644 --- a/proto/src/main/proto/soulfire/viewer.proto +++ b/proto/src/main/proto/soulfire/viewer.proto @@ -6,6 +6,7 @@ option java_multiple_files = true; package soulfire.v1; message ViewerListRequest { + string instanceId = 1; } message ViewerListResponse {