Skip to content

Commit

Permalink
add group support document
Browse files Browse the repository at this point in the history
  • Loading branch information
everyx committed Mar 25, 2017
1 parent ecc4484 commit 638cfea
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ Plugin for Mibew, get statement based on the availability of operators.

1. Get any operators online status:

* request URL:`<MIBEW-BASE-URL>/opstatus`.
* request URL: `<MIBEW-BASE-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: `<MIBEW-BASE-URL>/opstatus/group/<GROUP-ID>`.
* 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: `<MIBEW-BASE-URL>/opstatus/<OPERATOR-CODE>`.
* return `true` when operator is online or `false` when not.

3. Use callback parameter:
4. Use callback parameter:

Just inset `<script>` tag and set `src` to URL above and add `callback` parameter

Expand Down

0 comments on commit 638cfea

Please sign in to comment.