@@ -377,7 +377,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
377377 } ,
378378 http : {
379379 example :
380- 'curl https://api.scan-documents.com/v1/image-operations/detect-documents \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq"\n }\'' ,
380+ 'curl https://api.scan-documents.com/v1/image-operations/detect-documents \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "callback_url": "https://example.com/callback" \n }\'' ,
381381 } ,
382382 } ,
383383 } ,
@@ -408,7 +408,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
408408 } ,
409409 http : {
410410 example :
411- 'curl https://api.scan-documents.com/v1/image-operations/warp \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "vertices": [\n {\n "x": 0,\n "y": 0\n },\n {\n "x": 100,\n "y": 10\n },\n {\n "x": 100,\n "y": 100\n },\n {\n "x": 0,\n "y": 90\n }\n ],\n "name": "Example Image"\n }\'' ,
411+ 'curl https://api.scan-documents.com/v1/image-operations/warp \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "vertices": [\n {\n "x": 0,\n "y": 0\n },\n {\n "x": 100,\n "y": 10\n },\n {\n "x": 100,\n "y": 100\n },\n {\n "x": 0,\n "y": 90\n }\n ],\n "callback_url": "https://example.com/callback",\n " name": "Example Image"\n }\'' ,
412412 } ,
413413 } ,
414414 } ,
@@ -443,7 +443,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
443443 } ,
444444 http : {
445445 example :
446- 'curl https://api.scan-documents.com/v1/image-operations/apply-effect \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "effect": "grayscale",\n "input": "file_avyrvozb9302uwhq",\n "name": "Example Image"\n }\'' ,
446+ 'curl https://api.scan-documents.com/v1/image-operations/apply-effect \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "effect": "grayscale",\n "input": "file_avyrvozb9302uwhq",\n "callback_url": "https://example.com/callback",\n " name": "Example Image"\n }\'' ,
447447 } ,
448448 } ,
449449 } ,
@@ -480,7 +480,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
480480 } ,
481481 http : {
482482 example :
483- 'curl https://api.scan-documents.com/v1/image-operations/scan \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "effect": "none",\n "input": "file_avyrvozb9302uwhq",\n "scan_mode": "standard",\n "name": "Example Image"\n }\'' ,
483+ 'curl https://api.scan-documents.com/v1/image-operations/scan \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "effect": "none",\n "input": "file_avyrvozb9302uwhq",\n "scan_mode": "standard",\n "callback_url": "https://example.com/callback",\n " name": "Example Image"\n }\'' ,
484484 } ,
485485 } ,
486486 } ,
@@ -516,7 +516,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
516516 } ,
517517 http : {
518518 example :
519- 'curl https://api.scan-documents.com/v1/pdf-operations/render \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "dpi": 300,\n "name": "File Name",\n "pages": "2-7"\n }\'' ,
519+ 'curl https://api.scan-documents.com/v1/pdf-operations/render \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "callback_url": "https://example.com/callback",\n " dpi": 300,\n "name": "File Name",\n "pages": "2-7"\n }\'' ,
520520 } ,
521521 } ,
522522 } ,
@@ -546,7 +546,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
546546 } ,
547547 http : {
548548 example :
549- 'curl https://api.scan-documents.com/v1/pdf-operations/split \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "name": "File Name"\n }\'' ,
549+ 'curl https://api.scan-documents.com/v1/pdf-operations/split \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "callback_url": "https://example.com/callback",\n " name": "File Name"\n }\'' ,
550550 } ,
551551 } ,
552552 } ,
@@ -576,7 +576,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
576576 } ,
577577 http : {
578578 example :
579- 'curl https://api.scan-documents.com/v1/pdf-operations/merge \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": [\n "file_avyrvozb9302uwhq"\n ],\n "name": "File Name"\n }\'' ,
579+ 'curl https://api.scan-documents.com/v1/pdf-operations/merge \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": [\n "file_avyrvozb9302uwhq"\n ],\n "callback_url": "https://example.com/callback",\n " name": "File Name"\n }\'' ,
580580 } ,
581581 } ,
582582 } ,
@@ -606,7 +606,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
606606 } ,
607607 http : {
608608 example :
609- 'curl https://api.scan-documents.com/v1/pdf-operations/extract-pages \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "pages": "2-7",\n "name": "File Name"\n }\'' ,
609+ 'curl https://api.scan-documents.com/v1/pdf-operations/extract-pages \\\n -H \'Content-Type: application/json\' \\\n -H "x-api-key: $SCAN_DOCUMENTS_API_KEY" \\\n -d \'{\n "input": "file_avyrvozb9302uwhq",\n "pages": "2-7",\n "callback_url": "https://example.com/callback",\n " name": "File Name"\n }\'' ,
610610 } ,
611611 } ,
612612 } ,
0 commit comments