One text file of an entry
get/hosting/resources/entries/{kind}/{name}/file
One text file of an entry: its guide, its example, or any file of a starting tree.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:read- Graphql
Query.hostingResourcesFile- Sdk
hosting.resources.file- Cli
hosting resources file
Parameters
- kindstringrequiredIn the path
- namestringrequiredIn the path
- pathstringrequiredIn the query
Responses
- 200application/jsonSuccess
- pathstringrequired
- 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