Rivier/ Reference/ hosting

A look at the preview

get/hosting/coder/projects/{id}/looks/{look}

A look at the preview: its pictures (signed links good for an hour), and for each page the console errors, failed requests and accessibility findings. The floor lists what can be put right without judging the design (a page that does not answer, a script error, a request of the site's own that fails, an accessibility rule broken in serious ways), and ask holds them as one request to send to the coder as a turn.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:read
Sdk
hosting.coderLook.get
Cli
hosting coder look get

Parameters

  • idstring (uuid)required
    In the path
  • lookstringrequired
    In the path

Responses

  • 200application/json
    Success
    • lookobjectrequired
      • idstringrequired
      • statestringrequired
        One of: running, done, failed.
      • errorstring
      • previewstringrequired
      • bundlestringrequired
      • pageslist of object
        Each page looked at: its pictures (signed links good for an hour), console errors, failed requests and accessibility findings, as Praecise Cloud gives them
    • floorlist of objectrequired
      What the look found that can be put right without judging the design
      • checkstringrequired
      • severitystringrequired
        One of: error, advice.
      • pathstringrequired
      • linenumber
      • messagestringrequired
    • askstringrequired
      The findings as one request to the coder, empty when there are none
  • 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