readResource()
Overview
public array function readResource(
required string cfcPath
, required string api
)
Returns an array of REST URI mappings with CFC info for the given resource CFC (path)
Arguments
Name | Type | Required | Description |
---|---|---|---|
cfcPath | string | Yes | Mapped component path to CFC to extract data of |
api | string | Yes | Name of the API to which the resource belongs (e.g. "/myapi/v2") |