This re-scans a previous result wth a different data structure or directive. Requires either schema or directive, not both. Does not save the updated schema.
The result GUID
A JSON schema to extract against. Must be valid JSON.
A task result
const response = await fetch('https://api.jsonify.com/api/v2/result/{result_id}/extract_data', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({ "name": "<the site name>" }), }); const data = await response.json();
{ "message": "text", "result": { "changed": false, "credits": {}, "details": { "descr": "text" }, "json": { "data": false }, "screenshots": [ "https://example.com" ], "done": false, "id": "text" }, "success": false }