builds

Preview Build Source

Changed on

Return the text content of a file in a build's source tree (1 MiB cap, text only).

get/v2/builds/{build_id}/source/preview

Request

  • Base URL
    https://api.hud.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hud.ai/v2/builds/{build_id}/source/preview
  • Auth
    none declared

Path parameters

build_idstring uuid required

Query parameters

pathstring required

Response

Successful Response

build_idstring uuid required
pathstring required
contentstring required
sizeinteger required
content_hashstring required
content_typestring required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status