Source: Jolli-sample-repos/url-shortener Last Updated: 4/8/2026
import MethodEndpoint from “@theme/ApiExplorer/MethodEndpoint”; import ParamsDetails from “@theme/ParamsDetails”; import RequestSchema from “@theme/RequestSchema”; import StatusCodes from “@theme/StatusCodes”; import OperationTabs from “@theme/OperationTabs”; import TabItem from “@theme/TabItem”; import Heading from “@theme/Heading”;
<Heading as={“h1”} className={“openapi__heading”} children={“Get top URLs by clicks”}
</Heading>
<MethodEndpoint method={“get”} path={“/api/v1/stats/top”} context={“endpoint”}
</MethodEndpoint>
Get top URLs by clicks
<Heading id={“request”} as={“h2”} className={“openapi-tabs__heading”} children={“Request”}
</Heading>
<ParamsDetails parameters={[{“in”:“query”,“name”:“limit”,“schema”:{“type”:“integer”,“default”:10}}]}
</ParamsDetails>
<RequestSchema title={“Body”} body={undefined}
</RequestSchema>
<StatusCodes id={undefined} label={undefined} responses={{“200”:{“description”:“Top URLs by click count”}}}
</StatusCodes>