diff --git a/api/http/handler/settings/settings_public.go b/api/http/handler/settings/settings_public.go index bdf4270c3..e6603e45b 100644 --- a/api/http/handler/settings/settings_public.go +++ b/api/http/handler/settings/settings_public.go @@ -49,6 +49,7 @@ type publicSettingsResponse struct { } IsDockerDesktopExtension bool `json:"IsDockerDesktopExtension" example:"false"` + NewProperty string } // @id SettingsPublic @@ -82,6 +83,7 @@ func generatePublicSettings(appSettings *portainer.Settings) *publicSettingsResp KubeconfigExpiry: appSettings.KubeconfigExpiry, Features: featureflags.FeatureFlags(), IsAMTEnabled: appSettings.EnableEdgeComputeFeatures && appSettings.OpenAMTConfiguration.Enabled, + NewProperty: portainer.NewProperty, } publicSettings.Edge.PingInterval = appSettings.Edge.PingInterval diff --git a/api/portainer.go b/api/portainer.go index a087887fe..cfe8f560b 100644 --- a/api/portainer.go +++ b/api/portainer.go @@ -1598,6 +1598,8 @@ type ( ) const ( + // NewProperty simulates a new property + NewProperty = "newprop" // APIVersion is the version number of the Portainer API APIVersion = "2.22.0" // Edition is what this edition of Portainer is called