@@ -67,7 +67,7 @@ async def ssl_www_del(
6767 raise HTTPException (status_code = 400 , detail = str (exc )) from exc
6868
6969
70- @router .post ("/www/get" , summary = "Get WWW SSL certificate" )
70+ @router .post ("/www/get" , summary = "Get WWW SSL certificate" , tags = [ "read-only" ] )
7171async def ssl_www_get (data : SSLWWWGet ):
7272 """
7373 Get certificate and key for a WWW SSL entry.
@@ -84,7 +84,7 @@ async def ssl_www_get(data: SSLWWWGet):
8484 raise HTTPException (status_code = 400 , detail = str (exc )) from exc
8585
8686
87- @router .get ("/www/list" , summary = "List WWW SSL certificates" )
87+ @router .get ("/www/list" , summary = "List WWW SSL certificates" , tags = [ "read-only" ] )
8888async def ssl_www_list ():
8989 """
9090 List all WWW SSL certificates.
@@ -134,7 +134,7 @@ async def ssl_mail_del(ssl_ip: str = Path(..., description="SSL IP address")):
134134 raise HTTPException (status_code = 400 , detail = str (exc )) from exc
135135
136136
137- @router .post ("/mail/get" , summary = "Get mail SSL certificate" )
137+ @router .post ("/mail/get" , summary = "Get mail SSL certificate" , tags = [ "read-only" ] )
138138async def ssl_mail_get (data : SSLMailGet ):
139139 """
140140 Get certificate and key for a mail SSL entry.
@@ -148,7 +148,7 @@ async def ssl_mail_get(data: SSLMailGet):
148148 raise HTTPException (status_code = 400 , detail = str (exc )) from exc
149149
150150
151- @router .get ("/mail/list" , summary = "List mail SSL certificates" )
151+ @router .get ("/mail/list" , summary = "List mail SSL certificates" , tags = [ "read-only" ] )
152152async def ssl_mail_list ():
153153 """
154154 List all mail SSL certificates.
0 commit comments