@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
28 lines (18 loc) • 682 B
Markdown
---
lang: en
title: 'API docs: rest.restrouter.list'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.restrouter.list.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RestRouter](./rest.restrouter.md) > [list](./rest.restrouter.list.md)
## RestRouter.list() method
List all routes
<b>Signature:</b>
```typescript
list(): RouteEntry[];
```
<b>Returns:</b>
[RouteEntry](./rest.routeentry.md)<!-- -->\[\]