From a84d3cb7e9659b57ad3bbca6cc894a46fbf741fd Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 4 Jun 2025 00:11:41 +0200 Subject: Make integration actually work Add logs Add remote keys for each user --- server/api/src/api_model.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/api/src') diff --git a/server/api/src/api_model.rs b/server/api/src/api_model.rs index 3760f9e..7602480 100644 --- a/server/api/src/api_model.rs +++ b/server/api/src/api_model.rs @@ -178,6 +178,8 @@ pub struct Project { pub description: String, #[schema(example = "ssh://git.example.org/srv/git/")] pub remote: String, + #[schema(example = "b3BlbNNz...AQIDBA==")] + pub remote_key_abbrev: String, #[schema(example = "main")] pub main_branch: String, pub users: Vec, @@ -191,6 +193,8 @@ pub struct ProjectData<'r> { pub description: Option<&'r str>, #[schema(example = "ssh://git.example.org/srv/git/")] pub remote: Option<&'r str>, + #[schema(example = "b3BlbNNz...AQIDBA==")] + pub remote_key: Option, #[schema(example = "main")] pub main_branch: Option<&'r str>, } -- cgit v1.2.3-70-g09d2