# 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: "Voluptas voluptatum aperiam libero occaecati ut et."

  - `scope_org` (string)
    org name
    Example: "Nisi quisquam voluptate expedita."

  - `scope_project` (string)
    project name
    Example: "Dolor eius et quaerat."

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

## Path parameters:

  - `module_id` (string, required)
    module id
    Example: "Mollitia qui illum perferendis deserunt voluptatum."

## Header parameters:

  - `Harness-Account` (string, required)
    account name
    Example: "Nihil fugiat incidunt aut."

## Response 200 fields (application/json):

  - `items` (array, required)
    immediate children at the requested path
    Example: [{"content_type":"directory","name":"Dignissimos repellendus assumenda ratione libero cum ab.","path":"Nihil reprehenderit rerum."},{"content_type":"directory","name":"Dignissimos repellendus assumenda ratione libero cum ab.","path":"Nihil reprehenderit rerum."},{"content_type":"directory","name":"Dignissimos repellendus assumenda ratione libero cum ab.","path":"Nihil reprehenderit rerum."},{"content_type":"directory","name":"Dignissimos repellendus assumenda ratione libero cum ab.","path":"Nihil reprehenderit rerum."}]

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

  - `items.name` (string, required)
    leaf name of the entry (no path separators)
    Example: "Et id aperiam nobis officiis eaque."

  - `items.path` (string, required)
    full relative path from the module root, forward-slash separated
    Example: "Et et ut cupiditate ipsam quasi sed."

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

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

  - `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?
    Example: true

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


