From 638cfea94389799044604039fdd8c23029602693 Mon Sep 17 00:00:00 2001 From: everyx Date: Sat, 25 Mar 2017 20:40:30 +0800 Subject: [PATCH] add group support document --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5480daf..d0d7211 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,20 @@ Plugin for Mibew, get statement based on the availability of operators. 1. Get any operators online status: - * request URL:`/opstatus`. + * request URL: `/opstatus`. * return `true` when any operators is online and `false` when not. -2. Get an operator online status by operator code: +2. Get any operators online status in specificed group: + + * request URL: `/opstatus/group/`. + * return `true` when any operators in this group is online and `false` when not. + +3. Get an operator online status by operator code: * Request URL: `/opstatus/`. * return `true` when operator is online or `false` when not. -3. Use callback parameter: +4. Use callback parameter: Just inset `