This adds an additional feature to the api/browse endpoint. If you do not supply the endpoint with a prefix p, then the API will respond with a result count of all the letters. The result looks like this:
This may look a little strange at first, but this the equivalent to the idea that the client made a set of template queries like
/browse/?p=A&size=0 and then combined them together into an array. This will be consistent if we need to do other multi-template searches.
This adds an additional feature to the
api/browse
endpoint. If you do not supply the endpoint with a prefixp
, then the API will respond with a result count of all the letters. The result looks like this:This may look a little strange at first, but this the equivalent to the idea that the client made a set of template queries like
/browse/?p=A&size=0
and then combined them together into an array. This will be consistent if we need to do other multi-template searches.