Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
jxmot committed Mar 30, 2021
1 parent c9b5980 commit 83527ed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,18 @@ One of the following sorts can be chosen:
* `tsort` - sort by time of last hit
* `isort` - sort by counter ID

**Limiting Number of Counters in Sort -**

It is possible to limit the quantity of counters returned for any of the sorting queries.

```
GET http[s]://your-server/path-to-file/mdcountdata.php?csort=a|[&limit=[1-n]]
```

The value of `limit` can be from 1 to **n**. If **n** exceeds the number of counters then all counters will be returned for that sorting choice.

**NOTE** : `limit` only applies to sorting queries.

**Errors -**

If an error occurs it is also returned in JSON -
Expand Down

0 comments on commit 83527ed

Please sign in to comment.