diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-06-04 00:11:41 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-06-04 00:11:41 +0200 |
| commit | a84d3cb7e9659b57ad3bbca6cc894a46fbf741fd (patch) | |
| tree | 9a032c6e6c716436084f346790a7901a09b67e23 /server/api | |
| parent | cd971e758ba7669b94ea3d1d3c2bf2376550820f (diff) | |
Make integration actually work
Add logs
Add remote keys for each user
Diffstat (limited to 'server/api')
| -rw-r--r-- | server/api/src/api_model.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<ProjectUserEntry>, @@ -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<String>, #[schema(example = "main")] pub main_branch: Option<&'r str>, } |
