Retrieve job HTML
GET
/v1/scraper/jobs/{id}/result/html
const url = 'https://api.extentapi.example/v1/scraper/jobs/example/result/html';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.extentapi.example/v1/scraper/jobs/example/result/html \ --header 'x-api-key: <x-api-key>'Récupérez le HTML collecté pour un job, servi en text/html avec des en-têtes sandbox (Content-Security-Policy: sandbox, X-Frame-Options: SAMEORIGIN). 404 si le job ne vous appartient pas. Cap inline 10 MB. Au-delà du cap, si le stockage S3 est actif, la réponse est un envelope JSON 200-presigned portant data.downloadUrl (URL signée courte, expiresAt, byteSize) au lieu du HTML inline ; en stockage Postgres, un 413 est renvoyé.
Authorizations
Section intitulée « Authorizations »Parameters
Section intitulée « Parameters »Path Parameters
Section intitulée « Path Parameters » id
required
string
Responses
Section intitulée « Responses »HTML stocké pour le job.
Media type text/html
string
Authentification manquante ou invalide.
Media type application/json
object
status
required
string
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
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
{}