For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

get
Path parameters
module_idstringRequired

module id

Example: Quas ducimus illum nulla animi.
Query parameters
versionstringRequired

version of the module

Example: Voluptas necessitatibus voluptas.
scope_orgstringOptional

org name

Example: Temporibus tempora.
scope_projectstringOptional

project name

Example: Eligendi totam vel.
pathstring · min: 1 · max: 1024Required

relative path under the module root; must be "examples" or begin with "examples/"

Example: kPattern: ^[a-zA-Z0-9_-][a-zA-Z0-9._/-]*$
Header parameters
Harness-AccountstringRequired

account name

Example: Harum enim odit vel illum amet.
Responses
200

OK response.

application/json
get/api/modules/{module_id}/examples/tree
GET /api/modules/{module_id}/examples/tree?version=Voluptas+necessitatibus+voluptas.&path=k HTTP/1.1
Host: localhost:80
Harness-Account: Harum enim odit vel illum amet.
Accept: */*
{
  "items": [
    {
      "content_type": "directory",
      "name": "Doloremque voluptates.",
      "path": "Laboriosam et perspiciatis dolores tempora mollitia."
    },
    {
      "content_type": "directory",
      "name": "Doloremque voluptates.",
      "path": "Laboriosam et perspiciatis dolores tempora mollitia."
    },
    {
      "content_type": "directory",
      "name": "Doloremque voluptates.",
      "path": "Laboriosam et perspiciatis dolores tempora mollitia."
    },
    {
      "content_type": "directory",
      "name": "Doloremque voluptates.",
      "path": "Laboriosam et perspiciatis dolores tempora mollitia."
    }
  ]
}

Last updated

Was this helpful?