Git Providers

Detect and parse a `.env.example`-style file for a connected repository

get/repositories/{repository_id}/env-example/live

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/repositories/{repository_id}/env-example/live
  • Auth: HTTP bearer

Path parameters

repository_idinteger required

Repository ID

Query parameters

branchstring

Git branch to check (defaults to repository's default branch)

root_directorystring

Project root directory to search (defaults to repository root)

Response

Env-example variables detected (empty if the repository has no env-example file)

pathstring nullable

Path of the detected env-example file (e.g. ".env.example"), null if the repository has none

repositoryIdinteger required

Changes

No recorded changes to this operation across all 54 revisions of this API.