Previews

Read the raw UTF-8 contents of a preview file

get/previews/{id}/files/content

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/previews/{id}/files/content
  • Auth: bearer (a scheme the document does not define)

Path parameters

idstring required

Preview UUID

Query parameters

pathstring required
Example:index.html

Relative path of the file to read

Response

pathstring required

Relative path within the site

contentstring required

Raw UTF-8 file contents

Example response

{
  "path": "index.html"
}

Changes

No recorded changes to this operation across all 1 revision of this API.