diff --git a/api/portainer.go b/api/portainer.go index 2fb1e8957..2756c9d1e 100644 --- a/api/portainer.go +++ b/api/portainer.go @@ -301,6 +301,8 @@ type ( // StackDeploymentInfo records the information of a deployed stack StackDeploymentInfo struct { + // Version is the version of the stack and also is the deployed version in edge agent + Version int `json:"Version"` // FileVersion is the version of the stack file, used to detect changes FileVersion int `json:"FileVersion"` // ConfigHash is the commit hash of the git repository used for deploying the stack