Vibe Files

List Vibe site files

Lists the source files of the site's current editor version, with each file's path and size in bytes. File contents aren't included; use Get Vibe site file contents to read them.

  • Only the visible source tree is listed: client/src/ and server/api/ for sites built on v1 templates, src/ for sites built on v2 templates.
  • .gitkeep files, the site's form settings file (forms.json, which holds the owner's recipient addresses) and the generated database row types are never listed.
  • path_prefix filters the list. A file is kept if its path starts with any of the prefixes. Without path_prefix, every visible file is listed.
get/api/sites/{site_name}/vibe/files

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/{site_name}/vibe/files
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

Query parameters

path_prefixstring[]

Lists only files whose path starts with this prefix, such as src/components/. Repeat the parameter to match any of several prefixes. A leading / and surrounding whitespace are ignored, and blank values are skipped.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.