files

Fetch a single file's contents from a GitHub repo via the caller's credential.

get/files/repos/{owner}/{repo}/file

Request

  • Base URL: https://api.livegraph.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.livegraph.ai/files/repos/{owner}/{repo}/file
  • Auth: one of:
    • API key in cookie livegraph_session
    • API key in header x-api-key

Path parameters

ownerstring required
repostring required

Query parameters

refstring
pathstring required

Response

Success — see summary for the response shape.

Changes

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