# List module example tree

List the immediate children (files and subdirectories) at the given path within a module version's examples/ tree. The path must be exactly "examples" (root listing) or begin with "examples/". Returns one level of entries, each tagged as a file or directory.

Endpoint: GET /iacm/api/modules/{module_id}/examples/tree
Version: 1.0
Security: x-api-key

## Query parameters:

  - `version` (string, required)
    version of the module
    Example: "Veritatis aut adipisci vero."

  - `scope_org` (string)
    org name
    Example: "Consequuntur soluta neque laboriosam corporis."

  - `scope_project` (string)
    project name
    Example: "Beatae sequi deserunt ut tenetur minima."

  - `path` (string, required)
    relative path under the module root; must be "examples" or begin with "examples/"
    Example: "k05"

## Path parameters:

  - `module_id` (string, required)
    module id
    Example: "Sequi labore veritatis ad."

## Header parameters:

  - `Harness-Account` (string, required)
    account name
    Example: "Est odio error eos."

## Response 200 fields (application/json):

  - `items` (array, required)
    immediate children at the requested path
    Example: [{"content_type":"file","name":"Possimus iure rerum ipsam consequatur.","path":"Facere minus aut cupiditate."},{"content_type":"file","name":"Possimus iure rerum ipsam consequatur.","path":"Facere minus aut cupiditate."}]

  - `items.content_type` (string, required)
    kind of entry
    Enum: "file", "directory"

  - `items.name` (string, required)
    leaf name of the entry (no path separators)
    Example: "Ut ut animi rerum sint ipsum."

  - `items.path` (string, required)
    full relative path from the module root, forward-slash separated
    Example: "Debitis ea ut quia facere."

## Response 400 fields (application/vnd.goa.error):

  - `fault` (boolean, required)
    Is the error a server-side fault?

  - `id` (string, required)
    ID is a unique identifier for this particular occurrence of the problem.
    Example: "123abc"

  - `message` (string, required)
    Message is a human-readable explanation specific to this occurrence of the problem.
    Example: "parameter 'p' must be an integer"

  - `name` (string, required)
    Name is the name of this class of errors.
    Example: "bad_request"

  - `temporary` (boolean, required)
    Is the error temporary?

  - `timeout` (boolean, required)
    Is the error a timeout?
    Example: true


