From 933e764a13342060a94f8dd9572c9e744bc11232 Mon Sep 17 00:00:00 2001 From: andres-portainer <91705312+andres-portainer@users.noreply.github.com> Date: Fri, 16 Jun 2023 10:43:37 -0300 Subject: [PATCH] fix(endpoints): document an undocumented parameter EE-5556 (#9088) --- api/http/handler/endpoints/endpoint_list.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/api/http/handler/endpoints/endpoint_list.go b/api/http/handler/endpoints/endpoint_list.go index 502c3cc31..03c906673 100644 --- a/api/http/handler/endpoints/endpoint_list.go +++ b/api/http/handler/endpoints/endpoint_list.go @@ -1,16 +1,16 @@ package endpoints import ( - "github.com/portainer/libhttp/request" - portainer "github.com/portainer/portainer/api" - "github.com/portainer/portainer/api/http/security" - "github.com/portainer/portainer/api/internal/endpointutils" "net/http" "sort" "strconv" httperror "github.com/portainer/libhttp/error" + "github.com/portainer/libhttp/request" "github.com/portainer/libhttp/response" + portainer "github.com/portainer/portainer/api" + "github.com/portainer/portainer/api/http/security" + "github.com/portainer/portainer/api/internal/endpointutils" ) const ( @@ -44,6 +44,7 @@ const ( // @param edgeAsync query bool false "if exists true show only edge async agents, false show only standard edge agents. if missing, will show both types (relevant only for edge agents)" // @param edgeDeviceUntrusted query bool false "if true, show only untrusted edge agents, if false show only trusted edge agents (relevant only for edge agents)" // @param edgeCheckInPassedSeconds query number false "if bigger then zero, show only edge agents that checked-in in the last provided seconds (relevant only for edge agents)" +// @param excludeSnapshots query bool false "if true, the snapshot data won't be retrieved" // @param name query string false "will return only environments(endpoints) with this name" // @success 200 {array} portainer.Endpoint "Endpoints" // @failure 500 "Server error"