Rivier/ Reference/ hosting

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

  • kindstringrequired
    In the path
  • namestringrequired
    In the path
  • pathstringrequired
    In the query

Responses

  • 200application/json
    Success
    • pathstringrequired
    • textstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown