One source file's text, as it stands or at a checkpoint
get/hosting/coder/projects/{id}/file
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:read- Graphql
Query.hostingCoderFilesGet- Sdk
hosting.coderFiles.get- Cli
hosting coder files get
Parameters
- idstring (uuid)requiredIn the path
- pathstringrequiredIn the query
- checkpointstring (uuid)In the query
Responses
- 200application/jsonSuccess
- pathstringrequired
- linesnumberrequired
- textstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring