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

NameTypeRequiredDescription
cfcPathstringYesMapped component path to CFC to extract data of
apistringYesName of the API to which the resource belongs (e.g. "/myapi/v2")