Log in
Model

Config

Magento\Webapi\Model\Rest\Config

What it does

This class manages REST API route configuration in Magento 2.

Developers use it to retrieve matching REST routes based on incoming HTTP requests, including their HTTP method, URL path, service class mappings, ACL resources, and security settings.

It's primarily used by the REST router to determine which service method should handle an API request.

Public Methods

  • getRestRoutes()