$api->routes() Returns all defined routes kirby/src/Api/Api.php#L470 $api->routes(): array Return type array Parent class Kirby\Cms\Api inherited from Kirby\Api\Api