motionbank / piecemaker2-api

An api at the core of piecemaker
7 stars 0 forks source link

add route to get count of events #72

Closed gopeter closed 11 years ago

gopeter commented 11 years ago

As we don't have paging at the moment, a possibility to get the count of all events would be nice, because the client have to get all events to get the count.

e.g. /group/<ID>/event_count.json

mattes commented 11 years ago

I added count_only as param to /api/v1/group/:id/events.

This is subject to change, because of the open "paging" issue.