GET divisions/{id}/games?limit={limit}&page={page}&sort={sort}
Return sorted game collection by division id with paged-support
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | division id |
Define this parameter in the request URI. |
limit | page size |
Define this parameter in the request URI. |
page | current page index |
Define this parameter in the request URI. |
sort | asc or desc |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "paged_records": [ {}, {}, {} ], "page": 1, "limit": 2, "total": 3 }
application/xml, text/xml
Sample:
<PagedDataDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <limit>2</limit> <page>1</page> <paged_records xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> <d2p1:anyType /> </paged_records> <total>3</total> </PagedDataDto>