readResourceDirectories()

Overview

public struct function readResourceDirectories(
      required array directories
)

Scans passed directories for resources and returns prepared arrays of resource metadata, grouped by API, that the platform can use to route REST requests

Arguments

NameTypeRequiredDescription
directoriesarrayYesarray of mapped directory paths