Aller au contenu

Retrieve job HTML

GET
/v1/scraper/jobs/{id}/result/html
curl --request GET \
--url http://localhost:8080/v1/scraper/jobs/example/result/html \
--header 'x-api-key: <x-api-key>'

Retourne text/html avec headers sandbox-friendly (Content-Security-Policy: sandbox, X-Frame-Options: SAMEORIGIN). Owner-check côté handler — non-admin sur job d’autrui = 404. Cap inline 10 MB (au-delà : 413).

id
required
string

HTML stocké pour le job.

Media type text/html
string

Authentification manquante ou invalide.

Media type application/json
object
status
required
string
Allowed value: error
code
required
string
error
required
object
message
string
requestId
required
string
details
Array<object>
object
path
string
code
string
message
string
key
additional properties
Example
{
"status": "error"
}

Ressource introuvable (ou hors-tenant).

Media type application/json
object
status
required
string
Allowed value: error
code
required
string
error
required
object
message
string
requestId
required
string
details
Array<object>
object
path
string
code
string
message
string
key
additional properties
Example
{
"status": "error"
}

Body au-delà du cap inline (10 MB).

Media type application/json
object
Example generated
{}