@loopback/docs
Version:
Documentation for LoopBack 4
27 lines (17 loc) • 541 B
Markdown
lang: en
title: 'API docs: rest.restrouter.list'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
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[]`