package status import ( "net/http" httperror "github.com/portainer/libhttp/error" "github.com/portainer/libhttp/response" ) // @id StatusInspect // @summary Check Portainer status // @description Retrieve Portainer status // @description **Access policy**: public // @tags status // @produce json // @success 200 {object} portainer.Status "Success" // @router /status [get] func (handler *Handler) statusInspect(w http.ResponseWriter, r *http.Request) *httperror.HandlerError { return response.JSON(w, handler.Status) }