add protected flag for some api methods

This commit is contained in:
Dietmar Maurer
2019-01-28 18:16:47 +01:00
parent a3da38ddfd
commit a859fa95a9
3 changed files with 26 additions and 18 deletions

View File

@ -131,7 +131,7 @@ pub fn router() -> Router {
ObjectSchema::new("Returns a list of syslog entries.")
.required("n", IntegerSchema::new("Line number."))
.required("t", StringSchema::new("Line text."))
)
).protected(true)
);
route