Hosting coder look create
post/hosting/coder/projects/{id}/looks
Ask Praecise Cloud to look at the conversation's preview in a browser on its build machine: up to five paths at 390, 820 and 1280 pixels, the first screen and the whole page, in light (and dark, and right to left, when asked), with an accessibility scan. Answers at once with the look's id; a look ends within 90 seconds. Asked in the signed-in person's name; when Praecise Cloud has no looks yet the answer says so and nothing changes.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Sdk
hosting.coderLook.create- Cli
hosting coder look create
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- pathslist of stringUp to five paths of the preview to look at; the home page when left out
- darkbooleanAlso look in the dark colour scheme
- rtlbooleanAlso look with the page set right to left
Responses
- 202application/jsonSuccess
- lookobjectrequired
- idstringrequired
- statestringrequiredOne of: running, done, failed.
- errorstring
- previewstringrequired
- bundlestringrequired
- pageslist of objectEach page looked at: its pictures (signed links good for an hour), console errors, failed requests and accessibility findings, as Praecise Cloud gives them
- lookobjectrequired
- 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